Class: Stripe::Quote::CreateParams::AutomaticTax::Liability

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



519
520
521
522
# File 'lib/stripe/resources/quote.rb', line 519

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

Instance Attribute Details

#accountObject

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



515
516
517
# File 'lib/stripe/resources/quote.rb', line 515

def 
  @account
end

#typeObject

Type of the account referenced in the request.



517
518
519
# File 'lib/stripe/resources/quote.rb', line 517

def type
  @type
end