Package com.google.cloud.channel.v1
Interface PurchasableOfferOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PurchasableOffer,PurchasableOffer.Builder
@Generated
public interface PurchasableOfferOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasOffer
boolean hasOffer()Offer.
.google.cloud.channel.v1.Offer offer = 1;- Returns:
- Whether the offer field is set.
-
getOffer
Offer getOffer()Offer.
.google.cloud.channel.v1.Offer offer = 1;- Returns:
- The offer.
-
getOfferOrBuilder
OfferOrBuilder getOfferOrBuilder()Offer.
.google.cloud.channel.v1.Offer offer = 1; -
getPriceReferenceId
String getPriceReferenceId()Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The priceReferenceId.
-
getPriceReferenceIdBytes
com.google.protobuf.ByteString getPriceReferenceIdBytes()Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for priceReferenceId.
-