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.
2257 2258 2259 2260 |
# File 'lib/stripe/resources/invoice.rb', line 2257 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`.
2253 2254 2255 |
# File 'lib/stripe/resources/invoice.rb', line 2253 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
2255 2256 2257 |
# File 'lib/stripe/resources/invoice.rb', line 2255 def type @type end |