Class: Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::Bizum::MandateOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of MandateOptions.



669
670
671
672
# File 'lib/stripe/params/subscription_create_params.rb', line 669

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

Instance Attribute Details

#amountObject

Amount to be charged for future payments. Required when ‘amount_type=fixed`.



665
666
667
# File 'lib/stripe/params/subscription_create_params.rb', line 665

def amount
  @amount
end

#amount_typeObject

Indicates the mandate amount type.



667
668
669
# File 'lib/stripe/params/subscription_create_params.rb', line 667

def amount_type
  @amount_type
end