Google Cloud Channel V1 Client - Class ConditionalOverride (1.9.5)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ConditionalOverride.

Specifies the override to conditionally apply.

Generated from protobuf message google.cloud.channel.v1.ConditionalOverride

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ adjustment Google\Cloud\Channel\V1\RepricingAdjustment

Required. Information about the applied override's adjustment.

↳ rebilling_basis int

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

↳ repricing_condition Google\Cloud\Channel\V1\RepricingCondition

Required. Specifies the condition which, if met, will apply the override.

getAdjustment

Required. Information about the applied override's adjustment.

Returns
Type Description
Google\Cloud\Channel\V1\RepricingAdjustment|null

hasAdjustment

clearAdjustment

setAdjustment

Required. Information about the applied override's adjustment.

Parameter
Name Description
var Google\Cloud\Channel\V1\RepricingAdjustment
Returns
Type Description
$this

getRebillingBasis

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

Returns
Type Description
int

setRebillingBasis

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

Parameter
Name Description
var int
Returns
Type Description
$this

getRepricingCondition

Required. Specifies the condition which, if met, will apply the override.

Returns
Type Description
Google\Cloud\Channel\V1\RepricingCondition|null

hasRepricingCondition

clearRepricingCondition

setRepricingCondition

Required. Specifies the condition which, if met, will apply the override.

Parameter
Name Description
var Google\Cloud\Channel\V1\RepricingCondition
Returns
Type Description
$this