/// <summary> /// Creates return label for existed shipping label /// </summary> public Label CreateReturnLabel(IShippingContext context, Shipment shipment, object labelID) { return m_ShippingSystem.CreateReturnLabel(this, context, shipment, labelID); }
public abstract Label CreateReturnLabel(ShippingSession session, IShippingContext context, Shipment shipment, object labelID);
/// <summary> /// Creates shipping label /// </summary> public Label CreateLabel(IShippingContext context, Shipment shipment) { return m_ShippingSystem.CreateLabel(this, context, shipment); }
public abstract Label CreateLabel(ShippingSession session, IShippingContext context, Shipment shipment);
/// <summary> /// Creates return label for existed shipping label /// </summary> public Label CreateReturnLabel(IShippingContext context, Shipment shipment, object labelID) { return(m_ShippingSystem.CreateReturnLabel(this, context, shipment, labelID)); }
/// <summary> /// Creates shipping label /// </summary> public Label CreateLabel(IShippingContext context, Shipment shipment) { return(m_ShippingSystem.CreateLabel(this, context, shipment)); }
public abstract ShippingRate EstimateShippingCost(ShippingSession session, IShippingContext context, Shipment shipment);
private Shipment getDefaultShipment() { var result = new Shipment { Length = 10, Width = 5.5M, Height = 3, DistanceUnit = DistanceUnit.In, Weight = 2.3M, MassUnit = MassUnit.Lb, FromAddress = new Address { Name = "J. London", Country = "US", State = "NY", City = "New York", EMail = "*****@*****.**", Street1 = "183 Canal Street", PostalCode = "10013", Phone = "(111) 222-33-44" }, ToAddress = new Address { Name = "A. Einstein", Country = "US", State = "CA", City = "Los Angeles", EMail = "*****@*****.**", Street1 = "1782 West 25th Street", PostalCode = "90018", Phone = "(111) 333-44-55" } }; return result; }