TaxWithholding
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents the percentage that should be withheld from a Tokenholder's dividend payment for tax purposes
‹›
↳ TaxWithholding
Create a new tax withholding instance
Parameters:
Name
Type
params
• percentage: number
percentage of tax to be withheld (0 to 1)
• securityTokenId: string
• securityTokenSymbol: string
• tokenholderAddress: string
• uid: string
unique generated identifer for tax withholding entity
Hydrate the entity
Parameters:
Name
Type
params
Returns: void
▸ toPojo(): object
Convert entity to a POJO (Plain Old Javascript Object)
Returns: object
percentage: number
securityTokenId: string
securityTokenSymbol: string
tokenholderAddress: string
uid: string
Static
generateId▸ generateId(__namedParameters
: object): string
Generate the Tax Withholding's UUID from its identifying properties
Parameters:
▪ __namedParameters: object
Name
Type
securityTokenId
string
tokenholderAddress
string
Returns: string
Static
unserializeUnserialize a serialized entity of tax withholding information
Parameters:
Name
Type
Description
serialized
string
string with tax withholding information
+ new TaxWithholding(params
: & ):
Defined in
&
Returns:
Defined in
Defined in
Defined in
Defined in
Overrides .
Defined in
▸ _refresh(params
: Partial‹›): void
Overrides .
Defined in
Partial‹›
Overrides .
Defined in
Defined in
▸ unserialize(serialized
: string):
Defined in
Returns: