yavsc/Yavsc.Server/ViewModels/Manage/DoDirectCreditViewModel.cs

36 lines
1.3 KiB
C#

using System.ComponentModel.DataAnnotations;
8 years ago
namespace Yavsc.ViewModels.Manage
{
public class DoDirectCreditViewModel {
[Required]
8 years ago
public string PaymentType  { get; set;}
[Required]
8 years ago
public string PayerName  { get; set;}
[Required]
8 years ago
public string FirstName  { get; set;}
[Required]
8 years ago
public string LastName  { get; set;}
[Required]
8 years ago
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; }
[Required]
8 years ago
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; }
[Required]
8 years ago
public string PostalCode { get; set; }
public string Phone { get; set; }
[Required]
8 years ago
public string CurrencyCode { get; set; }
[Required]
8 years ago
public string Amount { get; set; }
}
}