All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smarttransaction.model.SmartTransactionGenericRequest Maven / Gradle / Ivy

package com.smarttransaction.model;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * user : Omm
 * date : 8/29/2016
 * description : this class used for GenericRequest to Server.
 */

@Root(name = "Request")
public class SmartTransactionGenericRequest {
    @Element(name = "Merchant_Number")
    private  String merchantNumber;

    @Element(name = "Terminal_ID")
    private String terminalID;

    @Element(name = "Business_Type")
    private String businessType;

    @Element(name = "Action_Code")
    private String actionCode;

    @Element(name = "Trans_Type")
    private String transType;

    @Element(name = "Totals_Date")
    private String totalDate;

    @Element(name = "POS_Entry_Mode")
    private String posEntryMode;

    @Element(name = "Track_Data1")
    private String trackData1;

    @Element(name = "Track_Data2")
    private String trackData2;

    @Element(name = "Card_Number")
    private String cardNumber;

    @Element(name = "Transaction_Amount")
    private String transactionAmount;

    @Element(name = "Expiration_Date")
    private String expirationDate;

    @Element(name = "Old_Card_Number")
    private String oldCardNumber;

    /*@Element(name = "Points_Amount")
    private String pointsAmount;*/

    @Element(name = "Tip_Amount")
    private String tipAmount;

    @Element(name = "Clerk_ID")
    private String clerkID;

    @Element(name = "Server_ID")
    private String serverID;

    @Element(name = "Ticket")
    private String ticket;

    @Element(name = "Table_Number")
    private String tableNumber;

    @Element(name = "PIN")
    private String pin;

    @Element(name = "Auth_Reference")
    private String authReference;

    @Element(name = "Transaction_ID")
    private String transactionID;

    @Element(name = "First_Name")
    private String firstName;

    @Element(name = "Middle_Name")
    private String middleName;

    @Element(name = "Last_Name")
    private String lastName;

    @Element(name = "Addr_1")
    private String addr1;

    @Element(name = "Addr_2")
    private String addr2;

    @Element(name = "Addr_3")
    private String addr3;

    @Element(name = "City")
    private String city;

    @Element(name = "State")
    private String state;

    @Element(name = "Zip")
    private String zip;

    @Element(name = "Phone_1")
    private String phone1;

    @Element(name = "Phone_2")
    private String phone2;

    @Element(name = "Email_Addr")
    private  String emailAddr;

    @Element(name = "B_Day")
    private String birthDay;

    @Element(name = "Comments")
    private String comments;

    @Element(name = "api_key")
    private String password;

    @Element(name = "Send_To")
    private String sendTo;

    @Element(name = "Sender_Name")
    private String senderName;

    @Element(name = "Recipient_Name")
    private String recipientName;

    @Element(name = "Sender_Msg")
    private String senderMsg;

    @Element(name = "Send_On")
    private String sendOn;


    public String getSendTo() {
        return sendTo;
    }

