Class: Stripe::V2::Billing::IntentCreateParams::CadenceData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Defined Under Namespace

Classes: BillingCycle, Payer, Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



848
849
850
851
852
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 848

def initialize(billing_cycle: nil, payer: nil, settings: nil)
  @billing_cycle = billing_cycle
  @payer = payer
  @settings = settings
end

Instance Attribute Details

#billing_cycleObject

The billing cycle configuration for this Cadence.



842
843
844
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 842

def billing_cycle
  @billing_cycle
end

#payerObject

Information about the payer for this Cadence.



844
845
846
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 844

def payer
  @payer
end

#settingsObject

Settings for creating the Cadence.



846
847
848
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 846

def settings
  @settings
end