Class Instruction


  • public final class Instruction
    extends java.lang.Object
    • Constructor Detail

      • Instruction

        public Instruction()
      • Instruction

        public Instruction​(PurposeType purpose)
        Creates a new Instruction instance.
        Parameters:
        purpose - The purpose of the payment. This field might be required for AFT transactions depending on the card's issuer_country. To view a card's issuer_country, retrieve the card's metadata. See the AFT documentation page for more details.
    • Method Detail

      • getPurpose

        public PurposeType getPurpose()
        The purpose of the payment. This field might be required for AFT transactions depending on the card's issuer_country. To view a card's issuer_country, retrieve the card's metadata. See the AFT documentation page for more details.
      • setPurpose

        public void setPurpose​(PurposeType purpose)
        The purpose of the payment. This field might be required for AFT transactions depending on the card's issuer_country. To view a card's issuer_country, retrieve the card's metadata. See the AFT documentation page for more details.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object