Class OceanGatewayInfo

    • Constructor Detail

      • OceanGatewayInfo

        public OceanGatewayInfo()
        Constructs a new empty instance.
      • OceanGatewayInfo

        protected OceanGatewayInfo​(boolean noInit)
        Constructs a new empty instance.
      • OceanGatewayInfo

        public 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

        public OceanGatewayInfo​(OceanGatewayInfo src)
        Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
    • Method Detail

      • getTranSource

        public String getTranSource()
        This field contains transaction source returned from Ocean as part of Notification for a transaction
      • getTranChannel

        public String getTranChannel()
        This field contains LPM type info returned from Ocean as part of Notification for a transaction
      • getTranType

        public String getTranType()
        This field contains transaction type info returned from Ocean as part of Notification for a transaction
      • getMerchantId

        public String getMerchantId()
        This field contains MerchantId returned from Ocean as part of Notification for a transaction
      • getTerminalId

        public String getTerminalId()
        This field contains TerminalId returned from Ocean as part of Notification for a transaction
      • getTenderType

        public String getTenderType()
        This field contains tender type info returned from Ocean as part of Notification for a transaction
      • getEntryMethod

        public String getEntryMethod()
        This field contains the entry method returned from Ocean as part of Notification for a transaction
      • getTransactionAmount

        public String getTransactionAmount()
        This field contains the transaction amount returned from Ocean as part of Notification for a transaction
      • getTransactionCurrency

        public String getTransactionCurrency()
        This field contains the transaction currency returned from Ocean as part of Notification for a transaction
      • getFpTransactionId

        public String getFpTransactionId()
        This field contains the ocean generated transaction Id for a transaction
      • getMrn

        public String getMrn()
        This field contains the reference id provided by clover for a transaction
      • getRefundTxnId

        public String getRefundTxnId()
        This field contains the refund transaction id returned from Ocean for a transaction
      • getTransactionStatus

        public String getTransactionStatus()
        This field contains the transaction status returned from Ocean as part of Notification for a transaction
      • getTransactionStatusDescription

        public String getTransactionStatusDescription()
        This field contains the transaction status description returned from Ocean as part of Notification for a transaction
      • getRrn

        public String getRrn()
        This field contains rrn number (reference provided by bank) returned from Ocean as part of Notification for a transaction
      • getBatchNo

        public String getBatchNo()
        This field contains batch number returned from Ocean as part of Notification for a transaction
      • getInvoiceNo

        public String getInvoiceNo()
        This field contains invoice number returned from Ocean as part of Notification for a transaction
      • getCardScheme

        public String getCardScheme()
        This field contains Customer LPM information returned from Ocean as part of Notification for a transaction
      • getQrType

        public String getQrType()
        This field contains qr tpe either static or dynamic information returned from Ocean as part of Notification for a transaction
      • getTransactionDateTime

        public String getTransactionDateTime()
        This field contains transaction completion date info returned from Ocean as part of Notification for a transaction
      • getAuthCode

        public String getAuthCode()
        This field contains Authorization Code returned from Ocean as part of Notification for a transaction
      • getPan

        public 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
      • getCustomerMobile

        public String getCustomerMobile()
        This field contains customer mobile info returned from Ocean as part of Notification for a transaction
      • getCustomerName

        public String getCustomerName()
        This field contains customer name returned from Ocean as part of Notification for a transaction
      • getCustomerRemarks

        public String getCustomerRemarks()
        This field contains customer remarks returned from Ocean as part of Notification for a transaction
      • getEmiDetails

        public EMIDetails getEmiDetails()
        This field indicates the EMI details of a customer returned from Ocean as part of Notification for a transaction
      • getJSONObject

        public 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.
        Specified by:
        getJSONObject in interface JSONifiable
      • isNotNullTranSource

        public boolean isNotNullTranSource()
        Checks whether the 'tranSource' field is set and is not null
      • isNotNullTranChannel

        public boolean isNotNullTranChannel()
        Checks whether the 'tranChannel' field is set and is not null
      • isNotNullTranType

        public boolean isNotNullTranType()
        Checks whether the 'tranType' field is set and is not null
      • isNotNullMerchantId

        public boolean isNotNullMerchantId()
        Checks whether the 'merchantId' field is set and is not null
      • isNotNullTerminalId

        public boolean isNotNullTerminalId()
        Checks whether the 'terminalId' field is set and is not null
      • isNotNullTenderType

        public boolean isNotNullTenderType()
        Checks whether the 'tenderType' field is set and is not null
      • isNotNullEntryMethod

        public boolean isNotNullEntryMethod()
        Checks whether the 'entryMethod' field is set and is not null
      • isNotNullTransactionAmount

        public boolean isNotNullTransactionAmount()
        Checks whether the 'transactionAmount' field is set and is not null
      • isNotNullTransactionCurrency

        public boolean isNotNullTransactionCurrency()
        Checks whether the 'transactionCurrency' field is set and is not null
      • isNotNullFpTransactionId

        public boolean isNotNullFpTransactionId()
        Checks whether the 'fpTransactionId' field is set and is not null
      • isNotNullMrn

        public boolean isNotNullMrn()
        Checks whether the 'mrn' field is set and is not null
      • isNotNullRefundTxnId

        public boolean isNotNullRefundTxnId()
        Checks whether the 'refundTxnId' field is set and is not null
      • isNotNullTransactionStatus

        public boolean isNotNullTransactionStatus()
        Checks whether the 'transactionStatus' field is set and is not null
      • isNotNullTransactionStatusDescription

        public boolean isNotNullTransactionStatusDescription()
        Checks whether the 'transactionStatusDescription' field is set and is not null
      • isNotNullRrn

        public boolean isNotNullRrn()
        Checks whether the 'rrn' field is set and is not null
      • isNotNullBatchNo

        public boolean isNotNullBatchNo()
        Checks whether the 'batchNo' field is set and is not null
      • isNotNullInvoiceNo

        public boolean isNotNullInvoiceNo()
        Checks whether the 'invoiceNo' field is set and is not null
      • isNotNullCardScheme

        public boolean isNotNullCardScheme()
        Checks whether the 'cardScheme' field is set and is not null
      • isNotNullQrType

        public boolean isNotNullQrType()
        Checks whether the 'qrType' field is set and is not null
      • isNotNullTransactionDateTime

        public boolean isNotNullTransactionDateTime()
        Checks whether the 'transactionDateTime' field is set and is not null
      • isNotNullAuthCode

        public boolean isNotNullAuthCode()
        Checks whether the 'authCode' field is set and is not null
      • isNotNullPan

        public boolean isNotNullPan()
        Checks whether the 'pan' field is set and is not null
      • isNotNullCustomerMobile

        public boolean isNotNullCustomerMobile()
        Checks whether the 'customerMobile' field is set and is not null
      • isNotNullCustomerName

        public boolean isNotNullCustomerName()
        Checks whether the 'customerName' field is set and is not null
      • isNotNullCustomerRemarks

        public boolean isNotNullCustomerRemarks()
        Checks whether the 'customerRemarks' field is set and is not null
      • isNotNullEmiDetails

        public boolean isNotNullEmiDetails()
        Checks whether the 'emiDetails' field is set and is not null
      • hasTranSource

        public boolean hasTranSource()
        Checks whether the 'tranSource' field has been set, however the value could be null
      • hasTranChannel

        public boolean hasTranChannel()
        Checks whether the 'tranChannel' field has been set, however the value could be null
      • hasTranType

        public boolean hasTranType()
        Checks whether the 'tranType' field has been set, however the value could be null
      • hasMerchantId

        public boolean hasMerchantId()
        Checks whether the 'merchantId' field has been set, however the value could be null
      • hasTerminalId

        public boolean hasTerminalId()
        Checks whether the 'terminalId' field has been set, however the value could be null
      • hasTenderType

        public boolean hasTenderType()
        Checks whether the 'tenderType' field has been set, however the value could be null
      • hasEntryMethod

        public boolean hasEntryMethod()
        Checks whether the 'entryMethod' field has been set, however the value could be null
      • hasTransactionAmount

        public boolean hasTransactionAmount()
        Checks whether the 'transactionAmount' field has been set, however the value could be null
      • hasTransactionCurrency

        public boolean hasTransactionCurrency()
        Checks whether the 'transactionCurrency' field has been set, however the value could be null
      • hasFpTransactionId

        public boolean hasFpTransactionId()
        Checks whether the 'fpTransactionId' field has been set, however the value could be null
      • hasMrn

        public boolean hasMrn()
        Checks whether the 'mrn' field has been set, however the value could be null
      • hasRefundTxnId

        public boolean hasRefundTxnId()
        Checks whether the 'refundTxnId' field has been set, however the value could be null
      • hasTransactionStatus

        public boolean hasTransactionStatus()
        Checks whether the 'transactionStatus' field has been set, however the value could be null
      • hasTransactionStatusDescription

        public boolean hasTransactionStatusDescription()
        Checks whether the 'transactionStatusDescription' field has been set, however the value could be null
      • hasRrn

        public boolean hasRrn()
        Checks whether the 'rrn' field has been set, however the value could be null
      • hasBatchNo

        public boolean hasBatchNo()
        Checks whether the 'batchNo' field has been set, however the value could be null
      • hasInvoiceNo

        public boolean hasInvoiceNo()
        Checks whether the 'invoiceNo' field has been set, however the value could be null
      • hasCardScheme

        public boolean hasCardScheme()
        Checks whether the 'cardScheme' field has been set, however the value could be null
      • hasQrType

        public boolean hasQrType()
        Checks whether the 'qrType' field has been set, however the value could be null
      • hasTransactionDateTime

        public boolean hasTransactionDateTime()
        Checks whether the 'transactionDateTime' field has been set, however the value could be null
      • hasAuthCode

        public boolean hasAuthCode()
        Checks whether the 'authCode' field has been set, however the value could be null
      • hasPan

        public boolean hasPan()
        Checks whether the 'pan' field has been set, however the value could be null
      • hasCustomerMobile

        public boolean hasCustomerMobile()
        Checks whether the 'customerMobile' field has been set, however the value could be null
      • hasCustomerName

        public boolean hasCustomerName()
        Checks whether the 'customerName' field has been set, however the value could be null
      • hasCustomerRemarks

        public boolean hasCustomerRemarks()
        Checks whether the 'customerRemarks' field has been set, however the value could be null
      • hasEmiDetails

        public boolean hasEmiDetails()
        Checks whether the 'emiDetails' field has been set, however the value could be null
      • setTranChannel

        public OceanGatewayInfo setTranChannel​(String tranChannel)
        Sets the field 'tranChannel'.
      • setEntryMethod

        public OceanGatewayInfo setEntryMethod​(String entryMethod)
        Sets the field 'entryMethod'.
      • setTransactionAmount

        public OceanGatewayInfo setTransactionAmount​(String transactionAmount)
        Sets the field 'transactionAmount'.
      • setTransactionCurrency

        public OceanGatewayInfo setTransactionCurrency​(String transactionCurrency)
        Sets the field 'transactionCurrency'.
      • setFpTransactionId

        public OceanGatewayInfo setFpTransactionId​(String fpTransactionId)
        Sets the field 'fpTransactionId'.
      • setRefundTxnId

        public OceanGatewayInfo setRefundTxnId​(String refundTxnId)
        Sets the field 'refundTxnId'.
      • setTransactionStatus

        public OceanGatewayInfo setTransactionStatus​(String transactionStatus)
        Sets the field 'transactionStatus'.
      • setTransactionStatusDescription

        public OceanGatewayInfo setTransactionStatusDescription​(String transactionStatusDescription)
        Sets the field 'transactionStatusDescription'.
      • setTransactionDateTime

        public OceanGatewayInfo setTransactionDateTime​(String transactionDateTime)
        Sets the field 'transactionDateTime'.
      • setCustomerMobile

        public OceanGatewayInfo setCustomerMobile​(String customerMobile)
        Sets the field 'customerMobile'.
      • setCustomerName

        public OceanGatewayInfo setCustomerName​(String customerName)
        Sets the field 'customerName'.
      • setCustomerRemarks

        public OceanGatewayInfo setCustomerRemarks​(String customerRemarks)
        Sets the field 'customerRemarks'.
      • setEmiDetails

        public OceanGatewayInfo setEmiDetails​(EMIDetails emiDetails)
        Sets the field 'emiDetails'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • clearTranSource

        public void clearTranSource()
        Clears the 'tranSource' field, the 'has' method for this field will now return false
      • clearTranChannel

        public void clearTranChannel()
        Clears the 'tranChannel' field, the 'has' method for this field will now return false
      • clearTranType

        public void clearTranType()
        Clears the 'tranType' field, the 'has' method for this field will now return false
      • clearMerchantId

        public void clearMerchantId()
        Clears the 'merchantId' field, the 'has' method for this field will now return false
      • clearTerminalId

        public void clearTerminalId()
        Clears the 'terminalId' field, the 'has' method for this field will now return false
      • clearTenderType

        public void clearTenderType()
        Clears the 'tenderType' field, the 'has' method for this field will now return false
      • clearEntryMethod

        public void clearEntryMethod()
        Clears the 'entryMethod' field, the 'has' method for this field will now return false
      • clearTransactionAmount

        public void clearTransactionAmount()
        Clears the 'transactionAmount' field, the 'has' method for this field will now return false
      • clearTransactionCurrency

        public void clearTransactionCurrency()
        Clears the 'transactionCurrency' field, the 'has' method for this field will now return false
      • clearFpTransactionId

        public void clearFpTransactionId()
        Clears the 'fpTransactionId' field, the 'has' method for this field will now return false
      • clearMrn

        public void clearMrn()
        Clears the 'mrn' field, the 'has' method for this field will now return false
      • clearRefundTxnId

        public void clearRefundTxnId()
        Clears the 'refundTxnId' field, the 'has' method for this field will now return false
      • clearTransactionStatus

        public void clearTransactionStatus()
        Clears the 'transactionStatus' field, the 'has' method for this field will now return false
      • clearTransactionStatusDescription

        public void clearTransactionStatusDescription()
        Clears the 'transactionStatusDescription' field, the 'has' method for this field will now return false
      • clearRrn

        public void clearRrn()
        Clears the 'rrn' field, the 'has' method for this field will now return false
      • clearBatchNo

        public void clearBatchNo()
        Clears the 'batchNo' field, the 'has' method for this field will now return false
      • clearInvoiceNo

        public void clearInvoiceNo()
        Clears the 'invoiceNo' field, the 'has' method for this field will now return false
      • clearCardScheme

        public void clearCardScheme()
        Clears the 'cardScheme' field, the 'has' method for this field will now return false
      • clearQrType

        public void clearQrType()
        Clears the 'qrType' field, the 'has' method for this field will now return false
      • clearTransactionDateTime

        public void clearTransactionDateTime()
        Clears the 'transactionDateTime' field, the 'has' method for this field will now return false
      • clearAuthCode

        public void clearAuthCode()
        Clears the 'authCode' field, the 'has' method for this field will now return false
      • clearPan

        public void clearPan()
        Clears the 'pan' field, the 'has' method for this field will now return false
      • clearCustomerMobile

        public void clearCustomerMobile()
        Clears the 'customerMobile' field, the 'has' method for this field will now return false
      • clearCustomerName

        public void clearCustomerName()
        Clears the 'customerName' field, the 'has' method for this field will now return false
      • clearCustomerRemarks

        public void clearCustomerRemarks()
        Clears the 'customerRemarks' field, the 'has' method for this field will now return false
      • clearEmiDetails

        public void clearEmiDetails()
        Clears the 'emiDetails' field, the 'has' method for this field will now return false
      • containsChanges

        public boolean containsChanges()
        Returns true if this instance has any changes.
      • resetChangeLog

        public void resetChangeLog()
        Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
      • copyChanges

        public OceanGatewayInfo copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

        public void mergeChanges​(OceanGatewayInfo src)
        Copy all the changed fields from the given source to this instance.