TaxWithholding
Represents the percentage that should be withheld from a Tokenholder's dividend payment for tax purposes
Hierarchy
Entity‹Params›
↳ TaxWithholding
Index
Constructors
constructor
Properties
percentage
securityTokenId
securityTokenSymbol
tokenholderAddress
uid
Methods
_refresh
toPojo
generateId
unserialize
Constructors
constructor
+ new TaxWithholding(params
: Params & UniqueIdentifiers): TaxWithholding
Create a new tax withholding instance
Parameters:
Name
Type
params
Returns: TaxWithholding
Properties
percentage
• percentage: number
percentage of tax to be withheld (0 to 1)
securityTokenId
• securityTokenId: string
securityTokenSymbol
• securityTokenSymbol: string
tokenholderAddress
• tokenholderAddress: string
uid
• uid: string
Overrides Entity.uid
unique generated identifer for tax withholding entity
Methods
_refresh
▸ _refresh(params
: Partial‹Params›): void
Overrides Entity._refresh
Hydrate the entity
Parameters:
Name
Type
params
Returns: void
toPojo
▸ toPojo(): object
Overrides Entity.toPojo
Convert entity to a POJO (Plain Old Javascript Object)
Returns: object
percentage: number
securityTokenId: string
securityTokenSymbol: string
tokenholderAddress: string
uid: string
Static
generateId
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
unserialize
Static
unserialize▸ unserialize(serialized
: string): UniqueIdentifiers
Unserialize a serialized entity of tax withholding information
Parameters:
Name
Type
Description
serialized
string
string with tax withholding information
Returns: UniqueIdentifiers
Last updated
Was this helpful?