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



6223
6224
6225
6226
# File 'lib/stripe/resources/invoice.rb', line 6223

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

Instance Attribute Details

#accountObject

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



6219
6220
6221
# File 'lib/stripe/resources/invoice.rb', line 6219

def 
  @account
end

#typeObject

Type of the account referenced in the request.



6221
6222
6223
# File 'lib/stripe/resources/invoice.rb', line 6221

def type
  @type
end