Class: Stripe::Invoice::ListUpcomingLineItemsParams::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.



3719
3720
3721
3722
# File 'lib/stripe/resources/invoice.rb', line 3719

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

Instance Attribute Details

#accountObject

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



3715
3716
3717
# File 'lib/stripe/resources/invoice.rb', line 3715

def 
  @account
end

#typeObject

Type of the account referenced in the request.



3717
3718
3719
# File 'lib/stripe/resources/invoice.rb', line 3717

def type
  @type
end