public class PaymentInfoMembercard extends PaymentInfoMagcard
authorizedAmount, m_dNewTotal, m_dTip, m_dTotal, m_sAuthorization, m_sCardCircuit, m_sCardNumber, m_sExpirationDate, m_sHolderName, m_sMessage, m_sRawData, m_sTerminalId, m_sTicketNumber, m_sTimestamp, m_sTrack1, m_sTransactionID, m_transactionType
Constructor and Description |
---|
PaymentInfoMembercard(String sHolderName,
String sCardNumber,
String sExpirationDate,
String sTransactionID,
double dTotal) |
Modifier and Type | Method and Description |
---|---|
PaymentInfo |
clonePayment() |
String |
getCardNumber()
Return the card number
|
String |
getClosingBalance()
Get the closing balance.
|
String |
getCredit() |
double |
getDiscount() |
String |
getJsonString() |
String |
getMemberDiscount()
Returns a string with the name of the modifier applied for this payment.
|
String |
getName() |
String |
getOpeningBalance()
Get the opening balance.
|
int |
getReturnCode() |
boolean |
isEnquiryOK()
Indicates if the enquiry has been successfully completed.
|
boolean |
isTopupOK()
Indicates if the topup operation was successful.
|
void |
setCardNumber(String oCardNumber)
Set the member card number e.g. as returned by the gateway.
|
void |
setClosingBalance(String m_ClosingBalance)
Set the closing balance as returned by the gateway.
|
void |
setCredit(String credit) |
void |
setDiscount(double discount) |
void |
setJsonString(String m_jsonString) |
void |
setMemberDiscount(String m_memberDiscount)
Set the string for the membercard discount.
|
void |
setOpeningBalance(String m_openingBalance)
Set the opening balance as returned by the gateway.
|
void |
setReturnCode(int code) |
getAuthorization, getAuthorizedAmount, getCardCircuit, getExpirationDate, getHolderName, getMessage, getNewTotal, getRawData, getTerminalId, getTicketNumber, getTimestamp, getTip, getTotal, getTrack1, getTrack1Unframed, getTransactionID, getTransactionType, getZipCode, hasAuthorization, isPartialAuth, paymentError, printAuthorization, printCardNumber, printCreditBarcode, printExpirationDate, printHolderName, printTransactionID, setAuthorization, setAuthorizedAmount, setCardCircuit, setExpirationDate, setHolderName, setMessage, setNewTotal, setPartialAuth, setRawData, setTerminalId, setTicketNumber, setTimestamp, setTip, setTotal, setTransactionID, setTransactionType, setZipCode
printsTotal, printTotal
public PaymentInfo clonePayment()
clonePayment
in class PaymentInfoMagcard
public String getMemberDiscount()
public void setMemberDiscount(String m_memberDiscount)
m_memberDiscount
- public boolean isTopupOK()
public void setCardNumber(String oCardNumber)
setCardNumber
in class PaymentInfoMagcard
oCardNumber
- public String getClosingBalance()
public void setClosingBalance(String m_ClosingBalance)
m_ClosingBalance
- public String getOpeningBalance()
public void setOpeningBalance(String m_openingBalance)
m_openingBalance
- public boolean isEnquiryOK()
public String getCardNumber()
PaymentInfoMagcard
getCardNumber
in class PaymentInfoMagcard
public String getName()
getName
in class PaymentInfoMagcard
public String getJsonString()
public void setJsonString(String m_jsonString)
public void setReturnCode(int code)
public int getReturnCode()
public void setDiscount(double discount)
public double getDiscount()
public String getCredit()
public void setCredit(String credit)
Copyright © 2021. All rights reserved.