Class: Stripe::SubscriptionUpdateParams::AutomaticTax::Liability

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



162
163
164
165
# File 'lib/stripe/params/subscription_update_params.rb', line 162

def initialize(account: nil, type: nil)
  @account = 
  @type = type
end

Instance Attribute Details

#accountObject

The connected account being referenced when ‘type` is `account`.



158
159
160
# File 'lib/stripe/params/subscription_update_params.rb', line 158

def 
  @account
end

#typeObject

Type of the account referenced in the request.



160
161
162
# File 'lib/stripe/params/subscription_update_params.rb', line 160

def type
  @type
end