Class: Stripe::V2::Billing::IntentService::CreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/intent_service.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) ⇒ CreateParams

Returns a new instance of CreateParams.



364
365
366
367
368
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 364

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.



358
359
360
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 358

def actions
  @actions
end

#cadenceObject

ID of an existing Cadence to use.



362
363
364
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 362

def cadence
  @cadence
end

#currencyObject

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



360
361
362
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 360

def currency
  @currency
end