Skip to content

Commit 669e718

Browse files
Fix default value (#458)
1 parent fc68368 commit 669e718

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CheckoutSdk/Payments/Hosted/HostedPaymentRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public class HostedPaymentRequest
2222
public string FailureUrl { get; set; }
2323

2424
public long? Amount { get; set; }
25-
26-
public PaymentType? PaymentType { get; set; }
25+
26+
public PaymentType PaymentType { get; set; } = PaymentType.Regular;
2727

2828
public string PaymentIp { get; set; }
2929

0 commit comments

Comments
 (0)