Class KosovoCode128PaymentRecognizer.Result
java.lang.Object
com.microblink.photopay.entities.Entity.Result
com.microblink.photopay.entities.recognizers.Recognizer.Result
com.microblink.photopay.entities.recognizers.photopay.kosovo.KosovoCode128PaymentRecognizer.Result
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- KosovoCode128PaymentRecognizer
-
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<KosovoCode128PaymentRecognizer.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
The scanned amount in smallest currency (e.g.Complete, unparsed codeCustomer IDDistrict codeDue date of the paymentPayer accout numberReference of the paymentService codeSlip ID.Utility ID of the paymentprotected 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
-
getReference
Reference of the payment -
getPayerAccountNumber
Payer accout number -
getUtilityID
Utility ID of the payment -
getAmount
public int getAmount()The scanned amount in smallest currency (e.g. cents), 0 if nothing was scanned. -
getCode128Result
Complete, unparsed code -
getService
Service code -
getDistrict
District code -
getDueDate
Due date of the payment -
getCustomerID
Customer ID -
getSlipId
Slip ID. -
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
-