Пример #1
0
        public string AddShipment(ShipmentRequestType Shipment)
        {
            object[] results = this.Invoke("AddShipment", new object[] {
                Shipment
            });

            return((string)(results[0]));
        }
Пример #2
0
        public ServiceType[] GetAvailableServices(ShipmentRequestType Shipment)
        {
            object[] results = this.Invoke("GetAvailableServices", new object[] {
                Shipment
            });

            return((ServiceType[])(results[0]));
        }
Пример #3
0
 /// <remarks/>
 public void AddShipmentAsync(ShipmentRequestType Shipment, object userState)
 {
     if ((this.AddShipmentOperationCompleted == null))
     {
         this.AddShipmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddShipmentOperationCompleted);
     }
     this.InvokeAsync("AddShipment", new object[] {
         Shipment
     }, this.AddShipmentOperationCompleted, userState);
 }
Пример #4
0
 /// <remarks/>
 public void GetAvailableServicesAsync(ShipmentRequestType Shipment, object userState)
 {
     if ((this.GetAvailableServicesOperationCompleted == null))
     {
         this.GetAvailableServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailableServicesOperationCompleted);
     }
     this.InvokeAsync("GetAvailableServices", new object[] {
         Shipment
     }, this.GetAvailableServicesOperationCompleted, userState);
 }
Пример #5
0
 /// <remarks/>
 public void AddShipmentAsync(ShipmentRequestType Shipment)
 {
     this.AddShipmentAsync(Shipment, null);
 }
Пример #6
0
 /// <remarks/>
 public void GetAvailableServicesAsync(ShipmentRequestType Shipment)
 {
     this.GetAvailableServicesAsync(Shipment, null);
 }