Skip to content

Commit

Permalink
refactor: remove obsolete Order.ProcessingMethod property
Browse files Browse the repository at this point in the history
BREAKING CHANGE: anyone relying on this property will need to find an alternative.
  • Loading branch information
nozzlegear committed Jul 3, 2024
1 parent 4abeddc commit 02f6130
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ShopifySharp/Entities/Order.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,6 @@ public class Order : ShopifyObject
[JsonProperty("processed_at")]
public DateTimeOffset? ProcessedAt { get; set; }

/// <summary>
/// The type of payment processing method. Known values are 'checkout', 'direct', 'manual', 'offsite', 'express', 'free' and 'none'.
/// </summary>
[JsonProperty("processing_method")]
[Obsolete("Deprecated in version 2023-04. https://shopify.dev/docs/api/release-notes/2023-04#payment-properties-on-the-order-resource-have-been-removed")]
public string ProcessingMethod { get; set; }

/// <summary>
/// The website that the customer clicked on to come to the shop.
/// </summary>
Expand Down Expand Up @@ -515,4 +508,4 @@ public class Order : ShopifyObject

[JsonProperty("company")]
public OrderCompany Company { get; set; }
}
}

0 comments on commit 02f6130

Please sign in to comment.