Google Cloud Channel V1 Client - Class ChannelPartnerRepricingConfig (1.5.0)

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
NameDescription
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 Google\Cloud\Channel\V1\RepricingConfig

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

↳ update_time Google\Protobuf\Timestamp

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month 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
TypeDescription
string

setName

Output only. Resource name of the ChannelPartnerRepricingConfig.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRepricingConfig

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

Returns
TypeDescription
Google\Cloud\Channel\V1\RepricingConfig|null

hasRepricingConfig

clearRepricingConfig

setRepricingConfig

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

Parameter
NameDescription
var Google\Cloud\Channel\V1\RepricingConfig
Returns
TypeDescription
$this

getUpdateTime

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

Returns
TypeDescription
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 then it indicates this was set mid-month.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this