src/main/java/com/passkit/grpc/SingleUseCoupons/Offer.java
public static CouponExpiryType forNumber(int value) {
      switch (value) {
        case 0: return EXPIRY_DO_NOT_USE;
        case 1: return AUTO_EXPIRE_OFFER_END_DATE;
        case 2: return AUTO_EXPIRE_REDEMPTION_END_DATE;
        case 3: return EXPIRE_AFTER_X_DAYS;
        case 4: return EXPIRE_ON_VARIABLE_DATE_TIME;
        default: return null;
      }
    }
/**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
@param value The numeric wire value of the corresponding enum entry . @return The enum associated with the given numeric wire value .
public static CouponExpiryType forNumber(int value) {
      switch (value) {
        case 0: return EXPIRY_DO_NOT_USE;
        case 1: return AUTO_EXPIRE_OFFER_END_DATE;
        case 2: return AUTO_EXPIRE_REDEMPTION_END_DATE;
        case 3: return EXPIRE_AFTER_X_DAYS;
        case 4: return EXPIRE_ON_VARIABLE_DATE_TIME;
        default: return null;
      }
    }
public static CouponExpiryType forNumber ( int value ) { switch ( value ) { case 0 : return EXPIRY_DO_NOT_USE ; case 1 : return AUTO_EXPIRE_OFFER_END_DATE ; case 2 : return AUTO_EXPIRE_REDEMPTION_END_DATE ; case 3 : return EXPIRE_AFTER_X_DAYS ; case 4 : return EXPIRE_ON_VARIABLE_DATE_TIME ; default : return null ; } }
@param value The numeric wire value of the corresponding enum entry.
@param value The numeric wire value of the corresponding enum entry .