Nitin Dhiman. Powered by Blogger.

part-3 AuthorizeNetRequest.cs

No comments
AuthorizeNet.cs
AuthorizeNetFields.cs
AuthorizeNetRequest.cs
AuthorizeNetResponse.cs






using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// 
/// Summary description for AuthorizeNetRequest
/// 


public class AuthorizeNetRequest
{
public AuthorizeNetRequest()
{
//
// TODO: Add constructor logic here
//
}

#region Private Member(s)
private string mstrLogin;
private double mdblAmount;
private string mstrTransactionKey;
private string mstrCardNumber;
private string mstrCcvNumber;
private string mstrCardExpirationDate;

private AuthorizeNet.TransactionType enmTransactionType;
private string mstrTransactionId;
#endregion

#region Public Propertie(s)
public string TransactionId
{
get { return mstrTransactionId; }
set { mstrTransactionId = value; }
}
public string CardNumber
{
get { return mstrCardNumber; }
set { mstrCardNumber = value; }
}

public string CcvNumber
{
get { return mstrCcvNumber; }
set { mstrCcvNumber = value; }
}
public double Amount
{
get { return mdblAmount; }
set { mdblAmount = value; }
}
public string Login
{
get { return mstrLogin; }
set { mstrLogin = value; }
}
public string CardExpirationDate
{
get { return mstrCardExpirationDate; }
set { mstrCardExpirationDate = value; }
}
public string TransactionKey
{
get { return mstrTransactionKey; }
set { mstrTransactionKey = value; }
}
public AuthorizeNet.TransactionType TransactionType
{
get { return enmTransactionType; }
set { enmTransactionType = value; }
}
#endregion
}

No comments :

Post a Comment