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

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

Defined Under Namespace

Classes: Action, CadenceData

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(actions: nil, currency: nil, cadence: nil, cadence_data: nil) ⇒ IntentCreateParams

Returns a new instance of IntentCreateParams.



691
692
693
694
695
696
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 691

def initialize(actions: nil, currency: nil, cadence: nil, cadence_data: nil)
  @actions = actions
  @currency = currency
  @cadence = cadence
  @cadence_data = cadence_data
end

Instance Attribute Details

#actionsObject

Actions to be performed by this Billing Intent.



683
684
685
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 683

def actions
  @actions
end

#cadenceObject

ID of an existing Cadence to use.



687
688
689
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 687

def cadence
  @cadence
end

#cadence_dataObject

Data for creating a new Cadence.



689
690
691
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 689

def cadence_data
  @cadence_data
end

#currencyObject

Three-letter ISO currency code, in lowercase. Must be a supported currency.



685
686
687
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 685

def currency
  @currency
end