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.



529
530
531
532
# File 'lib/stripe/resources/invoice.rb', line 529

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

Instance Attribute Details

#accountObject

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



525
526
527
# File 'lib/stripe/resources/invoice.rb', line 525

def 
  @account
end

#typeObject

Type of the account referenced in the request.



527
528
529
# File 'lib/stripe/resources/invoice.rb', line 527

def type
  @type
end