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.



784
785
786
787
788
789
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 784

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.



776
777
778
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 776

def actions
  @actions
end

#cadenceObject

ID of an existing Cadence to use.



780
781
782
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 780

def cadence
  @cadence
end

#cadence_dataObject

Data for creating a new Cadence.



782
783
784
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 782

def cadence_data
  @cadence_data
end

#currencyObject

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



778
779
780
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 778

def currency
  @currency
end