Class: Stripe::Subscription::UpdateParams::AutomaticTax::Liability

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



740
741
742
743
# File 'lib/stripe/resources/subscription.rb', line 740

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

Instance Attribute Details

#accountObject

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



736
737
738
# File 'lib/stripe/resources/subscription.rb', line 736

def 
  @account
end

#typeObject

Type of the account referenced in the request.



738
739
740
# File 'lib/stripe/resources/subscription.rb', line 738

def type
  @type
end