-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #928 from clement911/transaction-refund-attributes
New field transaction.payments_refund_attributes
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace ShopifySharp | ||
{ | ||
public class PaymentsRefundAttributes | ||
{ | ||
/// <summary> | ||
/// The current status of the refund. Valid values: pending, failure, success, and error. | ||
/// </summary> | ||
[JsonProperty("status")] | ||
public string Status { get; set; } | ||
|
||
/// <summary> | ||
/// A unique number associated with the transaction that can be used to track the refund. | ||
/// This property has a value only for transactions completed with Visa or Mastercard. | ||
/// </summary> | ||
[JsonProperty("acquirer_reference_number")] | ||
public string AcquirerReferenceNumber { 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