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.



3899
3900
3901
3902
# File 'lib/stripe/services/invoice_service.rb', line 3899

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

Instance Attribute Details

#accountObject

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



3895
3896
3897
# File 'lib/stripe/services/invoice_service.rb', line 3895

def 
  @account
end

#typeObject

Type of the account referenced in the request.



3897
3898
3899
# File 'lib/stripe/services/invoice_service.rb', line 3897

def type
  @type
end