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.



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

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

Instance Attribute Details

#accountObject

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



510
511
512
# File 'lib/stripe/resources/quote.rb', line 510

def 
  @account
end

#typeObject

Type of the account referenced in the request.



512
513
514
# File 'lib/stripe/resources/quote.rb', line 512

def type
  @type
end