Class: Stripe::SubscriptionUpdateParams::PaymentSettings::PaymentMethodOptions::Payto::MandateOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, purpose: nil) ⇒ MandateOptions

Returns a new instance of MandateOptions.



430
431
432
433
# File 'lib/stripe/params/subscription_update_params.rb', line 430

def initialize(amount: nil, purpose: nil)
  @amount = amount
  @purpose = purpose
end

Instance Attribute Details

#amountObject

The maximum amount that can be collected in a single invoice. If you don’t specify a maximum, then there is no limit.



426
427
428
# File 'lib/stripe/params/subscription_update_params.rb', line 426

def amount
  @amount
end

#purposeObject

The purpose for which payments are made. Has a default value based on your merchant category code.



428
429
430
# File 'lib/stripe/params/subscription_update_params.rb', line 428

def purpose
  @purpose
end