Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::StandardIntervalPrice.
Price configurations for offers with standard intervals.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#price_model
def price_model() -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel) — Optional. The price model of the offer. Must be present to publish the offer.
#price_model=
def price_model=(value) -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel
Parameter
- value (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel) — Optional. The price model of the offer. Must be present to publish the offer.
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel) — Optional. The price model of the offer. Must be present to publish the offer.
#standard_interval
def standard_interval() -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::StandardIntervalPrice::StandardInterval
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::StandardIntervalPrice::StandardInterval) — Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.
#standard_interval=
def standard_interval=(value) -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::StandardIntervalPrice::StandardInterval
Parameter
- value (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::StandardIntervalPrice::StandardInterval) — Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::StandardIntervalPrice::StandardInterval) — Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.