# Google Cloud Domains V1 Client - Class ManagementSettings (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.5.5 0.4.2 0.3.1 0.2.11 Reference documentation and code samples for the Google Cloud Domains V1 Client class ManagementSettings.

Defines renewal, billing, and transfer settings for a `Registration`.

Generated from protobuf message `google.cloud.domains.v1.ManagementSettings`

## Namespace

Google \\ Cloud \\ Domains \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ renewal_method` | `int` Output only. The renewal method for this `Registration`. |
| `↳ transfer_lock_state` | `int` Controls whether the domain can be transferred to another registrar. |

### getRenewalMethod

Output only. The renewal method for this `Registration`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [RenewalMethod](https://docs.cloud.google.com/php/docs/reference/cloud-domains/latest/V1.ManagementSettings.RenewalMethod). |

### setRenewalMethod

Output only. The renewal method for this `Registration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [RenewalMethod](https://docs.cloud.google.com/php/docs/reference/cloud-domains/latest/V1.ManagementSettings.RenewalMethod). |

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

### getTransferLockState

Controls whether the domain can be transferred to another registrar.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [TransferLockState](https://docs.cloud.google.com/php/docs/reference/cloud-domains/latest/V1.TransferLockState). |

### setTransferLockState

Controls whether the domain can be transferred to another registrar.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [TransferLockState](https://docs.cloud.google.com/php/docs/reference/cloud-domains/latest/V1.TransferLockState). |

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