Class HungarySlipRecognizer.Result

java.lang.Object
com.microblink.photopay.entities.Entity.Result
com.microblink.photopay.entities.recognizers.Recognizer.Result
com.microblink.photopay.entities.recognizers.photopay.hungary.slip.HungarySlipRecognizer.Result
All Implemented Interfaces:
android.os.Parcelable
Enclosing class:
HungarySlipRecognizer

public static final class HungarySlipRecognizer.Result extends Recognizer.Result
  • Field Details

  • Constructor Details

    • Result

      protected Result(long nativeResult)
  • Method Details

    • getBankCode

      @NonNull public String getBankCode()
      The bank code of the account holder
    • getPayerAccountNumber

      @NonNull public String getPayerAccountNumber()
      The account number of the payer. Not available on all slips.
    • getAmount

      public int getAmount()
      The scanned amount
    • getPayerId

      @NonNull public String getPayerId()
      The payer ID
    • getRecipientName

      @NonNull public String getRecipientName()
      Name of the recipient of the payment.
    • getCurrency

      @NonNull public String getCurrency()
      The currency in which the amount is represented
    • getSlipId

      @NonNull public HungarySlipId getSlipId()
      Type of slip that was scanned
    • getAccountNumber

      @NonNull public String getAccountNumber()
      The account number to which the payment goes
    • getPayerBankCode

      @NonNull public String getPayerBankCode()
      The bank code of the payer bank. Not available on all slips.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      String version of this result
    • serializeToByteArray

      @Nullable protected byte[] serializeToByteArray()
      Specified by:
      serializeToByteArray in class Entity.Result
    • deserializeFromByteArray

      protected void deserializeFromByteArray(@NonNull byte[] arr)
      Specified by:
      deserializeFromByteArray in class Entity.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 class Recognizer.Result
      Returns:
      a copy of the result
    • terminateNative

      protected void terminateNative(long nativeContext)
      Specified by:
      terminateNative in class Entity.Result