Subversion Repositories SmartDukaan

Rev

Rev 7410 | Rev 8982 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7410 Rev 8488
Line 14... Line 14...
14
  WEBSITE(1),
14
  WEBSITE(1),
15
  STORE(2),
15
  STORE(2),
16
  AMAZON(3),
16
  AMAZON(3),
17
  HOMESHOP18(4),
17
  HOMESHOP18(4),
18
  NAAPTOL(5),
18
  NAAPTOL(5),
19
  EBAY(6);
19
  EBAY(6),
-
 
20
  SNAPDEAL(7);
20
 
21
 
21
  private final int value;
22
  private final int value;
22
 
23
 
23
  private OrderSource(int value) {
24
  private OrderSource(int value) {
24
    this.value = value;
25
    this.value = value;
Line 47... Line 48...
47
        return HOMESHOP18;
48
        return HOMESHOP18;
48
      case 5:
49
      case 5:
49
        return NAAPTOL;
50
        return NAAPTOL;
50
      case 6:
51
      case 6:
51
        return EBAY;
52
        return EBAY;
-
 
53
      case 7:
-
 
54
        return SNAPDEAL;
52
      default:
55
      default:
53
        return null;
56
        return null;
54
    }
57
    }
55
  }
58
  }
56
}
59
}