-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing point PointOfSalePaymentResponseDetails properties
- Loading branch information
1 parent
9e892da
commit 98ae45f
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
src/Mollie.Api/Models/Payment/Response/Specific/PointOfSalePaymentResponse.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 |
---|---|---|
@@ -1,9 +1,47 @@ | ||
namespace Mollie.Api.Models.Payment.Response.Specific { | ||
public class PointOfSalePaymentResponse : PaymentResponse { | ||
/// <summary> | ||
/// An object with payment details. | ||
/// </summary> | ||
public PointOfSalePaymentResponseDetails Details { get; set; } | ||
} | ||
|
||
public class PointOfSalePaymentResponseDetails { | ||
/// <summary> | ||
/// The identifier referring to the terminal this payment was created for. For example, term_utGtYu756h. | ||
/// </summary> | ||
public string TerminalId { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has been completed - The last four digits of the card number. | ||
/// </summary> | ||
public string CardNumber { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has been completed - Unique alphanumeric representation of card, usable for | ||
/// identifying returning customers. | ||
/// </summary> | ||
public string CardFingerprint { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has been completed and if the data is available - The card’s target audience. | ||
/// | ||
/// Check the Mollie.Api.Models.Payment.Response.CreditCardAudience class for a full list of known values. | ||
/// </summary> | ||
public string CardAudience { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has been completed - The card’s label. Note that not all labels can be | ||
/// processed through Mollie. | ||
/// | ||
/// Check the Mollie.Api.Models.Payment.Response.CreditCardLabel class for a full list of known values. | ||
/// </summary> | ||
public string CardLabel { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has been completed - The ISO 3166-1 alpha-2 country code of the country | ||
/// the card was issued in. For example: BE. | ||
/// </summary> | ||
public string CardCountryCode { 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