Class: Stripe::V2::Billing::IntentCreateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Defined Under Namespace

Classes: Action

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(actions: nil, currency: nil, cadence: nil) ⇒ IntentCreateParams

Returns a new instance of IntentCreateParams.



347
348
349
350
351
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 347

def initialize(actions: nil, currency: nil, cadence: nil)
  @actions = actions
  @currency = currency
  @cadence = cadence
end

Instance Attribute Details

#actionsObject

Actions to be performed by this Billing Intent.



341
342
343
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 341

def actions
  @actions
end

#cadenceObject

ID of an existing Cadence to use.



345
346
347
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 345

def cadence
  @cadence
end

#currencyObject

Three-letter ISO currency code, in lowercase. Must be a supported currency.



343
344
345
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 343

def currency
  @currency
end