Class: Stripe::SubscriptionCreateParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionCreateParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/params/subscription_create_params.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
The connected account being referenced when
typeisaccount. -
#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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account: nil, type: nil) ⇒ Liability
134 135 136 137 |
# File 'lib/stripe/params/subscription_create_params.rb', line 134 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.
130 131 132 |
# File 'lib/stripe/params/subscription_create_params.rb', line 130 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
132 133 134 |
# File 'lib/stripe/params/subscription_create_params.rb', line 132 def type @type end |