Class SerbiaPdf417PaymentRecognizer.Result

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

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

  • Constructor Details

    • Result

      protected Result(long nativeResult)
  • Method Details

    • getIdentificationCode

      @NonNull public String getIdentificationCode()
      The identification code of the payment.
    • getAmount

      public int getAmount()
      Returns the scanned amount in smallest currency (e.g. cents). Return 0 if nothing was scanned.
      Returns:
      the scanned amount in smallest currency (e.g. cents).
    • isUncertain

      public boolean isUncertain()
      The indication if the payment barcode data is uncertain.
    • getPaymentDescription

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

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

      @NonNull public String getPayerAccountNumber()
      The account number of the payer.
    • getPayerAddress

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

      @NonNull public String getOneTimePaymentCode()
      The one time payment code of the payment.
    • getRecipientAccountNumber

      @NonNull public String getRecipientAccountNumber()
      The bank account number to which the payment goes.
    • getPaymentCode

      @NonNull public String getPaymentCode()
      The payment code of the payment.
    • 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.
    • getCurrency

      @NonNull @Nullable public String getCurrency()
      Returns the currency or null if nothing was scanned.
      Returns:
      the currency or null if nothing was scanned.
    • getRecipientDetailedAddress

      @NonNull public String getRecipientDetailedAddress()
      The detailed address of the payment receiver.
    • getRecipientAddress

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

      @NonNull public String getMerchantCodeCategory()
      The merchant code category of the payment.
    • getMerchantReference

      @NonNull public String getMerchantReference()
      The merchant reference of the payment.
    • getReferenceModel

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

      @NonNull public String getRawBarcodeData()
      The raw barcode data string.
    • getPayerDetailedAddress

      @NonNull public String getPayerDetailedAddress()
      The detailed address of the payer.
    • getOptionalData

      @NonNull public String getOptionalData()
      The additional data about the payment.
    • getParsedAmount

      @NonNull public BigDecimal getParsedAmount()
      Returns the scanned amount as big decimal value in normal currency (e.g. euros).
      Returns:
      the scanned amount as big decimal value in normal currency (e.g. euros).
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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