Class SerbiaQrCodePaymentRecognizer.Result
java.lang.Object
com.microblink.photopay.entities.Entity.Result
com.microblink.photopay.entities.recognizers.Recognizer.Result
com.microblink.photopay.entities.recognizers.photopay.serbia.qr.SerbiaQrCodePaymentRecognizer.Result
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- SerbiaQrCodePaymentRecognizer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.microblink.photopay.entities.recognizers.Recognizer.Result
Recognizer.Result.State
-
Field Summary
Modifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<SerbiaQrCodePaymentRecognizer.Result>
Fields inherited from class com.microblink.photopay.entities.Entity.Result
mOwner
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a copy of the result.protected void
deserializeFromByteArray
(byte[] arr) int
Returns the scanned amount in smallest currency (e.g.Returns the currency or null if nothing was scanned.The identification code of the payment.The merchant code category of the payment.The merchant reference of the payment.The one time payment code of the payment.The additional data about the payment.Returns the scanned amount as big decimal value in normal currency (e.g.The account number of the payer.The address of the payer.The detailed address of the payer.The name of the payer.The payment code of the payment.The description of the payment.The purpose code of the payment.The raw barcode data string.The bank account number to which the payment goes.The address of the payment receiver.The detailed address of the payment receiver.The name of the receiving side.The reference of the payment.The reference model of the payment.boolean
The indication if the payment barcode data is uncertain.protected byte[]
protected void
terminateNative
(long nativeContext) toString()
Methods inherited from class com.microblink.photopay.entities.recognizers.Recognizer.Result
getResultState, isEmpty
Methods inherited from class com.microblink.photopay.entities.Entity.Result
describeContents, finalize, getNativeContext, readFromParcel, writeToParcel
-
Field Details
-
CREATOR
-
-
Constructor Details
-
Result
protected Result(long nativeResult)
-
-
Method Details
-
getIdentificationCode
The identification code of the payment. -
getAmount
public int getAmount()Returns the scanned amount in smallest currency (e.g. cents). Return 0 if nothing was scanned.- Returns:
- the scanned amount in smallest currency (e.g. cents).
-
isUncertain
public boolean isUncertain()The indication if the payment barcode data is uncertain. -
getPaymentDescription
The description of the payment. -
getReference
The reference of the payment. -
getPayerAccountNumber
The account number of the payer. -
getPayerAddress
The address of the payer. -
getOneTimePaymentCode
The one time payment code of the payment. -
getRecipientAccountNumber
The bank account number to which the payment goes. -
getPaymentCode
The payment code of the payment. -
getPurposeCode
The purpose code of the payment. -
getPayerName
The name of the payer. -
getRecipientName
The name of the receiving side. -
getCurrency
Returns the currency or null if nothing was scanned.- Returns:
- the currency or null if nothing was scanned.
-
getRecipientDetailedAddress
The detailed address of the payment receiver. -
getRecipientAddress
The address of the payment receiver. -
getMerchantCodeCategory
The merchant code category of the payment. -
getMerchantReference
The merchant reference of the payment. -
getReferenceModel
The reference model of the payment. -
getRawBarcodeData
The raw barcode data string. -
getPayerDetailedAddress
The detailed address of the payer. -
getOptionalData
The additional data about the payment. -
getParsedAmount
Returns the scanned amount as big decimal value in normal currency (e.g. euros).- Returns:
- the scanned amount as big decimal value in normal currency (e.g. euros).
-
toString
-
serializeToByteArray
@Nullable protected byte[] serializeToByteArray()- Specified by:
serializeToByteArray
in classEntity.Result
-
deserializeFromByteArray
protected void deserializeFromByteArray(@NonNull byte[] arr) - Specified by:
deserializeFromByteArray
in classEntity.Result
-
clone
Description copied from class:Entity.Result
Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it.- Specified by:
clone
in classRecognizer.Result
- Returns:
- a copy of the result
-
terminateNative
protected void terminateNative(long nativeContext) - Specified by:
terminateNative
in classEntity.Result
-