public void Ship() { // confirm shipping data if (String.IsNullOrWhiteSpace(ShippingAddress)) { throw new ApplicationException("Invalid shipping address"); } // get shipping label / id from UPS string shipmentNumber = UpsService.GetShipmentNumber(); // print label PrinterService.PrintLabel(shipmentNumber); }
protected override string GetShippingLabel() { return(UpsService.GetShipmentNumber()); }
private string GetShippingLabel() { return(UpsService.GetShipmentNumber()); }