yavsc/Yavsc/ViewModels/Manage/DoDirectCreditViewModel.cs

35 lines
1.3 KiB
C#
Raw Normal View History

2017-05-05 23:37:07 +02:00
using System.ComponentModel.DataAnnotations;
2017-02-17 16:47:08 +01:00
namespace Yavsc.ViewModels.Manage
{
public class DoDirectCreditViewModel {
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string PaymentType  { get; set;}
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string PayerName  { get; set;}
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string FirstName  { get; set;}
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string LastName  { get; set;}
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string CreditCardNumber  { get; set;}
public string CreditCardType  { get; set;}
public string Cvv2Number  { get; set;}
public string CardExpiryDate  { get; set;}
public string IpnNotificationUrl { get; set; }
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string Street1 { get; set; }
public string Street2 { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Country { get; set; }
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string PostalCode { get; set; }
public string Phone { get; set; }
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string CurrencyCode { get; set; }
2017-05-05 23:37:07 +02:00
[Required]
2017-02-17 16:47:08 +01:00
public string Amount { get; set; }
}
2017-05-05 23:37:07 +02:00
}