Skip to content

Commit

Permalink
Rename to FulfillmentOriginAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Jul 13, 2023
1 parent 92e4723 commit d807caf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ShopifySharp.Tests/Fulfillment_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public async Task<Fulfillment> Create(long orderId, bool partialFulfillment = fa
},
OriginAddress = originAddress == false
? null
: new FulfillmentShippingOriginAddress
: new FulfillmentOriginAddress
{
Address1 = "123 4th Street",
City = "Minneapolis",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace ShopifySharp
{
public class FulfillmentShippingOriginAddress
public class FulfillmentOriginAddress
{
/// <summary>
/// The street address of the fulfillment location.
Expand Down Expand Up @@ -40,4 +40,4 @@ public class FulfillmentShippingOriginAddress
[JsonProperty("zip")]
public string Zip { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion ShopifySharp/Entities/FulfillmentShipping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class FulfillmentShipping
/// The address of the fulfillment location.
/// </summary>
[JsonProperty("origin_address")]
public FulfillmentShippingOriginAddress OriginAddress { get; set; }
public FulfillmentOriginAddress OriginAddress { get; set; }

/// <summary>
/// The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment.
Expand Down

0 comments on commit d807caf

Please sign in to comment.