    public void setSendTo(String sendTo) {
        this.sendTo = sendTo;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getRecipientName() {
        return recipientName;
    }

    public void setRecipientName(String recipientName) {
        this.recipientName = recipientName;
    }

    public String getSenderMsg() {
        return senderMsg;
    }

    public void setSenderMsg(String senderMsg) {
        this.senderMsg = senderMsg;
    }

    public String getSendOn() {
        return sendOn;
    }

    public void setSendOn(String sendOn) {
        this.sendOn = sendOn;
    }






    public SmartTransactionGenericRequest(){}

    public SmartTransactionGenericRequest(String merchantNumber, String terminalID, String businessType, String actionCode,
                                          String transType, String totalDate, String posEntryMode, String trackData1,
                                          String trackData2, String cardNumber, String transactionAmount, String expirationDate,
                                          String oldCardNumber, String pointsAmount, String tipAmount, String clerkID,
                                          String serverID, String ticket, String tableNumber, String pin, String authReference,
                                          String transactionID, String firstName, String middleName, String lastName,
                                          String addr1, String addr2, String addr3, String city, String state,
                                          String zip, String phone1, String phone2, String emailAddr, String birthDay,
                                          String comments) {
        this.merchantNumber = merchantNumber;
        this.terminalID = terminalID;
        this.businessType = businessType;
        this.actionCode = actionCode;
        this.transType = transType;
        this.totalDate = totalDate;
        this.posEntryMode = posEntryMode;
        this.trackData1 = trackData1;
        this.trackData2 = trackData2;
        this.cardNumber = cardNumber;
        this.transactionAmount = transactionAmount;
        this.expirationDate = expirationDate;
        this.oldCardNumber = oldCardNumber;
       // this.pointsAmount = pointsAmount;
        this.tipAmount = tipAmount;
        this.clerkID = clerkID;
        this.serverID = serverID;
        this.ticket = ticket;
        this.tableNumber = tableNumber;
        this.pin = pin;
        this.authReference = authReference;
        this.transactionID = transactionID;
        this.firstName = firstName;
        this.middleName = middleName;
        this.lastName = lastName;
        this.addr1 = addr1;
        this.addr2 = addr2;
        this.addr3 = addr3;
        this.city = city;
        this.state = state;
        this.zip = zip;
        this.phone1 = phone1;
        this.phone2 = phone2;
        this.emailAddr = emailAddr;
        this.birthDay = birthDay;
        this.comments = comments;

    }


    public String getMerchantNumber() {
        return merchantNumber;
    }

    public void setMerchantNumber(String merchantNumber) {
        this.merchantNumber = merchantNumber;
    }

    public String getTerminalID() {
        return terminalID;
    }

    public void setTerminalID(String terminalID) {
        this.terminalID = terminalID;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getActionCode() {
        return actionCode;
    }

    public void setActionCode(String actionCode) {
        this.actionCode = actionCode;
    }

    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public String getTotalDate() {
        return totalDate;
    }

    public void setTotalDate(String totalDate) {
        this.totalDate = totalDate;
    }

    public String getPosEntryMode() {
        return posEntryMode;
    }

    public void setPosEntryMode(String posEntryMode) {
        this.posEntryMode = posEntryMode;
    }

    public String getTrackData1() {
        return trackData1;
    }

    public void setTrackData1(String trackData1) {
        this.trackData1 = trackData1;
    }

    public String getTrackData2() {
        return trackData2;
    }

    public void setTrackData2(String trackData2) {
        this.trackData2 = trackData2;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(String transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public String getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(String expirationDate) {
        this.expirationDate = expirationDate;
    }

    public String getOldCardNumber() {
        return oldCardNumber;
    }

    public void setOldCardNumber(String oldCardNumber) {
        this.oldCardNumber = oldCardNumber;
    }

    /*public String getPointsAmount() {
        return pointsAmount;
    }

    public void setPointsAmount(String pointsAmount) {
        this.pointsAmount = pointsAmount;
    }*/

    public String getTipAmount() {
        return tipAmount;
    }

    public void setTipAmount(String tipAmount) {
        this.tipAmount = tipAmount;
    }

    public String getClerkID() {
        return clerkID;
    }

    public void setClerkID(String clerkID) {
        this.clerkID = clerkID;
    }

    public String getServerID() {
        return serverID;
    }

    public void setServerID(String serverID) {
        this.serverID = serverID;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getTableNumber() {
        return tableNumber;
    }

    public void setTableNumber(String tableNumber) {
        this.tableNumber = tableNumber;
    }

    public String getPin() {
        return pin;
    }

    public void setPin(String pin) {
        this.pin = pin;
    }

    public String getAuthReference() {
        return authReference;
    }

    public void setAuthReference(String authReference) {
        this.authReference = authReference;
    }

    public String getTransactionID() {
        return transactionID;
    }

    public void setTransactionID(String transactionID) {
        this.transactionID = transactionID;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getMiddleName() {
        return middleName;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getAddr1() {
        return addr1;
    }

    public void setAddr1(String addr1) {
        this.addr1 = addr1;
    }

    public String getAddr2() {
        return addr2;
    }

    public void setAddr2(String addr2) {
        this.addr2 = addr2;
    }

    public String getAddr3() {
        return addr3;
    }

    public void setAddr3(String addr3) {
        this.addr3 = addr3;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getPhone1() {
        return phone1;
    }

    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public String getEmailAddr() {
        return emailAddr;
    }

    public void setEmailAddr(String emailAddr) {
        this.emailAddr = emailAddr;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy