public class OceanGatewayInfo extends GenericParcelable implements Validator, JSONifiable
tranSource
tranChannel
tranType
merchantId
terminalId
tenderType
entryMethod
transactionAmount
transactionCurrency
fpTransactionId
mrn
refundTxnId
transactionStatus
transactionStatusDescription
rrn
batchNo
invoiceNo
cardScheme
qrType
transactionDateTime
authCode
pan
customerMobile
customerName
customerRemarks
emiDetails
Modifier and Type | Class and Description |
---|---|
static interface |
OceanGatewayInfo.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<OceanGatewayInfo> |
CREATOR |
static JSONifiable.Creator<OceanGatewayInfo> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
OceanGatewayInfo()
Constructs a new empty instance.
|
protected |
OceanGatewayInfo(boolean noInit)
Constructs a new empty instance.
|
|
OceanGatewayInfo(JSONObject jsonObject)
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be
reflected in this instance and vice-versa.
|
|
OceanGatewayInfo(OceanGatewayInfo src)
Constructs a new instance that is a deep copy of the source instance.
|
|
OceanGatewayInfo(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAuthCode()
Clears the 'authCode' field, the 'has' method for this field will now return false
|
void |
clearBatchNo()
Clears the 'batchNo' field, the 'has' method for this field will now return false
|
void |
clearCardScheme()
Clears the 'cardScheme' field, the 'has' method for this field will now return false
|
void |
clearCustomerMobile()
Clears the 'customerMobile' field, the 'has' method for this field will now return false
|
void |
clearCustomerName()
Clears the 'customerName' field, the 'has' method for this field will now return false
|
void |
clearCustomerRemarks()
Clears the 'customerRemarks' field, the 'has' method for this field will now return false
|
void |
clearEmiDetails()
Clears the 'emiDetails' field, the 'has' method for this field will now return false
|
void |
clearEntryMethod()
Clears the 'entryMethod' field, the 'has' method for this field will now return false
|
void |
clearFpTransactionId()
Clears the 'fpTransactionId' field, the 'has' method for this field will now return false
|
void |
clearInvoiceNo()
Clears the 'invoiceNo' field, the 'has' method for this field will now return false
|
void |
clearMerchantId()
Clears the 'merchantId' field, the 'has' method for this field will now return false
|
void |
clearMrn()
Clears the 'mrn' field, the 'has' method for this field will now return false
|
void |
clearPan()
Clears the 'pan' field, the 'has' method for this field will now return false
|
void |
clearQrType()
Clears the 'qrType' field, the 'has' method for this field will now return false
|
void |
clearRefundTxnId()
Clears the 'refundTxnId' field, the 'has' method for this field will now return false
|
void |
clearRrn()
Clears the 'rrn' field, the 'has' method for this field will now return false
|
void |
clearTenderType()
Clears the 'tenderType' field, the 'has' method for this field will now return false
|
void |
clearTerminalId()
Clears the 'terminalId' field, the 'has' method for this field will now return false
|
void |
clearTranChannel()
Clears the 'tranChannel' field, the 'has' method for this field will now return false
|
void |
clearTransactionAmount()
Clears the 'transactionAmount' field, the 'has' method for this field will now return false
|
void |
clearTransactionCurrency()
Clears the 'transactionCurrency' field, the 'has' method for this field will now return false
|
void |
clearTransactionDateTime()
Clears the 'transactionDateTime' field, the 'has' method for this field will now return false
|
void |
clearTransactionStatus()
Clears the 'transactionStatus' field, the 'has' method for this field will now return false
|
void |
clearTransactionStatusDescription()
Clears the 'transactionStatusDescription' field, the 'has' method for this field will now return false
|
void |
clearTranSource()
Clears the 'tranSource' field, the 'has' method for this field will now return false
|
void |
clearTranType()
Clears the 'tranType' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
OceanGatewayInfo |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
String |
getAuthCode()
This field contains Authorization Code returned from Ocean as part of Notification for a transaction
|
String |
getBatchNo()
This field contains batch number returned from Ocean as part of Notification for a transaction
|
String |
getCardScheme()
This field contains Customer LPM information returned from Ocean as part of Notification for a transaction
|
String |
getCustomerMobile()
This field contains customer mobile info returned from Ocean as part of Notification for a transaction
|
String |
getCustomerName()
This field contains customer name returned from Ocean as part of Notification for a transaction
|
String |
getCustomerRemarks()
This field contains customer remarks returned from Ocean as part of Notification for a transaction
|
EMIDetails |
getEmiDetails()
This field indicates the EMI details of a customer returned from Ocean as part of Notification for a transaction
|
String |
getEntryMethod()
This field contains the entry method returned from Ocean as part of Notification for a transaction
|
String |
getFpTransactionId()
This field contains the ocean generated transaction Id for a transaction
|
protected GenericClient |
getGenericClient() |
String |
getInvoiceNo()
This field contains invoice number returned from Ocean as part of Notification for a transaction
|
JSONObject |
getJSONObject()
Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be
reflected in this instance and vice-versa.
|
String |
getMerchantId()
This field contains MerchantId returned from Ocean as part of Notification for a transaction
|
String |
getMrn()
This field contains the reference id provided by clover for a transaction
|
String |
getPan()
This field contains pan information like masked virtual payment address,vehicle info,userId returned from Ocean as part of Notification for a transaction
|
String |
getQrType()
This field contains qr tpe either static or dynamic information returned from Ocean as part of Notification for a transaction
|
String |
getRefundTxnId()
This field contains the refund transaction id returned from Ocean for a transaction
|
String |
getRrn()
This field contains rrn number (reference provided by bank) returned from Ocean as part of Notification for a transaction
|
String |
getTenderType()
This field contains tender type info returned from Ocean as part of Notification for a transaction
|
String |
getTerminalId()
This field contains TerminalId returned from Ocean as part of Notification for a transaction
|
String |
getTranChannel()
This field contains LPM type info returned from Ocean as part of Notification for a transaction
|
String |
getTransactionAmount()
This field contains the transaction amount returned from Ocean as part of Notification for a transaction
|
String |
getTransactionCurrency()
This field contains the transaction currency returned from Ocean as part of Notification for a transaction
|
String |
getTransactionDateTime()
This field contains transaction completion date info returned from Ocean as part of Notification for a transaction
|
String |
getTransactionStatus()
This field contains the transaction status returned from Ocean as part of Notification for a transaction
|
String |
getTransactionStatusDescription()
This field contains the transaction status description returned from Ocean as part of Notification for a transaction
|
String |
getTranSource()
This field contains transaction source returned from Ocean as part of Notification for a transaction
|
String |
getTranType()
This field contains transaction type info returned from Ocean as part of Notification for a transaction
|
boolean |
hasAuthCode()
Checks whether the 'authCode' field has been set, however the value could be null
|
boolean |
hasBatchNo()
Checks whether the 'batchNo' field has been set, however the value could be null
|
boolean |
hasCardScheme()
Checks whether the 'cardScheme' field has been set, however the value could be null
|
boolean |
hasCustomerMobile()
Checks whether the 'customerMobile' field has been set, however the value could be null
|
boolean |
hasCustomerName()
Checks whether the 'customerName' field has been set, however the value could be null
|
boolean |
hasCustomerRemarks()
Checks whether the 'customerRemarks' field has been set, however the value could be null
|
boolean |
hasEmiDetails()
Checks whether the 'emiDetails' field has been set, however the value could be null
|
boolean |
hasEntryMethod()
Checks whether the 'entryMethod' field has been set, however the value could be null
|
boolean |
hasFpTransactionId()
Checks whether the 'fpTransactionId' field has been set, however the value could be null
|
boolean |
hasInvoiceNo()
Checks whether the 'invoiceNo' field has been set, however the value could be null
|
boolean |
hasMerchantId()
Checks whether the 'merchantId' field has been set, however the value could be null
|
boolean |
hasMrn()
Checks whether the 'mrn' field has been set, however the value could be null
|
boolean |
hasPan()
Checks whether the 'pan' field has been set, however the value could be null
|
boolean |
hasQrType()
Checks whether the 'qrType' field has been set, however the value could be null
|
boolean |
hasRefundTxnId()
Checks whether the 'refundTxnId' field has been set, however the value could be null
|
boolean |
hasRrn()
Checks whether the 'rrn' field has been set, however the value could be null
|
boolean |
hasTenderType()
Checks whether the 'tenderType' field has been set, however the value could be null
|
boolean |
hasTerminalId()
Checks whether the 'terminalId' field has been set, however the value could be null
|
boolean |
hasTranChannel()
Checks whether the 'tranChannel' field has been set, however the value could be null
|
boolean |
hasTransactionAmount()
Checks whether the 'transactionAmount' field has been set, however the value could be null
|
boolean |
hasTransactionCurrency()
Checks whether the 'transactionCurrency' field has been set, however the value could be null
|
boolean |
hasTransactionDateTime()
Checks whether the 'transactionDateTime' field has been set, however the value could be null
|
boolean |
hasTransactionStatus()
Checks whether the 'transactionStatus' field has been set, however the value could be null
|
boolean |
hasTransactionStatusDescription()
Checks whether the 'transactionStatusDescription' field has been set, however the value could be null
|
boolean |
hasTranSource()
Checks whether the 'tranSource' field has been set, however the value could be null
|
boolean |
hasTranType()
Checks whether the 'tranType' field has been set, however the value could be null
|
boolean |
isNotNullAuthCode()
Checks whether the 'authCode' field is set and is not null
|
boolean |
isNotNullBatchNo()
Checks whether the 'batchNo' field is set and is not null
|
boolean |
isNotNullCardScheme()
Checks whether the 'cardScheme' field is set and is not null
|
boolean |
isNotNullCustomerMobile()
Checks whether the 'customerMobile' field is set and is not null
|
boolean |
isNotNullCustomerName()
Checks whether the 'customerName' field is set and is not null
|
boolean |
isNotNullCustomerRemarks()
Checks whether the 'customerRemarks' field is set and is not null
|
boolean |
isNotNullEmiDetails()
Checks whether the 'emiDetails' field is set and is not null
|
boolean |
isNotNullEntryMethod()
Checks whether the 'entryMethod' field is set and is not null
|
boolean |
isNotNullFpTransactionId()
Checks whether the 'fpTransactionId' field is set and is not null
|
boolean |
isNotNullInvoiceNo()
Checks whether the 'invoiceNo' field is set and is not null
|
boolean |
isNotNullMerchantId()
Checks whether the 'merchantId' field is set and is not null
|
boolean |
isNotNullMrn()
Checks whether the 'mrn' field is set and is not null
|
boolean |
isNotNullPan()
Checks whether the 'pan' field is set and is not null
|
boolean |
isNotNullQrType()
Checks whether the 'qrType' field is set and is not null
|
boolean |
isNotNullRefundTxnId()
Checks whether the 'refundTxnId' field is set and is not null
|
boolean |
isNotNullRrn()
Checks whether the 'rrn' field is set and is not null
|
boolean |
isNotNullTenderType()
Checks whether the 'tenderType' field is set and is not null
|
boolean |
isNotNullTerminalId()
Checks whether the 'terminalId' field is set and is not null
|
boolean |
isNotNullTranChannel()
Checks whether the 'tranChannel' field is set and is not null
|
boolean |
isNotNullTransactionAmount()
Checks whether the 'transactionAmount' field is set and is not null
|
boolean |
isNotNullTransactionCurrency()
Checks whether the 'transactionCurrency' field is set and is not null
|
boolean |
isNotNullTransactionDateTime()
Checks whether the 'transactionDateTime' field is set and is not null
|
boolean |
isNotNullTransactionStatus()
Checks whether the 'transactionStatus' field is set and is not null
|
boolean |
isNotNullTransactionStatusDescription()
Checks whether the 'transactionStatusDescription' field is set and is not null
|
boolean |
isNotNullTranSource()
Checks whether the 'tranSource' field is set and is not null
|
boolean |
isNotNullTranType()
Checks whether the 'tranType' field is set and is not null
|
void |
mergeChanges(OceanGatewayInfo src)
Copy all the changed fields from the given source to this instance.
|
void |
resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
|
OceanGatewayInfo |
setAuthCode(String authCode)
Sets the field 'authCode'.
|
OceanGatewayInfo |
setBatchNo(String batchNo)
Sets the field 'batchNo'.
|
OceanGatewayInfo |
setCardScheme(String cardScheme)
Sets the field 'cardScheme'.
|
OceanGatewayInfo |
setCustomerMobile(String customerMobile)
Sets the field 'customerMobile'.
|
OceanGatewayInfo |
setCustomerName(String customerName)
Sets the field 'customerName'.
|
OceanGatewayInfo |
setCustomerRemarks(String customerRemarks)
Sets the field 'customerRemarks'.
|
OceanGatewayInfo |
setEmiDetails(EMIDetails emiDetails)
Sets the field 'emiDetails'.
|
OceanGatewayInfo |
setEntryMethod(String entryMethod)
Sets the field 'entryMethod'.
|
OceanGatewayInfo |
setFpTransactionId(String fpTransactionId)
Sets the field 'fpTransactionId'.
|
OceanGatewayInfo |
setInvoiceNo(String invoiceNo)
Sets the field 'invoiceNo'.
|
OceanGatewayInfo |
setMerchantId(String merchantId)
Sets the field 'merchantId'.
|
OceanGatewayInfo |
setMrn(String mrn)
Sets the field 'mrn'.
|
OceanGatewayInfo |
setPan(String pan)
Sets the field 'pan'.
|
OceanGatewayInfo |
setQrType(String qrType)
Sets the field 'qrType'.
|
OceanGatewayInfo |
setRefundTxnId(String refundTxnId)
Sets the field 'refundTxnId'.
|
OceanGatewayInfo |
setRrn(String rrn)
Sets the field 'rrn'.
|
OceanGatewayInfo |
setTenderType(String tenderType)
Sets the field 'tenderType'.
|
OceanGatewayInfo |
setTerminalId(String terminalId)
Sets the field 'terminalId'.
|
OceanGatewayInfo |
setTranChannel(String tranChannel)
Sets the field 'tranChannel'.
|
OceanGatewayInfo |
setTransactionAmount(String transactionAmount)
Sets the field 'transactionAmount'.
|
OceanGatewayInfo |
setTransactionCurrency(String transactionCurrency)
Sets the field 'transactionCurrency'.
|
OceanGatewayInfo |
setTransactionDateTime(String transactionDateTime)
Sets the field 'transactionDateTime'.
|
OceanGatewayInfo |
setTransactionStatus(String transactionStatus)
Sets the field 'transactionStatus'.
|
OceanGatewayInfo |
setTransactionStatusDescription(String transactionStatusDescription)
Sets the field 'transactionStatusDescription'.
|
OceanGatewayInfo |
setTranSource(String tranSource)
Sets the field 'tranSource'.
|
OceanGatewayInfo |
setTranType(String tranType)
Sets the field 'tranType'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<OceanGatewayInfo> CREATOR
public static final JSONifiable.Creator<OceanGatewayInfo> JSON_CREATOR
public OceanGatewayInfo()
protected OceanGatewayInfo(boolean noInit)
public OceanGatewayInfo(String json) throws IllegalArgumentException
IllegalArgumentException
public OceanGatewayInfo(JSONObject jsonObject)
public OceanGatewayInfo(OceanGatewayInfo src)
public String getTranSource()
public String getTranChannel()
public String getTranType()
public String getMerchantId()
public String getTerminalId()
public String getTenderType()
public String getEntryMethod()
public String getTransactionAmount()
public String getTransactionCurrency()
public String getFpTransactionId()
public String getMrn()
public String getRefundTxnId()
public String getTransactionStatus()
public String getTransactionStatusDescription()
public String getRrn()
public String getBatchNo()
public String getInvoiceNo()
public String getCardScheme()
public String getQrType()
public String getTransactionDateTime()
public String getAuthCode()
public String getPan()
public String getCustomerMobile()
public String getCustomerName()
public String getCustomerRemarks()
public EMIDetails getEmiDetails()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullTranSource()
public boolean isNotNullTranChannel()
public boolean isNotNullTranType()
public boolean isNotNullMerchantId()
public boolean isNotNullTerminalId()
public boolean isNotNullTenderType()
public boolean isNotNullEntryMethod()
public boolean isNotNullTransactionAmount()
public boolean isNotNullTransactionCurrency()
public boolean isNotNullFpTransactionId()
public boolean isNotNullMrn()
public boolean isNotNullRefundTxnId()
public boolean isNotNullTransactionStatus()
public boolean isNotNullTransactionStatusDescription()
public boolean isNotNullRrn()
public boolean isNotNullBatchNo()
public boolean isNotNullInvoiceNo()
public boolean isNotNullCardScheme()
public boolean isNotNullQrType()
public boolean isNotNullTransactionDateTime()
public boolean isNotNullAuthCode()
public boolean isNotNullPan()
public boolean isNotNullCustomerMobile()
public boolean isNotNullCustomerName()
public boolean isNotNullCustomerRemarks()
public boolean isNotNullEmiDetails()
public boolean hasTranSource()
public boolean hasTranChannel()
public boolean hasTranType()
public boolean hasMerchantId()
public boolean hasTerminalId()
public boolean hasTenderType()
public boolean hasEntryMethod()
public boolean hasTransactionAmount()
public boolean hasTransactionCurrency()
public boolean hasFpTransactionId()
public boolean hasMrn()
public boolean hasRefundTxnId()
public boolean hasTransactionStatus()
public boolean hasTransactionStatusDescription()
public boolean hasRrn()
public boolean hasBatchNo()
public boolean hasInvoiceNo()
public boolean hasCardScheme()
public boolean hasQrType()
public boolean hasTransactionDateTime()
public boolean hasAuthCode()
public boolean hasPan()
public boolean hasCustomerMobile()
public boolean hasCustomerName()
public boolean hasCustomerRemarks()
public boolean hasEmiDetails()
public OceanGatewayInfo setTranSource(String tranSource)
public OceanGatewayInfo setTranChannel(String tranChannel)
public OceanGatewayInfo setTranType(String tranType)
public OceanGatewayInfo setMerchantId(String merchantId)
public OceanGatewayInfo setTerminalId(String terminalId)
public OceanGatewayInfo setTenderType(String tenderType)
public OceanGatewayInfo setEntryMethod(String entryMethod)
public OceanGatewayInfo setTransactionAmount(String transactionAmount)
public OceanGatewayInfo setTransactionCurrency(String transactionCurrency)
public OceanGatewayInfo setFpTransactionId(String fpTransactionId)
public OceanGatewayInfo setMrn(String mrn)
public OceanGatewayInfo setRefundTxnId(String refundTxnId)
public OceanGatewayInfo setTransactionStatus(String transactionStatus)
public OceanGatewayInfo setTransactionStatusDescription(String transactionStatusDescription)
public OceanGatewayInfo setRrn(String rrn)
public OceanGatewayInfo setBatchNo(String batchNo)
public OceanGatewayInfo setInvoiceNo(String invoiceNo)
public OceanGatewayInfo setCardScheme(String cardScheme)
public OceanGatewayInfo setQrType(String qrType)
public OceanGatewayInfo setTransactionDateTime(String transactionDateTime)
public OceanGatewayInfo setAuthCode(String authCode)
public OceanGatewayInfo setPan(String pan)
public OceanGatewayInfo setCustomerMobile(String customerMobile)
public OceanGatewayInfo setCustomerName(String customerName)
public OceanGatewayInfo setCustomerRemarks(String customerRemarks)
public OceanGatewayInfo setEmiDetails(EMIDetails emiDetails)
public void clearTranSource()
public void clearTranChannel()
public void clearTranType()
public void clearMerchantId()
public void clearTerminalId()
public void clearTenderType()
public void clearEntryMethod()
public void clearTransactionAmount()
public void clearTransactionCurrency()
public void clearFpTransactionId()
public void clearMrn()
public void clearRefundTxnId()
public void clearTransactionStatus()
public void clearTransactionStatusDescription()
public void clearRrn()
public void clearBatchNo()
public void clearInvoiceNo()
public void clearCardScheme()
public void clearQrType()
public void clearTransactionDateTime()
public void clearAuthCode()
public void clearPan()
public void clearCustomerMobile()
public void clearCustomerName()
public void clearCustomerRemarks()
public void clearEmiDetails()
public boolean containsChanges()
public void resetChangeLog()
public OceanGatewayInfo copyChanges()
public void mergeChanges(OceanGatewayInfo src)