Class: Stripe::InvoiceCreateParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceCreateParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/params/invoice_create_params.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
The connected account being referenced when ‘type` is `account`.
-
#type ⇒ Object
Type of the account referenced in the request.
Instance Method Summary collapse
-
#initialize(account: nil, type: nil) ⇒ Liability
constructor
A new instance of Liability.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account: nil, type: nil) ⇒ Liability
Returns a new instance of Liability.
31 32 33 34 |
# File 'lib/stripe/params/invoice_create_params.rb', line 31 def initialize(account: nil, type: nil) @account = account @type = type end |
Instance Attribute Details
#account ⇒ Object
The connected account being referenced when ‘type` is `account`.
27 28 29 |
# File 'lib/stripe/params/invoice_create_params.rb', line 27 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
29 30 31 |
# File 'lib/stripe/params/invoice_create_params.rb', line 29 def type @type end |