You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System.ComponentModel.DataAnnotations;
namespace GMENepal.Model { public class GMEGetCalculationRequest : GMECommonRequest { [MaxLength(50)] public string ReceivingAgentId { get; set; }
[MaxLength(50)] [Required] public string RemitAmount { get; set; }
private string _PaymentMethod;
[Required] public string PaymentMethod { get { if (_PaymentMethod.ToLower().Equals("cash payment")) { return "C"; } return "B"; } set { _PaymentMethod = value; } }
[MaxLength(50)] [Required] public string ReceivingCountry { get; set; }
[MaxLength(1)] [Required] public string CalculateBy { get; set; } } }
|