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.



417
418
419
420
421
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 417

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.



411
412
413
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 411

def actions
  @actions
end

#cadenceObject

ID of an existing Cadence to use.



415
416
417
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 415

def cadence
  @cadence
end

#currencyObject

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



413
414
415
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 413

def currency
  @currency
end