Class: Stripe::SubscriptionScheduleCreateParams::Phase::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionScheduleCreateParams::Phase::AutomaticTax::Liability
- Defined in:
- lib/stripe/params/subscription_schedule_create_params.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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account: nil, type: nil) ⇒ Liability
Returns a new instance of Liability.
302 303 304 305 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 302 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`.
298 299 300 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 298 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
300 301 302 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 300 def type @type end |