Class: Stripe::InvoiceService::CreatePreviewParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceService::CreatePreviewParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/services/invoice_service.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.
2129 2130 2131 2132 |
# File 'lib/stripe/services/invoice_service.rb', line 2129 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`.
2125 2126 2127 |
# File 'lib/stripe/services/invoice_service.rb', line 2125 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
2127 2128 2129 |
# File 'lib/stripe/services/invoice_service.rb', line 2127 def type @type end |