2017-04-08 16:41:40 -04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2021-12-14 15:05:07 +00:00
|
|
|
|
using Bit.Api.Models.Request.Organizations;
|
2019-02-19 17:13:21 -05:00
|
|
|
|
using Bit.Core.Enums;
|
2017-04-08 16:41:40 -04:00
|
|
|
|
|
2021-12-14 15:05:07 +00:00
|
|
|
|
namespace Bit.Api.Models.Request
|
2017-04-08 16:41:40 -04:00
|
|
|
|
{
|
2020-06-17 19:49:27 -04:00
|
|
|
|
public class PaymentRequestModel : OrganizationTaxInfoUpdateRequestModel
|
2017-04-08 16:41:40 -04:00
|
|
|
|
{
|
2019-02-26 12:45:34 -05:00
|
|
|
|
[Required]
|
2019-02-19 17:13:21 -05:00
|
|
|
|
public PaymentMethodType? PaymentMethodType { get; set; }
|
2017-04-08 16:41:40 -04:00
|
|
|
|
[Required]
|
|
|
|
|
|
public string PaymentToken { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|