Class: Stripe::SubscriptionUpdateParams::PaymentSettings::PaymentMethodOptions::Bizum::MandateOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionUpdateParams::PaymentSettings::PaymentMethodOptions::Bizum::MandateOptions
- Defined in:
- lib/stripe/params/subscription_update_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Amount to be charged for future payments.
-
#amount_type ⇒ Object
Indicates the mandate amount type.
Instance Method Summary collapse
-
#initialize(amount: nil, amount_type: nil) ⇒ MandateOptions
constructor
A new instance of MandateOptions.
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.
644 645 646 647 |
# File 'lib/stripe/params/subscription_update_params.rb', line 644 def initialize(amount: nil, amount_type: nil) @amount = amount @amount_type = amount_type end |
Instance Attribute Details
#amount ⇒ Object
Amount to be charged for future payments. Required when ‘amount_type=fixed`.
640 641 642 |
# File 'lib/stripe/params/subscription_update_params.rb', line 640 def amount @amount end |
#amount_type ⇒ Object
Indicates the mandate amount type.
642 643 644 |
# File 'lib/stripe/params/subscription_update_params.rb', line 642 def amount_type @amount_type end |