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



1823
1824
1825
1826
# File 'lib/stripe/services/invoice_service.rb', line 1823

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

Instance Attribute Details

#accountObject

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



1819
1820
1821
# File 'lib/stripe/services/invoice_service.rb', line 1819

def 
  @account
end

#typeObject

Type of the account referenced in the request.



1821
1822
1823
# File 'lib/stripe/services/invoice_service.rb', line 1821

def type
  @type
end