# Google Shopping Merchant Accounts V1 Client - Class RestockingFee (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class RestockingFee.

The restocking fee. This can be a flat fee or a micro percent.

Generated from protobuf message `google.shopping.merchant.accounts.v1.OnlineReturnPolicy.RestockingFee`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1 \\ OnlineReturnPolicy

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ fixed_fee` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` Fixed restocking fee. |
| `↳ micro_percent` | `int` Percent of total price in micros. 15,000,000 means 15% of the total price would be charged. |

### getFixedFee

Fixed restocking fee.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html|null` |   |

### hasFixedFee

### setFixedFee

Fixed restocking fee.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMicroPercent

Percent of total price in micros. 15,000,000 means 15% of the total
price would be charged.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasMicroPercent

### setMicroPercent

Percent of total price in micros. 15,000,000 means 15% of the total
price would be charged.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |