-
-
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.
Browse files
Browse the repository at this point in the history
* #396: Fix issue where ApplicationFee was set on the OrderRequest instead of the OrderPaymentParameters
- Loading branch information
1 parent
a7f0ea3
commit cdbe820
Showing
14 changed files
with
83 additions
and
36 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
2 changes: 1 addition & 1 deletion
2
src/Mollie.Api/Models/Order/Request/PaymentSpecificParameters/ApplePaySpecificParameters.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
2 changes: 1 addition & 1 deletion
2
src/Mollie.Api/Models/Order/Request/PaymentSpecificParameters/BillieSpecificParameters.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
2 changes: 1 addition & 1 deletion
2
...Mollie.Api/Models/Order/Request/PaymentSpecificParameters/CreditCardSpecificParameters.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
2 changes: 1 addition & 1 deletion
2
src/Mollie.Api/Models/Order/Request/PaymentSpecificParameters/GiftcardSpecificParameters.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
2 changes: 1 addition & 1 deletion
2
src/Mollie.Api/Models/Order/Request/PaymentSpecificParameters/IDealSpecificParameters.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
2 changes: 1 addition & 1 deletion
2
src/Mollie.Api/Models/Order/Request/PaymentSpecificParameters/KbcSpecificParameters.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
4 changes: 2 additions & 2 deletions
4
src/Mollie.Api/Models/Order/Request/PaymentSpecificParameters/KlarnaSpecificParameters.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,5 +1,5 @@ | ||
namespace Mollie.Api.Models.Order.Request.PaymentSpecificParameters { | ||
public record KlarnaSpecificParameters<T> : PaymentSpecificParameters where T : class { | ||
public record KlarnaSpecificParameters<T> : OrderPaymentParameters where T : class { | ||
public T? ExtraMerchantData { get; set; } | ||
} | ||
} | ||
} |
7 changes: 6 additions & 1 deletion
7
...icParameters/PaymentSpecificParameters.cs → ...cificParameters/OrderPaymentParameters.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,10 +1,15 @@ | ||
namespace Mollie.Api.Models.Order.Request.PaymentSpecificParameters { | ||
public record PaymentSpecificParameters { | ||
public record OrderPaymentParameters { | ||
public string? CustomerId { get; set; } | ||
/// <summary> | ||
/// See the Mollie.Api.Models.Payment.SequenceType class for a full list of known values. | ||
/// </summary> | ||
public string? SequenceType { get; set; } | ||
public string? WebhookUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Adding an application fee allows you to charge the merchant for the payment and transfer this to your own account. | ||
/// </summary> | ||
public ApplicationFee? ApplicationFee { get; set; } | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...ollie.Api/Models/Order/Request/PaymentSpecificParameters/PaySafeCardSpecificParameters.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
2 changes: 1 addition & 1 deletion
2
...e.Api/Models/Order/Request/PaymentSpecificParameters/SepaDirectDebitSpecificParameters.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
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
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