Subversion Repositories SmartDukaan

Rev

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

Rev 12661 Rev 12664
Line 473... Line 473...
473
    public Long getTimetoShip(String itemId) throws LogisticsServiceException, TException{
473
    public Long getTimetoShip(String itemId) throws LogisticsServiceException, TException{
474
        LogisticsClient logisticsClient = new LogisticsClient();
474
        LogisticsClient logisticsClient = new LogisticsClient();
475
        return logisticsClient.getClient().getLogisticsInfo("110001", Long.valueOf(itemId), DeliveryType.COD, PickUpType.COURIER).getShippingTime();
475
        return logisticsClient.getClient().getLogisticsInfo("110001", Long.valueOf(itemId), DeliveryType.COD, PickUpType.COURIER).getShippingTime();
476
    }
476
    }
477
    
477
    
478
      public Long getTimetoShip(String itemId) throws LogisticsServiceException, TException{
-
 
479
          return 0l;
-
 
480
    }
-
 
481
    
-
 
482
    
478
    
483
    public double getWanlcForItem(String itemId){
479
    public double getWanlcForItem(String itemId){
484
        InventoryClient inventoryServiceClient;
480
        InventoryClient inventoryServiceClient;
485
        try {
481
        try {
486
            inventoryServiceClient = new InventoryClient();
482
            inventoryServiceClient = new InventoryClient();