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

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(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

#customerObject

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_methodObject

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