Class: Stripe::V2::Billing::ContractCreateParams::BillingSettings::CollectionSettingsDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::BillingSettings::CollectionSettingsDetails
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Instance Attribute Summary collapse
-
#collection_method ⇒ Object
How payment is collected for the contract.
-
#payment_method_configuration ⇒ Object
The payment method configuration.
Instance Method Summary collapse
-
#initialize(collection_method: nil, payment_method_configuration: nil) ⇒ CollectionSettingsDetails
constructor
A new instance of CollectionSettingsDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(collection_method: nil, payment_method_configuration: nil) ⇒ CollectionSettingsDetails
Returns a new instance of CollectionSettingsDetails.
116 117 118 119 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 116 def initialize(collection_method: nil, payment_method_configuration: nil) @collection_method = collection_method @payment_method_configuration = payment_method_configuration end |
Instance Attribute Details
#collection_method ⇒ Object
How payment is collected for the contract.
112 113 114 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 112 def collection_method @collection_method end |
#payment_method_configuration ⇒ Object
The payment method configuration.
114 115 116 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 114 def payment_method_configuration @payment_method_configuration end |