diff --git a/ShopifySharp.Tests/Fulfillment_Tests.cs b/ShopifySharp.Tests/Fulfillment_Tests.cs index 9f1bd229..20b09e53 100644 --- a/ShopifySharp.Tests/Fulfillment_Tests.cs +++ b/ShopifySharp.Tests/Fulfillment_Tests.cs @@ -315,7 +315,7 @@ public async Task Create(long orderId, bool partialFulfillment = fa }, OriginAddress = originAddress == false ? null - : new FulfillmentShippingOriginAddress + : new FulfillmentOriginAddress { Address1 = "123 4th Street", City = "Minneapolis", diff --git a/ShopifySharp/Entities/FulfillmentShippingOriginAddress.cs b/ShopifySharp/Entities/FulfillmentOriginAddress.cs similarity index 95% rename from ShopifySharp/Entities/FulfillmentShippingOriginAddress.cs rename to ShopifySharp/Entities/FulfillmentOriginAddress.cs index 2901396e..5c835f2d 100644 --- a/ShopifySharp/Entities/FulfillmentShippingOriginAddress.cs +++ b/ShopifySharp/Entities/FulfillmentOriginAddress.cs @@ -2,7 +2,7 @@ namespace ShopifySharp { - public class FulfillmentShippingOriginAddress + public class FulfillmentOriginAddress { /// /// The street address of the fulfillment location. @@ -40,4 +40,4 @@ public class FulfillmentShippingOriginAddress [JsonProperty("zip")] public string Zip { get; set; } } -} +} \ No newline at end of file diff --git a/ShopifySharp/Entities/FulfillmentShipping.cs b/ShopifySharp/Entities/FulfillmentShipping.cs index c596ddef..b58493ef 100644 --- a/ShopifySharp/Entities/FulfillmentShipping.cs +++ b/ShopifySharp/Entities/FulfillmentShipping.cs @@ -32,7 +32,7 @@ public class FulfillmentShipping /// The address of the fulfillment location. /// [JsonProperty("origin_address")] - public FulfillmentShippingOriginAddress OriginAddress { get; set; } + public FulfillmentOriginAddress OriginAddress { get; set; } /// /// The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment.