Class: Stripe::SubscriptionSchedule::CreateParams::DefaultSettings::AutomaticTax::Liability

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription_schedule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account: nil, type: nil) ⇒ Liability

Returns a new instance of Liability.



337
338
339
340
# File 'lib/stripe/resources/subscription_schedule.rb', line 337

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

Instance Attribute Details

#accountObject

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



333
334
335
# File 'lib/stripe/resources/subscription_schedule.rb', line 333

def 
  @account
end

#typeObject

Type of the account referenced in the request.



335
336
337
# File 'lib/stripe/resources/subscription_schedule.rb', line 335

def type
  @type
end