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

#to_h

Constructor Details

#initialize(billing_cycle: nil, payer: nil, settings: nil) ⇒ CadenceData

Returns a new instance of CadenceData.



676
677
678
679
680
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 676

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.



670
671
672
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 670

def billing_cycle
  @billing_cycle
end

#payerObject

Information about the payer for this Cadence.



672
673
674
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 672

def payer
  @payer
end

#settingsObject

Settings for creating the Cadence.



674
675
676
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 674

def settings
  @settings
end