Class: Stripe::V2::Billing::IntentService::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentService::CreateParams
- Defined in:
- lib/stripe/services/v2/billing/intent_service.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) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
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
#actions ⇒ Object
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 |
#cadence ⇒ Object
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 |
#currency ⇒ Object
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 |