Class: Stripe::SubscriptionSchedule::CreateParams::Phase::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.



613
614
615
616
# File 'lib/stripe/resources/subscription_schedule.rb', line 613

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

Instance Attribute Details

#accountObject

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



609
610
611
# File 'lib/stripe/resources/subscription_schedule.rb', line 609

def 
  @account
end

#typeObject

Type of the account referenced in the request.



611
612
613
# File 'lib/stripe/resources/subscription_schedule.rb', line 611

def type
  @type
end