Class: Stripe::Checkout::Session::CreateParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/resources/checkout/session.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.
1190 1191 1192 1193 |
# File 'lib/stripe/resources/checkout/session.rb', line 1190 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`.
1186 1187 1188 |
# File 'lib/stripe/resources/checkout/session.rb', line 1186 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
1188 1189 1190 |
# File 'lib/stripe/resources/checkout/session.rb', line 1188 def type @type end |