Class: Stripe::SubscriptionScheduleService::CreateParams::Phase::AutomaticTax::Liability

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/subscription_schedule_service.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.



404
405
406
407
# File 'lib/stripe/services/subscription_schedule_service.rb', line 404

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

Instance Attribute Details

#accountObject

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



400
401
402
# File 'lib/stripe/services/subscription_schedule_service.rb', line 400

def 
  @account
end

#typeObject

Type of the account referenced in the request.



402
403
404
# File 'lib/stripe/services/subscription_schedule_service.rb', line 402

def type
  @type
end