Subversion Repositories SmartDukaan

Rev

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

Rev 10121 Rev 10295
Line 37... Line 37...
37
    private String contactName;
37
    private String contactName;
38
    private String contactPhone;
38
    private String contactPhone;
39
    private String contactFax;
39
    private String contactFax;
40
    private String contactEmail;
40
    private String contactEmail;
41
    private String registeredAddress;
41
    private String registeredAddress;
-
 
42
    private long stateId;
42
    private String communicationAddress;
43
    private String communicationAddress;
43
    private List<Long> billingWarehouseIds;
44
    private List<Long> billingWarehouseIds;
44
    
45
    
45
    private String id;
46
    private String id;
46
    private List<Supplier> suppliers;
47
    private List<Supplier> suppliers;
Line 128... Line 129...
128
            supplier.setHeadName(headName);
129
            supplier.setHeadName(headName);
129
            supplier.setPan(pan);
130
            supplier.setPan(pan);
130
            supplier.setPhone(phone);
131
            supplier.setPhone(phone);
131
            supplier.setRegisteredAddress(registeredAddress);
132
            supplier.setRegisteredAddress(registeredAddress);
132
            supplier.setTin(tin);
133
            supplier.setTin(tin);
-
 
134
            supplier.setStateId(stateId);
133
            Client purchaseClient = new PurchaseClient().getClient();
135
            Client purchaseClient = new PurchaseClient().getClient();
134
            supplier = purchaseClient.addSupplier(supplier);
136
            supplier = purchaseClient.addSupplier(supplier);
135
            
137
            
136
            in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = new InventoryClient(ConfigClientKeys.inventory_service_server_host.toString(),
138
            in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = new InventoryClient(ConfigClientKeys.inventory_service_server_host.toString(),
137
                    ConfigClientKeys.inventory_service_server_port.toString()).getClient();
139
                    ConfigClientKeys.inventory_service_server_port.toString()).getClient();
Line 330... Line 332...
330
	}
332
	}
331
 
333
 
332
	public void setBillingWarehouseIds(List<Long> billingWarehouseIds) {
334
	public void setBillingWarehouseIds(List<Long> billingWarehouseIds) {
333
		this.billingWarehouseIds = billingWarehouseIds;
335
		this.billingWarehouseIds = billingWarehouseIds;
334
	}
336
	}
-
 
337
 
-
 
338
    public long getStateId() {
-
 
339
		return stateId;
-
 
340
	}
-
 
341
 
-
 
342
	public void setStateId(long stateId) {
-
 
343
		this.stateId = stateId;
-
 
344
	}
335
    
345
    
336
}
346
}