Class: Stripe::V2::Billing::ContractCreateParams::BillingSettings::ContractBillingDetails::CollectionSettingsDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



76
77
78
79
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 76

def initialize(collection_method: nil, payment_method_configuration: nil)
  @collection_method = collection_method
  @payment_method_configuration = payment_method_configuration
end

Instance Attribute Details

#collection_methodObject

The collection method.



72
73
74
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 72

def collection_method
  @collection_method
end

#payment_method_configurationObject

The payment method configuration.



74
75
76
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 74

def payment_method_configuration
  @payment_method_configuration
end