Skip to content

Commit

Permalink
Set PaymentLinkResponse.Amount property from required to optional nul…
Browse files Browse the repository at this point in the history
…lable, since it possible to create a PaymentLink without an amount
  • Loading branch information
Viincenttt committed Jul 22, 2024
1 parent 09a39e5 commit 0e71f7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public record PaymentLinkResponse
/// <summary>
/// The amount of the payment link, e.g. {"currency":"EUR", "value":"100.00"} for a €100.00 payment link.
/// </summary>
public required Amount Amount { get; set; }
public Amount? Amount { get; set; }

/// <summary>
/// Whether the payment link is archived. Customers will not be able to complete payments on archived payment links.
Expand Down

0 comments on commit 0e71f7f

Please sign in to comment.