-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the Sepa direct debit response class
- Loading branch information
1 parent
dbbd9be
commit 15ef081
Showing
5 changed files
with
74 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
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ public enum PaymentStatus { | |
PaidOut, | ||
Refunded, | ||
Expired, | ||
Failed | ||
Failed, | ||
Charged_Back | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
Mollie.Api/Models/Payment/Response/Specific/SepaDirectDebitResponse.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,68 @@ | ||
namespace Mollie.Api.Models.Payment.Response.Specific { | ||
public class SepaDirectDebitResponse : PaymentResponse { | ||
public SepaDirectDebitResponseDetails Details { get; set; } | ||
} | ||
|
||
public class SepaDirectDebitResponseDetails { | ||
/// <summary> | ||
/// Transfer reference used by Mollie to identify this payment. | ||
/// </summary> | ||
public string TransferReference { get; set; } | ||
|
||
/// <summary> | ||
/// The creditor identifier indicates who is authorized to execute the payment. In this case, it is a reference to Mollie. | ||
/// </summary> | ||
public string CreditorIdentifier { get; set; } | ||
|
||
/// <summary> | ||
/// Optional – The consumer's name. | ||
/// </summary> | ||
public string ConsumerName { get; set; } | ||
|
||
/// <summary> | ||
/// Optional – The consumer's IBAN. | ||
/// </summary> | ||
public string ConsumerAccount { get; set; } | ||
|
||
/// <summary> | ||
/// Optional – The consumer's bank's BIC. | ||
/// </summary> | ||
public string ConsumerBic { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has been verified – Date the payment has been signed by the consumer, in ISO 8601 format. | ||
/// </summary> | ||
public string SignatureDate { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has failed – The official reason why this payment has failed. A detailed description of each reason is available on the website of | ||
/// the European Payments Council. | ||
/// </summary> | ||
public string BankReasonCode { get; set; } | ||
|
||
/// <summary> | ||
/// Only available if the payment has failed – A textual desciption of the failure reason. | ||
/// </summary> | ||
public string BankReason { get; set; } | ||
|
||
/// <summary> | ||
/// Only available for batch transactions – The original end-to-end identifier that you've specified in your batch. | ||
/// </summary> | ||
public string EndToEndIdentifier { get; set; } | ||
|
||
/// <summary> | ||
/// Only available for batch transactions – The original mandate reference that you've specified in your batch. | ||
/// </summary> | ||
public string MandateReference { get; set; } | ||
|
||
/// <summary> | ||
/// Only available for batch transactions – The original batch reference that you've specified in your batch. | ||
/// </summary> | ||
public string BatchReference { get; set; } | ||
|
||
/// <summary> | ||
/// Only available for batch transactions – The original file reference that you've specified in your batch. | ||
/// </summary> | ||
public string FileReference { 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
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