Class: Stripe::V2::Billing::ContractCreateParams::BillingSettings::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.



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

#customerObject

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_methodObject

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