Class: Stripe::InvoiceUpcomingLinesService::ListParams::ScheduleDetails::Phase::AutomaticTax::Liability

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



911
912
913
914
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 911

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

Instance Attribute Details

#accountObject

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



907
908
909
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 907

def 
  @account
end

#typeObject

Type of the account referenced in the request.



909
910
911
# File 'lib/stripe/services/invoice_upcoming_lines_service.rb', line 909

def type
  @type
end