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.



769
770
771
772
773
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 769

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.



763
764
765
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 763

def billing_cycle
  @billing_cycle
end

#payerObject

Information about the payer for this Cadence.



765
766
767
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 765

def payer
  @payer
end

#settingsObject

Settings for creating the Cadence.



767
768
769
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 767

def settings
  @settings
end