Google Cloud Channel V1 Client - Class RenewalSettings (1.0.1)

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

Renewal settings for renewable Offers.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable_renewal bool

If false, the plan will be completed at the end date.

↳ resize_unit_count bool

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time.

↳ payment_plan int

Describes how a reseller will be billed.

↳ payment_cycle Google\Cloud\Channel\V1\Period

Describes how frequently the reseller will be billed, such as once per month.

getEnableRenewal

If false, the plan will be completed at the end date.

Generated from protobuf field bool enable_renewal = 1;

Returns
TypeDescription
bool

setEnableRenewal

If false, the plan will be completed at the end date.

Generated from protobuf field bool enable_renewal = 1;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getResizeUnitCount

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time.

Generated from protobuf field bool resize_unit_count = 2;

Returns
TypeDescription
bool

setResizeUnitCount

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time.

Generated from protobuf field bool resize_unit_count = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPaymentPlan

Describes how a reseller will be billed.

Generated from protobuf field .google.cloud.channel.v1.PaymentPlan payment_plan = 5;

Returns
TypeDescription
int

setPaymentPlan

Describes how a reseller will be billed.

Generated from protobuf field .google.cloud.channel.v1.PaymentPlan payment_plan = 5;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPaymentCycle

Describes how frequently the reseller will be billed, such as once per month.

Generated from protobuf field .google.cloud.channel.v1.Period payment_cycle = 6;

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

hasPaymentCycle

clearPaymentCycle

setPaymentCycle

Describes how frequently the reseller will be billed, such as once per month.

Generated from protobuf field .google.cloud.channel.v1.Period payment_cycle = 6;

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