Class: Stripe::Invoice::CreatePreviewParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Invoice::CreatePreviewParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/resources/invoice.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
Constructor Details
#initialize(account: nil, type: nil) ⇒ Liability
Returns a new instance of Liability.
2630 2631 2632 2633 |
# File 'lib/stripe/resources/invoice.rb', line 2630 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`.
2626 2627 2628 |
# File 'lib/stripe/resources/invoice.rb', line 2626 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
2628 2629 2630 |
# File 'lib/stripe/resources/invoice.rb', line 2628 def type @type end |