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.
1148 1149 1150 1151 |
# File 'lib/stripe/resources/checkout/session.rb', line 1148 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`.
1144 1145 1146 |
# File 'lib/stripe/resources/checkout/session.rb', line 1144 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
1146 1147 1148 |
# File 'lib/stripe/resources/checkout/session.rb', line 1146 def type @type end |