Class: Stripe::Invoice::UpcomingParams::AutomaticTax::Liability

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



2157
2158
2159
2160
# File 'lib/stripe/resources/invoice.rb', line 2157

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

Instance Attribute Details

#accountObject

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



2152
2153
2154
# File 'lib/stripe/resources/invoice.rb', line 2152

def 
  @account
end

#typeObject

Type of the account referenced in the request.



2155
2156
2157
# File 'lib/stripe/resources/invoice.rb', line 2155

def type
  @type
end