Class: Stripe::Subscription::CreateParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Subscription::CreateParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/resources/subscription.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.
1298 1299 1300 1301 |
# File 'lib/stripe/resources/subscription.rb', line 1298 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`.
1294 1295 1296 |
# File 'lib/stripe/resources/subscription.rb', line 1294 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
1296 1297 1298 |
# File 'lib/stripe/resources/subscription.rb', line 1296 def type @type end |