-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new DeliveryMethod and Transaction properties for API version 202…
…4-07
- Loading branch information
1 parent
8ff451c
commit e10ba48
Showing
4 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
ShopifySharp/Entities/DeliveryMethodAdditionalInformation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace ShopifySharp; | ||
|
||
public class DeliveryMethodAdditionalInformation | ||
{ | ||
/// <summary> | ||
/// instructions: The delivery instructions to follow when performing the delivery. | ||
/// </summary> | ||
[JsonProperty("instructions")] | ||
public string Instructions { get; set; } | ||
|
||
/// <summary> | ||
/// The phone number to contact when performing the delivery. | ||
/// </summary> | ||
[JsonProperty("phone")] | ||
public string Phone { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace ShopifySharp; | ||
|
||
public class DeliveryMethodBrandedPromise | ||
{ | ||
/// <summary> | ||
/// The name of the branded promise. For example: `Shop Promise`. | ||
/// </summary> | ||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// The handle of the branded promise. For example: `shop_promise` | ||
/// </summary> | ||
[JsonProperty("handle")] | ||
public string Handle { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters