Class: Stripe::Invoice::UpdateParams::AutomaticTax::Liability

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



513
514
515
516
# File 'lib/stripe/resources/invoice.rb', line 513

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

Instance Attribute Details

#accountObject

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



509
510
511
# File 'lib/stripe/resources/invoice.rb', line 509

def 
  @account
end

#typeObject

Type of the account referenced in the request.



511
512
513
# File 'lib/stripe/resources/invoice.rb', line 511

def type
  @type
end