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



2198
2199
2200
2201
# File 'lib/stripe/services/invoice_service.rb', line 2198

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

Instance Attribute Details

#accountObject

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



2194
2195
2196
# File 'lib/stripe/services/invoice_service.rb', line 2194

def 
  @account
end

#typeObject

Type of the account referenced in the request.



2196
2197
2198
# File 'lib/stripe/services/invoice_service.rb', line 2196

def type
  @type
end