Class: Stripe::V2::Billing::IntentCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: Action
Instance Attribute Summary collapse
-
#actions ⇒ Object
Actions to be performed by this Billing Intent.
-
#cadence ⇒ Object
ID of an existing Cadence to use.
-
#currency ⇒ Object
Three-letter ISO currency code, in lowercase.
Instance Method Summary collapse
-
#initialize(actions: nil, currency: nil, cadence: nil) ⇒ IntentCreateParams
constructor
A new instance of IntentCreateParams.
Methods inherited from RequestParams
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
#actions ⇒ Object
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 |
#cadence ⇒ Object
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 |
#currency ⇒ Object
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 |