Blame | 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 ReturnTransactionStatus implements org.apache.thrift.TEnum {INITIATED(0),AUTHORIZED(1),INPROCESS(2),REJECTED(3),PROCESSED(4),COMPLETED(5),CLOSED(6);private final int value;private ReturnTransactionStatus(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 ReturnTransactionStatus findByValue(int value) {switch (value) {case 0:return INITIATED;case 1:return AUTHORIZED;case 2:return INPROCESS;case 3:return REJECTED;case 4:return PROCESSED;case 5:return COMPLETED;case 6:return CLOSED;default:return null;}}}