Пример #1
0
        public ReceiptExternal GetReceipt(ReceiptSearchExternalShipment shipment)
        {
            var client = GenerateProxy(shipment);

            OperationContext = "ReceiptAgencyGetReceipt";
            return(client.GetReceiptEC(shipment.Username, shipment.Password, shipment.ReceiptSearch));
        }
Пример #2
0
 public ReceiptForm()
 {
     InitializeComponent();
     Receipt                     = new ReceiptExternal();
     ReceiptV2                   = new Receipt.Receipt();
     ReceiptList                 = new ReceiptExternalList();
     ReceiptListV2               = new ReceiptList();
     reFunc                      = new ReceiptEndPointFunctionality();
     reFunc.ReturnMessageXml    += ReturnMessageXmlHandler;
     SaveReceipt                 = new ReceiptExternal();
     UpdateReceipt               = new Receipt.Receipt();
     receiptSearchShipment       = new ReceiptSearchExternalShipment();
     receiptV2SearchShipment     = new ReceiptV2SearchExternalShipment();
     receiptSaveShipment         = new ReceiptSaveExternalShipment();
     receiptUpdateShipment       = new ReceiptUpdateExternalShipment();
     receiptListSearchShipment   = new ReceiptListSearchExternalShipment();
     receiptListV2SearchShipment = new ReceiptListV2SearchExternalShipment();
     SetupObjectsForPropertyGrid();
 }