public void Ship() { // confirm shipping data if (String.IsNullOrWhiteSpace(ShippingAddress) || ShippingAddress.Contains("PO Box")) { throw new ApplicationException("Invalid shipping address"); } // get shipping label / id from FedEx string shipmentNumber = FedExService.GetFedExNumber(); // print label PrinterService.PrintLabel(shipmentNumber); }
protected override string GetShippingLabel() { return(FedExService.GetFedExNumber()); }
private string GetShippingLabel() { return(FedExService.GetFedExNumber()); }