Class: Stripe::V2::Core::AccountService::UpdateParams::Configuration::Customer::Billing

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/account_service.rb

Defined Under Namespace

Classes: Invoice

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(default_payment_method: nil, invoice: nil) ⇒ Billing

Returns a new instance of Billing.



2320
2321
2322
2323
# File 'lib/stripe/services/v2/core/account_service.rb', line 2320

def initialize(default_payment_method: nil, invoice: nil)
  @default_payment_method = default_payment_method
  @invoice = invoice
end

Instance Attribute Details

#default_payment_methodObject

ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.



2316
2317
2318
# File 'lib/stripe/services/v2/core/account_service.rb', line 2316

def default_payment_method
  @default_payment_method
end

#invoiceObject

Default settings used on invoices for this customer.



2318
2319
2320
# File 'lib/stripe/services/v2/core/account_service.rb', line 2318

def invoice
  @invoice
end