Class: Stripe::QuoteService::CreateParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::QuoteService::CreateParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/services/quote_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.
57 58 59 60 |
# File 'lib/stripe/services/quote_service.rb', line 57 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`.
53 54 55 |
# File 'lib/stripe/services/quote_service.rb', line 53 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
55 56 57 |
# File 'lib/stripe/services/quote_service.rb', line 55 def type @type end |