# Google Cloud Channel V1 Client - Class ChannelPartnerRepricingConfig (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class ChannelPartnerRepricingConfig.

Configuration for how a distributor will rebill a channel partner
(also known as a distributor-authorized reseller).

Generated from protobuf message `google.cloud.channel.v1.ChannelPartnerRepricingConfig`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. |
| `↳ repricing_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.RepricingConfig` Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp of an update to the repricing rule. If `update_time` is after [RepricingConfig.effective_invoice_month](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.RepricingConfig#_Google_Cloud_Channel_V1_RepricingConfig__getEffectiveInvoiceMonth__) then it indicates this was set mid-month. |

### getName

Output only. Resource name of the ChannelPartnerRepricingConfig.

Format:
accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

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

### setName

Output only. Resource name of the ChannelPartnerRepricingConfig.

Format:
accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

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

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

### getRepricingConfig

Required. The configuration for bill modifications made by a reseller
before sending it to ChannelPartner.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.RepricingConfig|null` |   |

### hasRepricingConfig

### clearRepricingConfig

### setRepricingConfig

Required. The configuration for bill modifications made by a reseller
before sending it to ChannelPartner.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.RepricingConfig` |

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

### getUpdateTime

Output only. Timestamp of an update to the repricing rule. If `update_time`
is after
[RepricingConfig.effective_invoice_month](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.RepricingConfig#_Google_Cloud_Channel_V1_RepricingConfig__getEffectiveInvoiceMonth__)
then it indicates this was set mid-month.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Timestamp of an update to the repricing rule. If `update_time`
is after
[RepricingConfig.effective_invoice_month](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.RepricingConfig#_Google_Cloud_Channel_V1_RepricingConfig__getEffectiveInvoiceMonth__)
then it indicates this was set mid-month.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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