Class SepaQrCodePaymentRecognizer.Result

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

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

  • Constructor Details

    • Result

      protected Result(long nativeResult)
  • Method Details

    • getReference

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

      public int getAmount()
      The scanned amount in smallest currency (e.g. cents), 0 if nothing was scanned.
    • getRawResult

      @NonNull public String getRawResult()
      Raw result
    • 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.
    • getRecipientName

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

      @NonNull public String getCurrency()
      The currency of the payment.
    • getDisplayData

      @NonNull public String getDisplayData()
      The display data
    • getBic

      @NonNull public String getBic()
      The bank Identifier Code of the bank to which the payment goes.
    • getOptionalData

      @NonNull public String getOptionalData()
      Optional data from the end of QR code (if exists).
    • getPaymentDescription

      @NonNull public String getPaymentDescription()
      The description of the payment; available if reference number is empty.
    • 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