> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomPaymentMethodsAction

> Protobuf class CustomPaymentMethodsAction generated from WAProto.

Defined in: [WAProto/index.d.ts:11898](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11898)

## Implements

* [`ICustomPaymentMethodsAction`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethodsAction)

## Constructors

### new CustomPaymentMethodsAction()

> **new CustomPaymentMethodsAction**(`p`?): [`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

Defined in: [WAProto/index.d.ts:11899](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11899)

#### Parameters

##### p?

[`ICustomPaymentMethodsAction`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethodsAction)

#### Returns

[`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

## Properties

### customPaymentMethods

> **customPaymentMethods**: [`ICustomPaymentMethod`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethod)\[]

Defined in: [WAProto/index.d.ts:11900](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11900)

#### Implementation of

[`ICustomPaymentMethodsAction`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethodsAction).[`customPaymentMethods`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethodsAction#custompaymentmethods)

## Methods

### create()

> `static` **create**(`properties`?): [`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

Defined in: [WAProto/index.d.ts:11901](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11901)

#### Parameters

##### properties?

[`ICustomPaymentMethodsAction`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethodsAction)

#### Returns

[`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

***

### decode()

> `static` **decode**(`r`, `l`?): [`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

Defined in: [WAProto/index.d.ts:11903](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11903)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:11902](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11902)

#### Parameters

##### m

[`ICustomPaymentMethodsAction`](/proto-reference/SyncActionValue/interfaces/ICustomPaymentMethodsAction)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

Defined in: [WAProto/index.d.ts:11904](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11904)

#### Parameters

##### d

#### Returns

[`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:11907](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11907)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:11906](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11906)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:11905](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11905)

#### Parameters

##### m

[`CustomPaymentMethodsAction`](/proto-reference/SyncActionValue/classes/CustomPaymentMethodsAction)

##### o?

`IConversionOptions`

#### Returns

`object`
