Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Phase::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Phase::AutomaticTax::Liability
- Defined in:
- lib/stripe/params/invoice_create_preview_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.
1007 1008 1009 1010 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1007 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`.
1003 1004 1005 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1003 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
1005 1006 1007 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1005 def type @type end |