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.
64 lines
1.9 KiB
64 lines
1.9 KiB
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Transfast.Model.TransactionInfo
|
|
{
|
|
public class TransactionInfoRequest
|
|
{
|
|
[Required]
|
|
public string PaymentModeId { get; set; }
|
|
|
|
[Required]
|
|
public string ReceiveCurrencyIsoCode { get; set; }
|
|
|
|
public string BankId { get; set; }
|
|
public string Account { get; set; }
|
|
|
|
private string _AccountTypeId;
|
|
|
|
public string AccountTypeId
|
|
{
|
|
get
|
|
{
|
|
if (!string.IsNullOrEmpty(_AccountTypeId) && !string.IsNullOrWhiteSpace(_AccountTypeId))
|
|
{
|
|
if (_AccountTypeId.ToLower().Equals("checking"))
|
|
{
|
|
return "C";
|
|
}
|
|
else
|
|
{
|
|
return "P";
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
set { _AccountTypeId = value; }
|
|
}
|
|
|
|
public string BankBranchId { get; set; }
|
|
public string PayingBranchId { get; set; }
|
|
public string PayerId { get; set; }
|
|
public string PurposeOfRemittanceId { get; set; }
|
|
|
|
[Required]
|
|
public string SourceCurrencyIsoCode { get; set; }
|
|
|
|
public decimal Rate { get; set; }
|
|
public decimal TotalSentAmount { get; set; }
|
|
public decimal SentAmount { get; set; }
|
|
public decimal ServiceFee { get; set; }
|
|
public decimal USDServiceFee { get; set; }
|
|
public decimal ReceiveAmount { get; set; }
|
|
public decimal CashAmount { get; set; }
|
|
public decimal Payout { get; set; }
|
|
|
|
[Required]
|
|
public string FormOfPaymentId { get; set; }
|
|
|
|
[Required]
|
|
public string ReferenceNumber { get; set; }
|
|
|
|
public int SourceOfFundsID { get; set; }
|
|
public string FeeProduct { get; set; }
|
|
}
|
|
}
|