Subversion Repositories SmartDukaan

Rev

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

Rev 2105 Rev 2119
Line 2... Line 2...
2
 
2
 
3
import java.io.Serializable;
3
import java.io.Serializable;
4
 
4
 
5
import com.google.gwt.user.client.rpc.IsSerializable;
5
import com.google.gwt.user.client.rpc.IsSerializable;
6
 
6
 
7
public class VendorDetails implements IsSerializable, Serializable {
7
public class VendorPricings implements IsSerializable, Serializable {
8
    long vendorId;
8
    long vendorId;
9
    String itemKey;
-
 
10
    double mop, dealerPrice, transferPrice;
9
    double mop, dealerPrice, transferPrice;
11
    
10
    
12
    public VendorDetails() {
11
    public VendorPricings() {
13
        
12
        
14
    }
13
    }
15
    
14
    
16
    public VendorDetails(long vendorId, String itemKey, double mop, double dp, double tp) {
15
    public VendorPricings(long vendorId, String itemKey, double mop, double dp, double tp) {
17
        this.vendorId = vendorId;
16
        this.vendorId = vendorId;
18
        this.itemKey = itemKey;
-
 
19
        this.mop = mop;
17
        this.mop = mop;
20
        this.dealerPrice = dp;
18
        this.dealerPrice = dp;
21
        this.transferPrice = tp;
19
        this.transferPrice = tp;
22
    }
20
    }
23
    
21
    
Line 25... Line 23...
25
        return vendorId;
23
        return vendorId;
26
    }
24
    }
27
    public void setVendorId(long vendorId) {
25
    public void setVendorId(long vendorId) {
28
        this.vendorId = vendorId;
26
        this.vendorId = vendorId;
29
    }
27
    }
30
    public String getItemKey() {
-
 
31
        return itemKey;
-
 
32
    }
-
 
33
    public void setItemKey(String itemKey) {
-
 
34
        this.itemKey = itemKey;
-
 
35
    }
-
 
36
    public double getMop() {
28
    public double getMop() {
37
        return mop;
29
        return mop;
38
    }
30
    }
39
    public void setMop(double mop) {
31
    public void setMop(double mop) {
40
        this.mop = mop;
32
        this.mop = mop;