Class PaymentRequestCardDetails

    • Constructor Detail

      • PaymentRequestCardDetails

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

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

        public PaymentRequestCardDetails​(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.
      • PaymentRequestCardDetails

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

      • getTrack1

        public String getTrack1()
      • getTrack2

        public String getTrack2()
      • getTrack3

        public String getTrack3()
      • getEncrypted

        public Boolean getEncrypted()
      • getMaskedTrack1

        public String getMaskedTrack1()
      • getMaskedTrack2

        public String getMaskedTrack2()
      • getMaskedTrack3

        public String getMaskedTrack3()
      • getUniqueToken

        public String getUniqueToken()
      • getPan

        public String getPan()
      • getFirstName

        public String getFirstName()
      • getLastName

        public String getLastName()
      • getCountryCode

        public String getCountryCode()
      • getExp

        public String getExp()
      • getStreetAddress

        public String getStreetAddress()
      • getZip

        public String getZip()
      • getCvv

        public String getCvv()
      • getLast4

        public String getLast4()
      • getFirst4

        public String getFirst4()
      • getDukptSerial

        public String getDukptSerial()
      • getSwipeStatus

        public String getSwipeStatus()
      • getFingerprint

        public String getFingerprint()
      • getDeviceSerial

        public String getDeviceSerial()
      • getManualEntered

        public Boolean getManualEntered()
      • getAsync

        public Boolean getAsync()
      • getIsFallback

        public Boolean getIsFallback()
      • getIsAuth

        public Boolean getIsAuth()
      • getIsPrepaid

        public Boolean getIsPrepaid()
      • getQrCode

        public Boolean getQrCode()
      • getCardType

        public CardType getCardType()
      • getTransactionNo

        public String getTransactionNo()
      • getCardholderName

        public String getCardholderName()
      • getPlainCardData

        public String getPlainCardData()
      • 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
      • isNotNullTrack1

        public boolean isNotNullTrack1()
        Checks whether the 'track1' field is set and is not null
      • isNotNullTrack2

        public boolean isNotNullTrack2()
        Checks whether the 'track2' field is set and is not null
      • isNotNullTrack3

        public boolean isNotNullTrack3()
        Checks whether the 'track3' field is set and is not null
      • isNotNullEncrypted

        public boolean isNotNullEncrypted()
        Checks whether the 'encrypted' field is set and is not null
      • isNotNullMaskedTrack1

        public boolean isNotNullMaskedTrack1()
        Checks whether the 'maskedTrack1' field is set and is not null
      • isNotNullMaskedTrack2

        public boolean isNotNullMaskedTrack2()
        Checks whether the 'maskedTrack2' field is set and is not null
      • isNotNullMaskedTrack3

        public boolean isNotNullMaskedTrack3()
        Checks whether the 'maskedTrack3' field is set and is not null
      • isNotNullUniqueToken

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

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

        public boolean isNotNullFirstName()
        Checks whether the 'firstName' field is set and is not null
      • isNotNullLastName

        public boolean isNotNullLastName()
        Checks whether the 'lastName' field is set and is not null
      • isNotNullCountryCode

        public boolean isNotNullCountryCode()
        Checks whether the 'countryCode' field is set and is not null
      • isNotNullExp

        public boolean isNotNullExp()
        Checks whether the 'exp' field is set and is not null
      • isNotNullStreetAddress

        public boolean isNotNullStreetAddress()
        Checks whether the 'streetAddress' field is set and is not null
      • isNotNullZip

        public boolean isNotNullZip()
        Checks whether the 'zip' field is set and is not null
      • isNotNullCvv

        public boolean isNotNullCvv()
        Checks whether the 'cvv' field is set and is not null
      • isNotNullLast4

        public boolean isNotNullLast4()
        Checks whether the 'last4' field is set and is not null
      • isNotNullFirst4

        public boolean isNotNullFirst4()
        Checks whether the 'first4' field is set and is not null
      • isNotNullDukptSerial

        public boolean isNotNullDukptSerial()
        Checks whether the 'dukptSerial' field is set and is not null
      • isNotNullSwipeStatus

        public boolean isNotNullSwipeStatus()
        Checks whether the 'swipeStatus' field is set and is not null
      • isNotNullFingerprint

        public boolean isNotNullFingerprint()
        Checks whether the 'fingerprint' field is set and is not null
      • isNotNullDeviceSerial

        public boolean isNotNullDeviceSerial()
        Checks whether the 'deviceSerial' field is set and is not null
      • isNotNullManualEntered

        public boolean isNotNullManualEntered()
        Checks whether the 'manualEntered' field is set and is not null
      • isNotNullAsync

        public boolean isNotNullAsync()
        Checks whether the 'async' field is set and is not null
      • isNotNullIsFallback

        public boolean isNotNullIsFallback()
        Checks whether the 'isFallback' field is set and is not null
      • isNotNullIsAuth

        public boolean isNotNullIsAuth()
        Checks whether the 'isAuth' field is set and is not null
      • isNotNullIsPrepaid

        public boolean isNotNullIsPrepaid()
        Checks whether the 'isPrepaid' field is set and is not null
      • isNotNullCardFunction

        public boolean isNotNullCardFunction()
        Checks whether the 'cardFunction' field is set and is not null
      • isNotNullQrCode

        public boolean isNotNullQrCode()
        Checks whether the 'qrCode' field is set and is not null
      • isNotNullCardType

        public boolean isNotNullCardType()
        Checks whether the 'cardType' field is set and is not null
      • isNotNullEntryType

        public boolean isNotNullEntryType()
        Checks whether the 'entryType' field is set and is not null
      • isNotNullTransactionNo

        public boolean isNotNullTransactionNo()
        Checks whether the 'transactionNo' field is set and is not null
      • isNotNullCardholderName

        public boolean isNotNullCardholderName()
        Checks whether the 'cardholderName' field is set and is not null
      • isNotNullPlainCardData

        public boolean isNotNullPlainCardData()
        Checks whether the 'plainCardData' field is set and is not null
      • isNotNullTransactionData

        public boolean isNotNullTransactionData()
        Checks whether the 'transactionData' field is set and is not null
      • hasTrack1

        public boolean hasTrack1()
        Checks whether the 'track1' field has been set, however the value could be null
      • hasTrack2

        public boolean hasTrack2()
        Checks whether the 'track2' field has been set, however the value could be null
      • hasTrack3

        public boolean hasTrack3()
        Checks whether the 'track3' field has been set, however the value could be null
      • hasEncrypted

        public boolean hasEncrypted()
        Checks whether the 'encrypted' field has been set, however the value could be null
      • hasMaskedTrack1

        public boolean hasMaskedTrack1()
        Checks whether the 'maskedTrack1' field has been set, however the value could be null
      • hasMaskedTrack2

        public boolean hasMaskedTrack2()
        Checks whether the 'maskedTrack2' field has been set, however the value could be null
      • hasMaskedTrack3

        public boolean hasMaskedTrack3()
        Checks whether the 'maskedTrack3' field has been set, however the value could be null
      • hasUniqueToken

        public boolean hasUniqueToken()
        Checks whether the 'uniqueToken' 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
      • hasFirstName

        public boolean hasFirstName()
        Checks whether the 'firstName' field has been set, however the value could be null
      • hasLastName

        public boolean hasLastName()
        Checks whether the 'lastName' field has been set, however the value could be null
      • hasCountryCode

        public boolean hasCountryCode()
        Checks whether the 'countryCode' field has been set, however the value could be null
      • hasExp

        public boolean hasExp()
        Checks whether the 'exp' field has been set, however the value could be null
      • hasStreetAddress

        public boolean hasStreetAddress()
        Checks whether the 'streetAddress' field has been set, however the value could be null
      • hasZip

        public boolean hasZip()
        Checks whether the 'zip' field has been set, however the value could be null
      • hasCvv

        public boolean hasCvv()
        Checks whether the 'cvv' field has been set, however the value could be null
      • hasLast4

        public boolean hasLast4()
        Checks whether the 'last4' field has been set, however the value could be null
      • hasFirst4

        public boolean hasFirst4()
        Checks whether the 'first4' field has been set, however the value could be null
      • hasDukptSerial

        public boolean hasDukptSerial()
        Checks whether the 'dukptSerial' field has been set, however the value could be null
      • hasSwipeStatus

        public boolean hasSwipeStatus()
        Checks whether the 'swipeStatus' field has been set, however the value could be null
      • hasFingerprint

        public boolean hasFingerprint()
        Checks whether the 'fingerprint' field has been set, however the value could be null
      • hasDeviceSerial

        public boolean hasDeviceSerial()
        Checks whether the 'deviceSerial' field has been set, however the value could be null
      • hasManualEntered

        public boolean hasManualEntered()
        Checks whether the 'manualEntered' field has been set, however the value could be null
      • hasAsync

        public boolean hasAsync()
        Checks whether the 'async' field has been set, however the value could be null
      • hasIsFallback

        public boolean hasIsFallback()
        Checks whether the 'isFallback' field has been set, however the value could be null
      • hasIsAuth

        public boolean hasIsAuth()
        Checks whether the 'isAuth' field has been set, however the value could be null
      • hasIsPrepaid

        public boolean hasIsPrepaid()
        Checks whether the 'isPrepaid' field has been set, however the value could be null
      • hasCardFunction

        public boolean hasCardFunction()
        Checks whether the 'cardFunction' field has been set, however the value could be null
      • hasQrCode

        public boolean hasQrCode()
        Checks whether the 'qrCode' field has been set, however the value could be null
      • hasCardType

        public boolean hasCardType()
        Checks whether the 'cardType' field has been set, however the value could be null
      • hasEntryType

        public boolean hasEntryType()
        Checks whether the 'entryType' field has been set, however the value could be null
      • hasTransactionNo

        public boolean hasTransactionNo()
        Checks whether the 'transactionNo' field has been set, however the value could be null
      • hasCardholderName

        public boolean hasCardholderName()
        Checks whether the 'cardholderName' field has been set, however the value could be null
      • hasPlainCardData

        public boolean hasPlainCardData()
        Checks whether the 'plainCardData' field has been set, however the value could be null
      • hasTransactionData

        public boolean hasTransactionData()
        Checks whether the 'transactionData' field has been set, however the value could be null
      • setTransactionData

        public PaymentRequestCardDetails setTransactionData​(TransactionData transactionData)
        Sets the field 'transactionData'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • clearTrack1

        public void clearTrack1()
        Clears the 'track1' field, the 'has' method for this field will now return false
      • clearTrack2

        public void clearTrack2()
        Clears the 'track2' field, the 'has' method for this field will now return false
      • clearTrack3

        public void clearTrack3()
        Clears the 'track3' field, the 'has' method for this field will now return false
      • clearEncrypted

        public void clearEncrypted()
        Clears the 'encrypted' field, the 'has' method for this field will now return false
      • clearMaskedTrack1

        public void clearMaskedTrack1()
        Clears the 'maskedTrack1' field, the 'has' method for this field will now return false
      • clearMaskedTrack2

        public void clearMaskedTrack2()
        Clears the 'maskedTrack2' field, the 'has' method for this field will now return false
      • clearMaskedTrack3

        public void clearMaskedTrack3()
        Clears the 'maskedTrack3' field, the 'has' method for this field will now return false
      • clearUniqueToken

        public void clearUniqueToken()
        Clears the 'uniqueToken' 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
      • clearFirstName

        public void clearFirstName()
        Clears the 'firstName' field, the 'has' method for this field will now return false
      • clearLastName

        public void clearLastName()
        Clears the 'lastName' field, the 'has' method for this field will now return false
      • clearCountryCode

        public void clearCountryCode()
        Clears the 'countryCode' field, the 'has' method for this field will now return false
      • clearExp

        public void clearExp()
        Clears the 'exp' field, the 'has' method for this field will now return false
      • clearStreetAddress

        public void clearStreetAddress()
        Clears the 'streetAddress' field, the 'has' method for this field will now return false
      • clearZip

        public void clearZip()
        Clears the 'zip' field, the 'has' method for this field will now return false
      • clearCvv

        public void clearCvv()
        Clears the 'cvv' field, the 'has' method for this field will now return false
      • clearLast4

        public void clearLast4()
        Clears the 'last4' field, the 'has' method for this field will now return false
      • clearFirst4

        public void clearFirst4()
        Clears the 'first4' field, the 'has' method for this field will now return false
      • clearDukptSerial

        public void clearDukptSerial()
        Clears the 'dukptSerial' field, the 'has' method for this field will now return false
      • clearSwipeStatus

        public void clearSwipeStatus()
        Clears the 'swipeStatus' field, the 'has' method for this field will now return false
      • clearFingerprint

        public void clearFingerprint()
        Clears the 'fingerprint' field, the 'has' method for this field will now return false
      • clearDeviceSerial

        public void clearDeviceSerial()
        Clears the 'deviceSerial' field, the 'has' method for this field will now return false
      • clearManualEntered

        public void clearManualEntered()
        Clears the 'manualEntered' field, the 'has' method for this field will now return false
      • clearAsync

        public void clearAsync()
        Clears the 'async' field, the 'has' method for this field will now return false
      • clearIsFallback

        public void clearIsFallback()
        Clears the 'isFallback' field, the 'has' method for this field will now return false
      • clearIsAuth

        public void clearIsAuth()
        Clears the 'isAuth' field, the 'has' method for this field will now return false
      • clearIsPrepaid

        public void clearIsPrepaid()
        Clears the 'isPrepaid' field, the 'has' method for this field will now return false
      • clearCardFunction

        public void clearCardFunction()
        Clears the 'cardFunction' field, the 'has' method for this field will now return false
      • clearQrCode

        public void clearQrCode()
        Clears the 'qrCode' field, the 'has' method for this field will now return false
      • clearCardType

        public void clearCardType()
        Clears the 'cardType' field, the 'has' method for this field will now return false
      • clearEntryType

        public void clearEntryType()
        Clears the 'entryType' field, the 'has' method for this field will now return false
      • clearTransactionNo

        public void clearTransactionNo()
        Clears the 'transactionNo' field, the 'has' method for this field will now return false
      • clearCardholderName

        public void clearCardholderName()
        Clears the 'cardholderName' field, the 'has' method for this field will now return false
      • clearPlainCardData

        public void clearPlainCardData()
        Clears the 'plainCardData' field, the 'has' method for this field will now return false
      • clearTransactionData

        public void clearTransactionData()
        Clears the 'transactionData' 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 PaymentRequestCardDetails copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

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