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.



2966
2967
2968
2969
# File 'lib/stripe/services/invoice_service.rb', line 2966

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

Instance Attribute Details

#accountObject

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



2962
2963
2964
# File 'lib/stripe/services/invoice_service.rb', line 2962

def 
  @account
end

#typeObject

Type of the account referenced in the request.



2964
2965
2966
# File 'lib/stripe/services/invoice_service.rb', line 2964

def type
  @type
end