# Percentage

Handles all Percentage Transfer Restriction related functionality

## Hierarchy

* TransferRestrictionBase‹[Percentage](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/enums/transferrestrictiontype.md#percentage)›

  ↳ **Percentage**

## Index

### Properties

* [addRestriction](#addrestriction)
* [context](#protected-context)
* [get](#get)
* [parent](#protected-parent)
* [removeRestrictions](#removerestrictions)
* [setRestrictions](#setrestrictions)
* [type](#protected-type)

## Properties

### addRestriction

• **addRestriction**: [*ProcedureMethod*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/interfaces/proceduremethod.md)*‹Omit‹*[*AddPercentageTransferRestrictionParams*](https://developers.polymath.network/polymesh-sdk-api-reference/globals#addpercentagetransferrestrictionparams)*, "type"›, BigNumber›*

*Overrides* [*TransferRestrictionBase*](https://developers.polymath.network/polymesh-sdk-api-reference/classes/transferrestrictionbase)*.*[*addRestriction*](https://developers.polymath.network/polymesh-sdk-api-reference/transferrestrictionbase#addrestriction)

*Defined in* [*src/api/entities/Asset/TransferRestrictions/Percentage.ts:27*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Asset/TransferRestrictions/Percentage.ts#L27)

Add a Percentage Transfer Restriction to this Asset

**`note`** the result is the total amount of restrictions after the procedure has run

***

### `Protected` context

• **context**: *Context*

*Inherited from void*

*Defined in* [*src/api/entities/Namespace.ts:11*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Namespace.ts#L11)

***

### get

• **get**: *function*

*Overrides* [*TransferRestrictionBase*](https://developers.polymath.network/polymesh-sdk-api-reference/classes/transferrestrictionbase)*.*[*get*](https://developers.polymath.network/polymesh-sdk-api-reference/transferrestrictionbase#get)

*Defined in* [*src/api/entities/Asset/TransferRestrictions/Percentage.ts:56*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Asset/TransferRestrictions/Percentage.ts#L56)

Retrieve all active Percentage Transfer Restrictions

**`note`** there is a maximum number of restrictions allowed across all types. The `availableSlots` property of the result represents how many more restrictions can be added before reaching that limit

#### Type declaration:

▸ (): *Promise‹*[*ActiveTransferRestrictions*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/interfaces/activetransferrestrictions.md)*‹*[*PercentageTransferRestriction*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/interfaces/percentagetransferrestriction.md)*››*

***

### `Protected` parent

• **parent**: [*Asset*](https://developers.polymath.network/polymesh-sdk-api-reference/classes/asset)

*Inherited from void*

*Defined in* [*src/api/entities/Namespace.ts:9*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Namespace.ts#L9)

***

### removeRestrictions

• **removeRestrictions**: [*NoArgsProcedureMethod*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/interfaces/noargsproceduremethod.md)*‹BigNumber›*

*Overrides* [*TransferRestrictionBase*](https://developers.polymath.network/polymesh-sdk-api-reference/classes/transferrestrictionbase)*.*[*removeRestrictions*](https://developers.polymath.network/polymesh-sdk-api-reference/transferrestrictionbase#removerestrictions)

*Defined in* [*src/api/entities/Asset/TransferRestrictions/Percentage.ts:47*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Asset/TransferRestrictions/Percentage.ts#L47)

Removes all Percentage Transfer Restrictions from this Asset

**`note`** the result is the total amount of restrictions after the procedure has run

***

### setRestrictions

• **setRestrictions**: [*ProcedureMethod*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/interfaces/proceduremethod.md)*‹Omit‹*[*SetPercentageTransferRestrictionsParams*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/interfaces/setpercentagetransferrestrictionsparams.md)*, "type"›, BigNumber›*

*Overrides* [*TransferRestrictionBase*](https://developers.polymath.network/polymesh-sdk-api-reference/classes/transferrestrictionbase)*.*[*setRestrictions*](https://developers.polymath.network/polymesh-sdk-api-reference/transferrestrictionbase#setrestrictions)

*Defined in* [*src/api/entities/Asset/TransferRestrictions/Percentage.ts:37*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Asset/TransferRestrictions/Percentage.ts#L37)

Sets all Percentage Transfer Restrictions on this Asset

**`note`** the result is the total amount of restrictions after the procedure has run

***

### `Protected` type

• **type**: [*Percentage*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/docs/v14/docs/enums/transferrestrictiontype.md#percentage) = TransferRestrictionType.Percentage as const

*Overrides* [*TransferRestrictionBase*](https://developers.polymath.network/polymesh-sdk-api-reference/classes/transferrestrictionbase)*.*[*type*](https://developers.polymath.network/polymesh-sdk-api-reference/transferrestrictionbase#protected-abstract-type)

*Defined in* [*src/api/entities/Asset/TransferRestrictions/Percentage.ts:20*](https://github.com/PolymeshAssociation/polymesh-sdk/blob/46845947/src/api/entities/Asset/TransferRestrictions/Percentage.ts#L20)
