Class CroatiaPdf417PaymentRecognizer.Result

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

public static final class CroatiaPdf417PaymentRecognizer.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 receiver bank
    • getAmountHrk

      public int getAmountHrk()
      The scanned amount in smallest HRK monetary unit, i.e. lipa, 0 if nothing was scanned.
    • getAmountEur

      public int getAmountEur()
      The scanned amount in smallest EUR monetary unit, i.e. cent, 0 if nothing was scanned.
    • getDueDate

      @NonNull public Date getDueDate()
      The due date for payment; available only for HUB3 slips
    • getAccountNumber

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

      public boolean isUncertain()
      True if returned result is uncertain, i.e. if scanned barcode was incomplete (i.e. has parts of it missing).
    • getPaymentDescription

      @NonNull public String getPaymentDescription()
      The description of the payment
    • getReference

      @NonNull public String getReference()
      The reference of the payment
    • getPaymentDescriptionCode

      @NonNull public String getPaymentDescriptionCode()
      The description code of the payment
    • getPayerAddress

      @NonNull public String getPayerAddress()
      The address of the payer
    • isConversionToEurPerformed

      public boolean isConversionToEurPerformed()
      The information if the conversion from HRK to EUR is performed or not
    • getIban

      @NonNull public String getIban()
      The International bank account number of the account to which the payment goes
    • getPurposeCode

      @NonNull public String getPurposeCode()
      The purpose code of the payment
    • getPayerName

      @NonNull public String getPayerName()
      The name of the payer
    • getRecipientName

      @NonNull public String getRecipientName()
      The name of the receiving side
    • getRecipientDetailedAddress

      @NonNull public String getRecipientDetailedAddress()
      The detailed address of the payment receiver; available only for HUB3 slips
    • getSlipId

      @NonNull public CroatiaBarcodeSlipIdType getSlipId()
      Slip ID (e.g HUB3_BARCODE)
    • getRecipientAddress

      @NonNull public String getRecipientAddress()
      The address of the payment receiver
    • getReferenceModel

      @NonNull public String getReferenceModel()
      The reference model of the payment
    • getPayerDetailedAddress

      @NonNull public String getPayerDetailedAddress()
      The detailed address of the payer; available only for HUB3 slips
    • getOptionalData

      @NonNull public String getOptionalData()
      The additional data available at the end of HUB3 QR and PDF417 barcode
    • 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