src/main/java/com/passkit/grpc/SingleUseCoupons/Offer.java
public static RedemptionType forNumber(int value) {
      switch (value) {
        case 0: return REDEMPTION_TYPE_DO_NOT_USE;
        case 1: return REDEMPTION_TYPE_API;
        case 2: return REDEMPTION_TYPE_CUSTOMER_INITIATED;
        case 3: return REDEMPTION_TYPE_CUSTOMER_INITIATED_CODE_FIXED;
        case 4: return REDEMPTION_TYPE_CUSTOMER_INITIATED_CODE_PROVIDED_ON_REDEEM;
        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 RedemptionType forNumber(int value) {
      switch (value) {
        case 0: return REDEMPTION_TYPE_DO_NOT_USE;
        case 1: return REDEMPTION_TYPE_API;
        case 2: return REDEMPTION_TYPE_CUSTOMER_INITIATED;
        case 3: return REDEMPTION_TYPE_CUSTOMER_INITIATED_CODE_FIXED;
        case 4: return REDEMPTION_TYPE_CUSTOMER_INITIATED_CODE_PROVIDED_ON_REDEEM;
        default: return null;
      }
    }
public static RedemptionType forNumber ( int value ) { switch ( value ) { case 0 : return REDEMPTION_TYPE_DO_NOT_USE ; case 1 : return REDEMPTION_TYPE_API ; case 2 : return REDEMPTION_TYPE_CUSTOMER_INITIATED ; case 3 : return REDEMPTION_TYPE_CUSTOMER_INITIATED_CODE_FIXED ; case 4 : return REDEMPTION_TYPE_CUSTOMER_INITIATED_CODE_PROVIDED_ON_REDEEM ; 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 .