Subversion Repositories SmartDukaan

Rev

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

Rev 6730 Rev 7563
Line 73... Line 73...
73
    private Long startMinute;
73
    private Long startMinute;
74
    private Long endHour;
74
    private Long endHour;
75
    private Long endMinute;
75
    private Long endMinute;
76
 
76
 
77
    private String couponCode;
77
    private String couponCode;
-
 
78
 
-
 
79
    private int isCod;
78
	
80
	
79
    public CouponGvsController(){
81
    public CouponGvsController(){
80
	    try {
82
	    try {
81
            psc = new PromotionClient();
83
            psc = new PromotionClient();
82
            pClient = psc.getClient();
84
            pClient = psc.getClient();
Line 184... Line 186...
184
                    ;
186
                    ;
185
                } else {
187
                } else {
186
                    arguments = arguments + ", \"startMinute\":" + startMinute.toString();
188
                    arguments = arguments + ", \"startMinute\":" + startMinute.toString();
187
                }
189
                }
188
			    
190
			    
-
 
191
			    if(isCod == 1) {
-
 
192
			        arguments = arguments + ", \"isCod\":True}";
-
 
193
			    } else {
189
			    arguments = arguments + ", \"isCod\":False}";
194
			        arguments = arguments + ", \"isCod\":False}";
-
 
195
			    }
190
			    
196
			    
191
			    if(couponCode == null) {
197
			    if(couponCode == null) {
192
			        couponCode = "";
198
			        couponCode = "";
193
			    }
199
			    }
194
			    
200
			    
Line 428... Line 434...
428
 
434
 
429
 
435
 
430
    public void setCouponCode(String couponCode) {
436
    public void setCouponCode(String couponCode) {
431
        this.couponCode = couponCode;
437
        this.couponCode = couponCode;
432
    }
438
    }
-
 
439
 
-
 
440
 
-
 
441
    public int getIsCod() {
-
 
442
        return isCod;
-
 
443
    }
-
 
444
 
-
 
445
 
-
 
446
    public void setIsCod(int isCod) {
-
 
447
        this.isCod = isCod;
-
 
448
    }
433
}
449
}