-
-
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.
Add support for new PaymentLink update and delete methods
- Loading branch information
1 parent
529e802
commit 9204e9a
Showing
5 changed files
with
120 additions
and
1 deletion.
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
16 changes: 16 additions & 0 deletions
16
src/Mollie.Api/Models/PaymentLink/Request/PaymentLinkUpdateRequest.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,16 @@ | ||
namespace Mollie.Api.Models.PaymentLink.Request; | ||
|
||
public record PaymentLinkUpdateRequest { | ||
/// <summary> | ||
/// A short description of the payment link. The description is visible in the Dashboard and will be shown on the | ||
/// customer's bank or card statement when possible. | ||
/// | ||
/// Updating the description does not affect any previously existing payments created for this payment link. | ||
/// </summary> | ||
public required string Description { get; init; } | ||
|
||
/// <summary> | ||
/// Whether the payment link is archived. Customers will not be able to complete payments on archived payment links. | ||
/// </summary> | ||
public required bool Archived { get; init; } | ||
} |
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