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.



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_cycleObject

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

#payerObject

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

#settingsObject

Settings for creating the Cadence.



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

def settings
  @settings
end