Class: Stripe::V2::Core::AccountUpdateParams::Configuration::Customer::Billing

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

Defined Under Namespace

Classes: Invoice

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(default_payment_method: nil, invoice: nil) ⇒ Billing

Returns a new instance of Billing.



624
625
626
627
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 624

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

Instance Attribute Details

#default_payment_methodObject

The ID of a PaymentMethod attached to this Account's customer configuration, used as the default payment method for invoices and subscriptions.



620
621
622
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 620

def default_payment_method
  @default_payment_method
end

#invoiceObject

Default invoice settings for the customer account.



622
623
624
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 622

def invoice
  @invoice
end