Skip to content

Commit

Permalink
Add missing properties on OrderUpdateRequest object
Browse files Browse the repository at this point in the history
  • Loading branch information
Viincenttt committed Mar 29, 2024
1 parent 465cab5 commit 3500f24
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Mollie.Api/Models/Order/Request/OrderUpdateRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ public class OrderUpdateRequest {
/// </summary>
public string OrderNumber { get; set; }

/// <summary>
/// The URL your customer will be redirected to after the payment process. Updating this field is only possible
/// when the payment is not yet finalized.
/// </summary>
public string RedirectUrl { get; set; }

/// <summary>
/// The URL your consumer will be redirected to when the consumer explicitly cancels the order. If this URL
/// is not provided, the consumer will be redirected to the redirectUrl instead — see above. Updating this
/// field is only possible when the payment is not yet finalized.
/// </summary>
public string CancelUrl { get; set; }

/// <summary>
/// Set the webhook URL, where we will send order status changes to. The webhookUrl must be reachable from
/// Mollie’s point of view, so you cannot use localhost. If you want to use webhook during development on
/// localhost, you should use a tool like ngrok to have the webhooks delivered to your local machine.
/// </summary>
public string WebhookUrl { get; set; }

/// <summary>
/// Oauth only - Optional
/// </summary>
Expand Down

0 comments on commit 3500f24

Please sign in to comment.