Class SwitzerlandQrCodePaymentRecognizer.Result
java.lang.Object
com.microblink.photopay.entities.Entity.Result
com.microblink.photopay.entities.recognizers.Recognizer.Result
com.microblink.photopay.entities.recognizers.photopay.switzerland.SwitzerlandQrCodePaymentRecognizer.Result
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- SwitzerlandQrCodePaymentRecognizer
-
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<SwitzerlandQrCodePaymentRecognizer.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) The payment additional information.The parameters of the alternative scheme.int
The scanned amount in smallest currency (e.g.The currency of the payment.The due date of the payment.getIban()
The International bank account numbe of the account to which the payment goes.The address of the payer, if it exists.The city of the payer, if it exists.The country of the payer, if it exists.The house number of the payer, if it exists.The name of the payer, if it exists.The postal code of the payer, if it exists.The street of the payer, if it exists.The address of the recipient.The city of the recipient.The country of the recipient.The house number of the recipient.The name of the recipient.The postal code of the recipient.The street of the recipient.The reference of the payment.The reference model of the payment.The address of the ultimate recipient.The city of the ultimate recipient.The country of the ultimate recipient.The house number of the ultimate recipient.The name of the ultimate recipient.The postal code of the ultimate recipient.The street of the ultimate recipient.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
public static final android.os.Parcelable.Creator<SwitzerlandQrCodePaymentRecognizer.Result> CREATOR
-
-
Constructor Details
-
Result
protected Result(long nativeResult)
-
-
Method Details
-
getUltimateRecipientStreet
The street of the ultimate recipient. -
getRecipientStreet
The street of the recipient. -
getDueDate
The due date of the payment. -
getUltimateRecipientName
The name of the ultimate recipient. -
getReference
The reference of the payment. -
getRecipientPostalCode
The postal code of the recipient. -
getUltimateRecipientAddress
The address of the ultimate recipient. -
getRecipientHouseNumber
The house number of the recipient. -
getPayerPostalCode
The postal code of the payer, if it exists. -
getPayerName
The name of the payer, if it exists. -
getRecipientName
The name of the recipient. -
getCurrency
The currency of the payment. -
getRecipientAddress
The address of the recipient. -
getReferenceModel
The reference model of the payment. -
getAdditionalInformation
The payment additional information. -
getAmount
public int getAmount()The scanned amount in smallest currency (e.g. cents), 0 if nothing was scanned. -
getAlternativeSchemeParameters
The parameters of the alternative scheme. -
getUltimateRecipientCity
The city of the ultimate recipient. -
getPayerStreet
The street of the payer, if it exists. -
getUltimateRecipientPostalCode
The postal code of the ultimate recipient. -
getPayerCountry
The country of the payer, if it exists. -
getPayerAddress
The address of the payer, if it exists. -
getPayerCity
The city of the payer, if it exists. -
getUltimateRecipientCountry
The country of the ultimate recipient. -
getPayerHouseNumber
The house number of the payer, if it exists. -
getIban
The International bank account numbe of the account to which the payment goes. -
getUltimateRecipientHouseNumber
The house number of the ultimate recipient. -
getRecipientCountry
The country of the recipient. -
getRecipientCity
The city of the recipient. -
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
-