Class: Stripe::V2::Billing::CollectionSettingService::UpdateParams::PaymentMethodOptions::Card::MandateOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/collection_setting_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of MandateOptions.



308
309
310
311
312
# File 'lib/stripe/services/v2/billing/collection_setting_service.rb', line 308

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

Instance Attribute Details

#amountObject

Amount to be charged for future payments.



302
303
304
# File 'lib/stripe/services/v2/billing/collection_setting_service.rb', line 302

def amount
  @amount
end

#amount_typeObject

The AmountType for the mandate. One of ‘fixed` or `maximum`.



304
305
306
# File 'lib/stripe/services/v2/billing/collection_setting_service.rb', line 304

def amount_type
  @amount_type
end

#descriptionObject

A description of the mandate that is meant to be displayed to the customer.



306
307
308
# File 'lib/stripe/services/v2/billing/collection_setting_service.rb', line 306

def description
  @description
end