Google Cloud Channel V1 Client - Class ConditionalOverride (1.2.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Channel\V1\RepricingAdjustment|null

hasAdjustment

clearAdjustment

setAdjustment

Required. Information about the applied override's adjustment.

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

getRebillingBasis

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

Returns
TypeDescription
int

setRebillingBasis

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRepricingCondition

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

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

hasRepricingCondition

clearRepricingCondition

setRepricingCondition

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

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