Class: Stripe::SubscriptionService::CreateParams::AutomaticTax::Liability
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionService::CreateParams::AutomaticTax::Liability
- Defined in:
- lib/stripe/services/subscription_service.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.
969 970 971 972 |
# File 'lib/stripe/services/subscription_service.rb', line 969 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`.
965 966 967 |
# File 'lib/stripe/services/subscription_service.rb', line 965 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
967 968 969 |
# File 'lib/stripe/services/subscription_service.rb', line 967 def type @type end |