/// <summary> /// Fragt den Versand-Status einer Bestellung ab. /// </summary> /// Response ist ein JSON mit mit der OrderID, der TrackingNummer und dem /// Status. Falls die Bestellung noch nicht versendet wurde /// trackingNumber=null /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='orderID'> /// Input ist eine orderID Nummer /// </param> public static ShipmentState Shipmentget(this IShopStantlyGroup3 operations, int orderID) { return(Task.Factory.StartNew(s => ((IShopStantlyGroup3)s).ShipmentgetAsync(orderID), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult()); }
/// <summary> /// Löst das Versenden einer Bestellung aus. /// </summary> /// Mit diesem Service kann eine Bestellung versendet werden. Der Shipping /// Service lieftert dann Daten beim externen Versandpartner ein. /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='shipmentRequest'> /// Input ist ein ShipmentRequest-JSON File /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ShipmentpostAsync(this IShopStantlyGroup3 operations, ShipmentRequest shipmentRequest = default(ShipmentRequest), CancellationToken cancellationToken = default(CancellationToken)) { await operations.ShipmentpostWithHttpMessagesAsync(shipmentRequest, null, cancellationToken).ConfigureAwait(false); }
/// <summary> /// Löst den Warenausgang aus. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// Input ist ein Order-JSON File /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task InventorypostAsync(this IShopStantlyGroup3 operations, InventoryRequest body = default(InventoryRequest), CancellationToken cancellationToken = default(CancellationToken)) { await operations.InventorypostWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false); }
/// <summary> /// Löst das Versenden einer Bestellung aus. /// </summary> /// Mit diesem Service kann eine Bestellung versendet werden. Der Shipping /// Service lieftert dann Daten beim externen Versandpartner ein. /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='shipmentRequest'> /// Input ist ein ShipmentRequest-JSON File /// </param> public static void Shipmentpost(this IShopStantlyGroup3 operations, ShipmentRequest shipmentRequest = default(ShipmentRequest)) { Task.Factory.StartNew(s => ((IShopStantlyGroup3)s).ShipmentpostAsync(shipmentRequest), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult(); }
/// <summary> /// Löst den Warenausgang aus. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// Input ist ein Order-JSON File /// </param> public static void Inventorypost(this IShopStantlyGroup3 operations, InventoryRequest body = default(InventoryRequest)) { Task.Factory.StartNew(s => ((IShopStantlyGroup3)s).InventorypostAsync(body), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult(); }