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.



467
468
469
470
# File 'lib/stripe/resources/invoice.rb', line 467

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

Instance Attribute Details

#accountObject

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



463
464
465
# File 'lib/stripe/resources/invoice.rb', line 463

def 
  @account
end

#typeObject

Type of the account referenced in the request.



465
466
467
# File 'lib/stripe/resources/invoice.rb', line 465

def type
  @type
end