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.
1011 1012 1013 1014 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1011 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`.
1007 1008 1009 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1007 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
1009 1010 1011 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1009 def type @type end |