using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for BOGTVDetail
/// </summary>
public class BOGTVDetail
{
    // Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
    [Serializable]
	public class MerchantDetails
    {
        public int storeId { get; set; }
        public string storeName { get; set; }
        public string address { get; set; }
        public string state { get; set; }
        public string zone { get; set; }
        public int posid { get; set; }
        public string hardwareId { get; set; }
        public string acquirerId { get; set; }
        public string acquirer { get; set; }
        public string tid { get; set; }
        public string mid { get; set; }
        public string storeCity { get; set; }
        public string merchantPaymentModeId { get; set; }
        public string merchantName { get; set; }
        public string merchantCity { get; set; }
        public int merchantId { get; set; }
        public string email { get; set; }
        public string contactNumber { get; set; }
    }
[Serializable]
    public class PaymentDetails
    {
        public string customerPaymentModeId { get; set; }
        public string customerName { get; set; }
        public string cardIssuer { get; set; }
        public string cardType { get; set; }
        public string cardNetwork { get; set; }
        public string currency { get; set; }
        public string hostTransactionId { get; set; }
        public string paymode { get; set; }
        public string responsecodeDescription { get; set; }
        public double originalTxnAmount { get; set; }
        public double authorizedTransactionAmount { get; set; }
        public object hostCategory { get; set; }
        public string customerEmail { get; set; }
        public string customerMobile { get; set; }
        public string customerVpa { get; set; }
        public string payerName { get; set; }
        public string invoiceNumber { get; set; }
    }
[Serializable]
    public class GTVResponseCard
    {
        public string transactionId { get; set; }
        public int edcBatchId { get; set; }
        public int edcRoc { get; set; }
        public string transactionDate { get; set; }
        public string transactionType { get; set; }
        public double amount { get; set; }
        public double refundAmountAvailable { get; set; }
        public int batchNumber { get; set; }
        public string invoice { get; set; }
        public string status { get; set; }
        public string batchStatus { get; set; }
        public string transactionStatus { get; set; }
        public string rrn { get; set; }
        public string system { get; set; }
        public string subreportType { get; set; }
        public string reportType { get; set; }
        public string responsecodeDescription { get; set; }
        public string approvalCode { get; set; }
        public string mobileNumber { get; set; }
        public string hostTransactionId { get; set; }
        public bool isPosProdTxn { get; set; }
        public string transactionStatusCode { get; set; }
        public int plTerminalId { get; set; }
        public int cloudRefId { get; set; }
        public string originalTxnId { get; set; }
        public object paylaterTxnId { get; set; }
        public string billRefNumber { get; set; }
        public string responseMessage { get; set; }
        public MerchantDetails merchantDetails { get; set; }
        public PaymentDetails paymentDetails { get; set; }
        public string authCode { get; set; }
    }
[Serializable]
    public class FinalGTVDetails
    {
        public string transactionId { get; set; }
        
        public string transactionDate { get; set; }
        public string transactionType { get; set; }
        public double amount { get; set; }
        public double refundAmountAvailable { get; set; }
        public int batchNumber { get; set; }
        public string invoice { get; set; }
        public string status { get; set; }
        public string transactionStatus { get; set; }
        public string rrn { get; set; }
        public string system { get; set; }
        public string subreportType { get; set; }
        public string reportType { get; set; }
        public string mobileNumber { get; set; }
        public int plTerminalId { get; set; }
        public string billRefNumber { get; set; }
        public string responseMessage { get; set; }
        public PaymentDetails paymentDetails { get; set; }
        public string authCode { get; set; }

    }
}