Interface ApplyIncentiveResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApplyIncentiveResponse,ApplyIncentiveResponse.Builder
public interface ApplyIncentiveResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe coupon code of the applied incentive.com.google.protobuf.ByteStringThe coupon code of the applied incentive.The timestamp when this incentive was applied.com.google.protobuf.ByteStringThe timestamp when this incentive was applied.booleanThe coupon code of the applied incentive.booleanThe timestamp when this incentive was applied.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
-
hasCouponCode
boolean hasCouponCode()The coupon code of the applied incentive. A globally unique identifier of the applied incentive. This code is separate and distinct from the selected_incentive_id in the request.
optional string coupon_code = 1;- Returns:
- Whether the couponCode field is set.
-
getCouponCode
String getCouponCode()The coupon code of the applied incentive. A globally unique identifier of the applied incentive. This code is separate and distinct from the selected_incentive_id in the request.
optional string coupon_code = 1;- Returns:
- The couponCode.
-
getCouponCodeBytes
com.google.protobuf.ByteString getCouponCodeBytes()The coupon code of the applied incentive. A globally unique identifier of the applied incentive. This code is separate and distinct from the selected_incentive_id in the request.
optional string coupon_code = 1;- Returns:
- The bytes for couponCode.
-
hasCreationTime
boolean hasCreationTime()The timestamp when this incentive was applied. The timestamp is in UTC timezone and in "yyyy-MM-dd HH:mm:ss" format.
optional string creation_time = 2;- Returns:
- Whether the creationTime field is set.
-
getCreationTime
String getCreationTime()The timestamp when this incentive was applied. The timestamp is in UTC timezone and in "yyyy-MM-dd HH:mm:ss" format.
optional string creation_time = 2;- Returns:
- The creationTime.
-
getCreationTimeBytes
com.google.protobuf.ByteString getCreationTimeBytes()The timestamp when this incentive was applied. The timestamp is in UTC timezone and in "yyyy-MM-dd HH:mm:ss" format.
optional string creation_time = 2;- Returns:
- The bytes for creationTime.
-