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



7120
7121
7122
7123
# File 'lib/stripe/resources/invoice.rb', line 7120

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

Instance Attribute Details

#accountObject

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



7116
7117
7118
# File 'lib/stripe/resources/invoice.rb', line 7116

def 
  @account
end

#typeObject

Type of the account referenced in the request.



7118
7119
7120
# File 'lib/stripe/resources/invoice.rb', line 7118

def type
  @type
end