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

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

The price configurations for the flat fee subscriptions.

Generated from protobuf message google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel.FlatFee

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ PrivateOffer \ SingleProductOffer \ PriceModel

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ flat_fee_override Google\Type\Money

Optional. Flat fee overriding the default flat fee in the base standard offer. Value cannot be negative. The currency must be "USD" and precision is limited to cents. Must be present to publish the offer, if the parent message is set. The maximum allowed value is 1,000,000,000 USD.

getFlatFeeOverride

Optional. Flat fee overriding the default flat fee in the base standard offer. Value cannot be negative. The currency must be "USD" and precision is limited to cents. Must be present to publish the offer, if the parent message is set. The maximum allowed value is 1,000,000,000 USD.

Returns
Type Description
Google\Type\Money|null

hasFlatFeeOverride

clearFlatFeeOverride

setFlatFeeOverride

Optional. Flat fee overriding the default flat fee in the base standard offer. Value cannot be negative. The currency must be "USD" and precision is limited to cents. Must be present to publish the offer, if the parent message is set. The maximum allowed value is 1,000,000,000 USD.

Parameter
Name Description
var Google\Type\Money
Returns
Type Description
$this