Class: Stripe::V2::Billing::ContractCreateParams::BillingSettings::BillingProfileDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::BillingSettings::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.
104 105 106 107 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 104 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.
100 101 102 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 100 def customer @customer end |
#default_payment_method ⇒ Object
The default payment method for the contract.
102 103 104 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 102 def default_payment_method @default_payment_method end |