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, CadenceData
Instance Attribute Summary collapse
-
#actions ⇒ Object
Actions to be performed by this Billing Intent.
-
#cadence ⇒ Object
ID of an existing Cadence to use.
-
#cadence_data ⇒ Object
Data for creating a new Cadence.
-
#currency ⇒ Object
Three-letter ISO currency code, in lowercase.
Instance Method Summary collapse
-
#initialize(actions: nil, currency: nil, cadence: nil, cadence_data: nil) ⇒ IntentCreateParams
constructor
A new instance of IntentCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(actions: nil, currency: nil, cadence: nil, cadence_data: nil) ⇒ IntentCreateParams
Returns a new instance of IntentCreateParams.
691 692 693 694 695 696 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 691 def initialize(actions: nil, currency: nil, cadence: nil, cadence_data: nil) @actions = actions @currency = currency @cadence = cadence @cadence_data = cadence_data end |
Instance Attribute Details
#actions ⇒ Object
Actions to be performed by this Billing Intent.
683 684 685 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 683 def actions @actions end |
#cadence ⇒ Object
ID of an existing Cadence to use.
687 688 689 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 687 def cadence @cadence end |
#cadence_data ⇒ Object
Data for creating a new Cadence.
689 690 691 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 689 def cadence_data @cadence_data end |
#currency ⇒ Object
Three-letter ISO currency code, in lowercase. Must be a supported currency.
685 686 687 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 685 def currency @currency end |