com.aspose.barcode.complexbarcode

Class AlternativeScheme

  • java.lang.Object
    • com.aspose.barcode.complexbarcode.AlternativeScheme


  • public final class AlternativeScheme
    extends java.lang.Object

    Alternative payment scheme instructions

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(AlternativeScheme other)
      Determines whether the specified alernative scheme is equal to the current alternative scheme.
      boolean equals(java.lang.Object obj)
      Determines whether the specified object is equal to the current object.
      java.lang.String getInstruction()
      Gets the payment instruction for a given bill.
      int hashCode()
      Gets the hash code for this instance.
      void setInstruction(java.lang.String value)
      Gets the payment instruction for a given bill.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlternativeScheme

        public AlternativeScheme()
      • AlternativeScheme

        public AlternativeScheme(java.lang.String instruction)
    • Method Detail

      • getInstruction

        public java.lang.String getInstruction()

        Gets the payment instruction for a given bill.

        The instruction consists of a two letter abbreviation for the scheme, a separator characters and a sequence of parameters(separated by the character at index 2).

        Value: The payment instruction.
      • setInstruction

        public void setInstruction(java.lang.String value)

        Gets the payment instruction for a given bill.

        The instruction consists of a two letter abbreviation for the scheme, a separator characters and a sequence of parameters(separated by the character at index 2).

        Value: The payment instruction.
      • equals

        public boolean equals(java.lang.Object obj)

        Determines whether the specified object is equal to the current object.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object to compare with the current object.
        Returns:
        true if the specified object is equal to the current object; otherwise, false.
      • equals

        public boolean equals(AlternativeScheme other)

        Determines whether the specified alernative scheme is equal to the current alternative scheme.

        Parameters:
        other - The alternative scheme to compare with the current alternative scheme.
        Returns:
        true if the specified object is equal to the current object; otherwise, false.
      • hashCode

        public int hashCode()

        Gets the hash code for this instance.

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        A hash code for the current object.