Subversion Repositories SmartDukaan

Rev

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

Rev 12948 Rev 15462
Line 544... Line 544...
544
            return null;
544
            return null;
545
        }
545
        }
546
    }
546
    }
547
 
547
 
548
    public Long getTimetoShip(String itemId) throws LogisticsServiceException, TException{
548
    public Long getTimetoShip(String itemId) throws LogisticsServiceException, TException{
549
        LogisticsClient logisticsClient = new LogisticsClient();
549
//        LogisticsClient logisticsClient = new LogisticsClient();
550
        return logisticsClient.getClient().getLogisticsInfo("110001", Long.valueOf(itemId), DeliveryType.COD, PickUpType.COURIER).getShippingTime();
550
//        return logisticsClient.getClient().getLogisticsInfo("110001", Long.valueOf(itemId), DeliveryType.COD, PickUpType.COURIER).getShippingTime();
551
        //return 0L;
551
        return 0L;
552
    }
552
    }
553
 
553
 
554
 
554
 
555
    public double getWanlcForItem(String itemId){
555
    public double getWanlcForItem(String itemId){
556
        InventoryClient inventoryServiceClient;
556
        InventoryClient inventoryServiceClient;