Result
public class Result
{
IsDone = result.IsDone;
Message = result.Message;
ErrorCode = result.ErrorCode;
Errors = result.Errors;
}
Pay
public class Result
{
IsDone = result.IsDone;
Message = result.Message;
ErrorCode = result.ErrorCode;
Errors = result.Errors;
}
CardInfo
public class CardInfo
{
public string CardOwner { get; set; }
public string CardNo { get; set; }
public string Month { get; set; }
public string Year { get; set; }
public string Cvv { get; set; }
}
CustomerInfo
public class CustomerInfo
{
public string Name { get; set; }
public string Email { get; set; }
public string Address { get; set; }
public string Phone { get; set; }
public string Description { get; set; }
}
Product
public class Product
{
public string Name { get; set; }
public int Count { get; set; }
public decimal UnitPrice { get; set; }
}
Payment
public class Payment
{
public string AccountOwner { get; set; }
public string IBAN { get; set; }
public string Description { get; set; }
public decimal Amount { get; set; }
public int SubMerchantId { get; set; }
public string ExtCustomerId { get; set; }
}
CardType
public class CardType
{
Tanimsiz = 0,
KrediKarti = 1,
DebitKart = 2,
Acquiring = 3,
Onyuklemeli = 4
}
CardSchema
public class CardSchema
{
Tanimsiz = 0,
Visa = 1,
MasterCard = 2,
Amex = 3,
DinersClub = 4,
Jcb = 5,
Troy = 6,
UnionPay = 7,
ProprietaryDomestic = 8
}
CardBrand
public class CardBrand
{
Tanimsiz = 0,
Advantage = 1,
Axess = 2,
BankkartCombo = 3,
Bonus = 4,
CardFinans = 5,
Maximum = 6,
MilesSmiles = 7,
Paraf = 8,
SaglamKart = 9,
World = 10,
Bank24 = 11,
Param = 12,
HasatKart = 13,
UretenKart = 14,
ShopFly = 15,
Wings = 16,
Neo = 17,
Tosla = 18
}
ProcessStatus
public enum ProcessStatus
{
Tanimsiz = 0,
Bekliyor = 1,
Dogrulandi = 2,
Basarili = 4,
Basarisiz = 5,
Iptal = 6,
IptalSurecinde = 7,
IadeSurecinde = 8,
ChargeBackSurecinde = 9,
Riskli = 10,
}