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



1275
1276
1277
1278
# File 'lib/stripe/resources/invoice.rb', line 1275

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

Instance Attribute Details

#accountObject

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



1271
1272
1273
# File 'lib/stripe/resources/invoice.rb', line 1271

def 
  @account
end

#typeObject

Type of the account referenced in the request.



1273
1274
1275
# File 'lib/stripe/resources/invoice.rb', line 1273

def type
  @type
end