Skip to content

Commit

Permalink
Fix deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Oct 20, 2022
1 parent 11eb813 commit 654daa7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ShopifySharp/Services/Fulfillment/FulfillmentService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public virtual async Task<Fulfillment> UpdateTrackingAsync(long fulfillmentId, F
/// <param name="fulfillment">A new <see cref="Fulfillment"/>. Id should be set to null.</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The new <see cref="Fulfillment"/>.</returns>
[Obsolete("This method will be removed in API version 2022-10 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
[Obsolete("This method will be removed in API version 2022-07 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
public virtual async Task<Fulfillment> CreateAsync(long orderId, Fulfillment fulfillment, CancellationToken cancellationToken = default)
{
var req = PrepareRequest($"orders/{orderId}/fulfillments.json");
Expand All @@ -139,7 +139,7 @@ public virtual async Task<Fulfillment> CreateAsync(long orderId, Fulfillment ful
/// <param name="fulfillment">The <see cref="Fulfillment"/> to update.</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The updated <see cref="Fulfillment"/>.</returns>
[Obsolete("This method will be removed in API version 2022-10 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
[Obsolete("This method will be removed in API version 2022-07 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
public virtual async Task<Fulfillment> UpdateAsync(long orderId, long fulfillmentId, Fulfillment fulfillment, CancellationToken cancellationToken = default)
{
var req = PrepareRequest($"orders/{orderId}/fulfillments/{fulfillmentId}.json");
Expand All @@ -159,7 +159,7 @@ public virtual async Task<Fulfillment> UpdateAsync(long orderId, long fulfillmen
/// <param name="orderId">The order id to which the fulfillments belong.</param>
/// <param name="fulfillmentId">The fulfillment's id.</param>
/// <param name="cancellationToken">Cancellation Token</param>
[Obsolete("This method will be removed in API version 2022-10 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
[Obsolete("This method will be removed in API version 2022-07 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
public virtual async Task<Fulfillment> CompleteAsync(long orderId, long fulfillmentId, CancellationToken cancellationToken = default)
{
var req = PrepareRequest($"orders/{orderId}/fulfillments/{fulfillmentId}/complete.json");
Expand All @@ -174,7 +174,7 @@ public virtual async Task<Fulfillment> CompleteAsync(long orderId, long fulfillm
/// <param name="orderId">The order id to which the fulfillments belong.</param>
/// <param name="fulfillmentId">The fulfillment's id.</param>
/// <param name="cancellationToken">Cancellation Token</param>
[Obsolete("This method will be removed in API version 2022-10 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
[Obsolete("This method will be removed in API version 2022-07 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
public virtual async Task<Fulfillment> CancelAsync(long orderId, long fulfillmentId, CancellationToken cancellationToken = default)
{
var req = PrepareRequest($"orders/{orderId}/fulfillments/{fulfillmentId}/cancel.json");
Expand All @@ -189,7 +189,7 @@ public virtual async Task<Fulfillment> CancelAsync(long orderId, long fulfillmen
/// <param name="orderId">The order id to which the fulfillments belong.</param>
/// <param name="fulfillmentId">The fulfillment's id.</param>
/// <param name="cancellationToken">Cancellation Token</param>
[Obsolete("This method will be removed in API version 2022-10 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
[Obsolete("This method will be removed in API version 2022-07 and ShopifySharp v5.19.0. Use the FulfillmentOrderService instead.")]
public virtual async Task<Fulfillment> OpenAsync(long orderId, long fulfillmentId, CancellationToken cancellationToken = default)
{
var req = PrepareRequest($"orders/{orderId}/fulfillments/{fulfillmentId}/open.json");
Expand Down

0 comments on commit 654daa7

Please sign in to comment.