Class: Stripe::V2::Billing::IntentCreateParams::CadenceData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::CadenceData
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: BillingCycle, Payer, Settings
Instance Attribute Summary collapse
-
#billing_cycle ⇒ Object
The billing cycle configuration for this Cadence.
-
#payer ⇒ Object
Information about the payer for this Cadence.
-
#settings ⇒ Object
Settings for creating the Cadence.
Instance Method Summary collapse
-
#initialize(billing_cycle: nil, payer: nil, settings: nil) ⇒ CadenceData
constructor
A new instance of CadenceData.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(billing_cycle: nil, payer: nil, settings: nil) ⇒ CadenceData
Returns a new instance of CadenceData.
851 852 853 854 855 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 851 def initialize(billing_cycle: nil, payer: nil, settings: nil) @billing_cycle = billing_cycle @payer = payer @settings = settings end |
Instance Attribute Details
#billing_cycle ⇒ Object
The billing cycle configuration for this Cadence.
845 846 847 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 845 def billing_cycle @billing_cycle end |
#payer ⇒ Object
Information about the payer for this Cadence.
847 848 849 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 847 def payer @payer end |
#settings ⇒ Object
Settings for creating the Cadence.
849 850 851 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 849 def settings @settings end |