Class: Stripe::InvoiceService::CreateParams::AutomaticTax::Liability

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



859
860
861
862
# File 'lib/stripe/services/invoice_service.rb', line 859

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

Instance Attribute Details

#accountObject

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



854
855
856
# File 'lib/stripe/services/invoice_service.rb', line 854

def 
  @account
end

#typeObject

Type of the account referenced in the request.



857
858
859
# File 'lib/stripe/services/invoice_service.rb', line 857

def type
  @type
end