Blame | Last modification | View Log | RSS feed
/*** Migrated from ThriftConfig - Thrift dependency removed**/package in.shop2020.model.v1.order;import java.util.Map;import java.util.HashMap;public enum ReturnTransactionStatus {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;}}}