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



3038
3039
3040
3041
# File 'lib/stripe/resources/invoice.rb', line 3038

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

Instance Attribute Details

#accountObject

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



3034
3035
3036
# File 'lib/stripe/resources/invoice.rb', line 3034

def 
  @account
end

#typeObject

Type of the account referenced in the request.



3036
3037
3038
# File 'lib/stripe/resources/invoice.rb', line 3036

def type
  @type
end