Google Cloud Commerce Producer V1beta Client - Class CustomIntervalPrice (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class CustomIntervalPrice.

Price configurations for offers with custom intervals.

Generated from protobuf message google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.CustomIntervalPrice

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ PrivateOffer \ SingleProductOffer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ installments array<Installment>

Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment. Must contain at least one installment to publish the offer.

getInstallments

Optional. The installments that make up the installment timeline.

All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment. Must contain at least one installment to publish the offer.

Returns
Type Description
Google\Protobuf\RepeatedField<Installment>

setInstallments

Optional. The installments that make up the installment timeline.

All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment. Must contain at least one installment to publish the offer.

Parameter
Name Description
var array<Installment>
Returns
Type Description
$this