Rev 7386 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*** Autogenerated by Thrift Compiler (0.7.0)** DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING*/package in.shop2020.model.v1.order;import java.util.Map;import java.util.HashMap;import org.apache.thrift.TEnum;public enum StorePaymentStatus implements org.apache.thrift.TEnum {ADV_RECEIVED(1),ADV_REFUNDED(2),FULL_PAY_RECEIVED(3),REFUNDED(4),REFUND_REQUESTED(5),REFUND_INITIATED(6);private final int value;private StorePaymentStatus(int value) {this.value = value;}/*** Get the integer value of this enum value, as defined in the Thrift IDL.*/public int getValue() {return value;}/*** Find a the enum type by its integer value, as defined in the Thrift IDL.* @return null if the value is not found.*/public static StorePaymentStatus findByValue(int value) {switch (value) {case 1:return ADV_RECEIVED;case 2:return ADV_REFUNDED;case 3:return FULL_PAY_RECEIVED;case 4:return REFUNDED;case 5:return REFUND_REQUESTED;case 6:return REFUND_INITIATED;default:return null;}}}