1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 10:13:39 +00:00

make payment method type required

This commit is contained in:
Kyle Spearrin
2019-02-26 12:45:34 -05:00
parent 91bbc3e8f9
commit 506fe28ee7
9 changed files with 19 additions and 81 deletions

View File

@@ -5,7 +5,7 @@ namespace Bit.Core.Models.Api
{
public class PaymentRequestModel
{
// TODO: Required in future
[Required]
public PaymentMethodType? PaymentMethodType { get; set; }
[Required]
public string PaymentToken { get; set; }