Class: Stripe::V2::Billing::ContractCreateParams::BillingSettings::ContractBillingDetails::BillingProfileDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::BillingSettings::ContractBillingDetails::BillingProfileDetails
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Instance Attribute Summary collapse
-
#customer ⇒ Object
The customer who pays for the contract invoice.
-
#default_payment_method ⇒ Object
The default payment method for the contract.
Instance Method Summary collapse
-
#initialize(customer: nil, default_payment_method: nil) ⇒ BillingProfileDetails
constructor
A new instance of BillingProfileDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(customer: nil, default_payment_method: nil) ⇒ BillingProfileDetails
Returns a new instance of BillingProfileDetails.
64 65 66 67 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 64 def initialize(customer: nil, default_payment_method: nil) @customer = customer @default_payment_method = default_payment_method end |
Instance Attribute Details
#customer ⇒ Object
The customer who pays for the contract invoice.
60 61 62 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 60 def customer @customer end |
#default_payment_method ⇒ Object
The default payment method for the contract.
62 63 64 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 62 def default_payment_method @default_payment_method end |