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.
1160 1161 1162 1163 |
# File 'lib/stripe/resources/checkout/session.rb', line 1160 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`.
1156 1157 1158 |
# File 'lib/stripe/resources/checkout/session.rb', line 1156 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
1158 1159 1160 |
# File 'lib/stripe/resources/checkout/session.rb', line 1158 def type @type end |