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.

24 lines
562 B

  1. using System.ComponentModel.DataAnnotations;
  2. namespace GMENepal.Model
  3. {
  4. public class GMEBankRequest : GMECommonRequest
  5. {
  6. private string _PaymentMethod;
  7. [Required]
  8. public string PaymentMethod
  9. {
  10. get
  11. {
  12. if (_PaymentMethod.ToLower().Equals("cash payment"))
  13. {
  14. return "C";
  15. }
  16. return "B";
  17. }
  18. set { _PaymentMethod = value; }
  19. }
  20. public string ReceivingCountry { get; set; }
  21. }
  22. }