Class: Peddler::APIs::FinancesV0::TaxWithholdingEvent

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/finances_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#base_amountPeddler::Money? (readonly)

Returns the value of attribute base_amount.

Returns:



1149
1150
1151
# File 'sig/peddler/apis/finances_v0.rbs', line 1149

def base_amount
  @base_amount
end

#posted_dateString? (readonly)

Returns the value of attribute posted_date.

Returns:

  • (String, nil)


1150
1151
1152
# File 'sig/peddler/apis/finances_v0.rbs', line 1150

def posted_date
  @posted_date
end

#tax_withholding_periodPeddler::APIs::FinancesV0::TaxWithholdingPeriod? (readonly)

Returns the value of attribute tax_withholding_period.



1151
1152
1153
# File 'sig/peddler/apis/finances_v0.rbs', line 1151

def tax_withholding_period
  @tax_withholding_period
end

#withheld_amountPeddler::Money? (readonly)

Returns the value of attribute withheld_amount.

Returns:



1152
1153
1154
# File 'sig/peddler/apis/finances_v0.rbs', line 1152

def withheld_amount
  @withheld_amount
end

Class Method Details

.[](base_amount:, posted_date:, tax_withholding_period:, withheld_amount:) ⇒ Peddler::APIs::FinancesV0::TaxWithholdingEvent .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FinancesV0::TaxWithholdingEvent

Overloads:



1142
1143
# File 'sig/peddler/apis/finances_v0.rbs', line 1142

def self.[]: (?base_amount: Peddler::Money?, ?posted_date: String?, ?tax_withholding_period: Peddler::APIs::FinancesV0::TaxWithholdingPeriod?, ?withheld_amount: Peddler::Money?) -> Peddler::APIs::FinancesV0::TaxWithholdingEvent
| (Peddler::Money?, String?, Peddler::APIs::FinancesV0::TaxWithholdingPeriod?, Peddler::Money?) -> Peddler::APIs::FinancesV0::TaxWithholdingEvent

.members[ :base_amount, :posted_date, :tax_withholding_period, :withheld_amount ]

Returns:

  • ([ :base_amount, :posted_date, :tax_withholding_period, :withheld_amount ])


1145
# File 'sig/peddler/apis/finances_v0.rbs', line 1145

def self.members: () -> [ :base_amount, :posted_date, :tax_withholding_period, :withheld_amount ]

.new(base_amount:, posted_date:, tax_withholding_period:, withheld_amount:) ⇒ Peddler::APIs::FinancesV0::TaxWithholdingEvent .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FinancesV0::TaxWithholdingEvent

Overloads:



1140
1141
# File 'sig/peddler/apis/finances_v0.rbs', line 1140

def self.new: (?base_amount: Peddler::Money?, ?posted_date: String?, ?tax_withholding_period: Peddler::APIs::FinancesV0::TaxWithholdingPeriod?, ?withheld_amount: Peddler::Money?) -> Peddler::APIs::FinancesV0::TaxWithholdingEvent
| (Peddler::Money?, String?, Peddler::APIs::FinancesV0::TaxWithholdingPeriod?, Peddler::Money?) -> Peddler::APIs::FinancesV0::TaxWithholdingEvent

.parsePeddler::APIs::FinancesV0::TaxWithholdingEvent

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



1147
# File 'sig/peddler/apis/finances_v0.rbs', line 1147

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FinancesV0::TaxWithholdingEvent

Instance Method Details

#members[ :base_amount, :posted_date, :tax_withholding_period, :withheld_amount ]

Returns:

  • ([ :base_amount, :posted_date, :tax_withholding_period, :withheld_amount ])


1154
# File 'sig/peddler/apis/finances_v0.rbs', line 1154

def members: () -> [ :base_amount, :posted_date, :tax_withholding_period, :withheld_amount ]

#to_h{ base_amount: Peddler::Money?, posted_date: String?, tax_withholding_period: Peddler::APIs::FinancesV0::TaxWithholdingPeriod?, withheld_amount: Peddler::Money? }

Returns:



1155
# File 'sig/peddler/apis/finances_v0.rbs', line 1155

def to_h: () -> { base_amount: Peddler::Money?, posted_date: String?, tax_withholding_period: Peddler::APIs::FinancesV0::TaxWithholdingPeriod?, withheld_amount: Peddler::Money? }