public ReceiptExternal SubmitSubscription(SubmitSubscriptionShipment shipment) { var client = GenerateProxy(shipment); OperationContext = _context + "SubmitSubscription"; return(client.SubmitSubscriptionEC(shipment.Username, shipment.Password, shipment.ExternalBatchId, shipment.SubscriptionDetails)); }
public SubscriptionAgencyForm() { InitializeComponent(); _saepFunc = new SubscriptionAgencyEndPointFunction(); _saepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentSs = new SubmitSubscriptionShipment(); ShipmentSs.SubscriptionDetails = new SubscriptionDetails(); ShipmentSs.SubscriptionDetails.Subscriptionlist = new SubscriptionList(); ResultSs = new ReceiptExternal(); SetupObjForPropGrid(); }