# Google Shopping Merchant Accounts V1beta 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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class RestockingFee.

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

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

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1beta \\ 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` |   |