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.
 
 
 

91 lines
2.8 KiB

using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Common.Model.DynamicReceiverSetup
{
public class DynamicReceiver
{
public class DynamicReceiverRequest
{
[Required]
public string CountryId { get; set; }
[Required]
public string ServiceType { get; set; }
[JsonIgnore]
public string deviceType { get; set; }
}
public class DymanicField
{
public string Field { get; set; }
public string FieldRequired { get; set; }
public int MinLength { get; set; }
public int MaxLength { get; set; }
public string Keyboard { get; set; }
}
public class CountryList
{
public string countryCode { get; set; }
public string countryName { get; set; }
public string countryId { get; set; }
public List<ServiceTypeAvailable> servicetypeAvailable { get; set; }
}
public class ServiceTypeAvailable
{
public string id { get; set; }
public string text { get; set; }
public string description { get; set; }
public string[] currency { get; set; }
}
public class currency
{
public string text { get; set; }
}
public class DynamicStaticData
{
public List<TransferReason> TransferReasons { get; set; }
public List<Relation> Relations { get; set; }
public List<IdType> ReceiverIdType { get; set; }
public List<Provinces> Provinces { get; set; }
public List<DPayoutmode> PayoutMode { get; set; }
// public CountryServiceDetail CountryServiceDetail { get; set; }
public List<Banks> BankList { get; set; }
//public List<District> District { get; set; }
}
public class Provinces
{
public string id { get; set; }
public string text { get; set; }
public List<District> District { get; set; }
}
public class DPayoutmode
{
public string Id { get; set; }
public string Mode { get; set; }
public string ModeDescription { get; set; }
public string PayoutPartner { get; set; }
public List<string> PayCurrency { get; set; }
public string Bankrequired { get; set; }
public List<Banks> BankList { get; set; }
}
//public class proviences
//{
// public string Name { get; set; }
// public string Id { get; set; }
// public string IsProvienceReq { get; set; }
// public string Code { get; set; }
// public List<Province> Provinces { get; set; }
//}
}
}