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

# MerchantPaymentPartnerAction

> Protobuf class MerchantPaymentPartnerAction generated from WAProto.

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

## Implements

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

## Constructors

### new MerchantPaymentPartnerAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### country

> **country**: `string`

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

#### Implementation of

[`IMerchantPaymentPartnerAction`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction).[`country`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction#country)

***

### credentialId?

> `optional` **credentialId**: `null` | `string`

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

#### Implementation of

[`IMerchantPaymentPartnerAction`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction).[`credentialId`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction#credentialid)

***

### gatewayName?

> `optional` **gatewayName**: `null` | `string`

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

#### Implementation of

[`IMerchantPaymentPartnerAction`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction).[`gatewayName`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction#gatewayname)

***

### status

> **status**: [`Status`](/proto-reference/SyncActionValue/MerchantPaymentPartnerAction/enumerations/Status)

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

#### Implementation of

[`IMerchantPaymentPartnerAction`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction).[`status`](/proto-reference/SyncActionValue/interfaces/IMerchantPaymentPartnerAction#status)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
