Class Instruction


  • public final class Instruction
    extends java.lang.Object
    instruction Additional details about the unreferenced refund instruction.
    • Constructor Detail

      • Instruction

        public Instruction()
      • Instruction

        public Instruction​(java.lang.String fundsTransferType,
                           PurposeType purpose)
        Creates a new Instruction instance.
        Parameters:
        fundsTransferType - Required if processing.processing_speed is fast. Value of this field should be based on the destination card scheme: For Visa, use MI For Mastercard, use C60 [Optional]
        purpose - The purpose of the unreferenced refund. This field is required if the card's issuer_country is one of: AR (Argentina) BD (Bangladesh) CL (Chile) CO (Colombia) EG (Egypt) IN (India) MX (Mexico) To view a card's issuer_country, retrieve the card's metadata. [Optional]
    • Method Detail

      • getFundsTransferType

        public java.lang.String getFundsTransferType()
        Required if processing.processing_speed is fast. Value of this field should be based on the destination card scheme: For Visa, use MI For Mastercard, use C60 [Optional]
      • getPurpose

        public PurposeType getPurpose()
        The purpose of the unreferenced refund. This field is required if the card's issuer_country is one of: AR (Argentina) BD (Bangladesh) CL (Chile) CO (Colombia) EG (Egypt) IN (India) MX (Mexico) To view a card's issuer_country, retrieve the card's metadata. [Optional]
      • setFundsTransferType

        public void setFundsTransferType​(java.lang.String fundsTransferType)
        Required if processing.processing_speed is fast. Value of this field should be based on the destination card scheme: For Visa, use MI For Mastercard, use C60 [Optional]
      • setPurpose

        public void setPurpose​(PurposeType purpose)
        The purpose of the unreferenced refund. This field is required if the card's issuer_country is one of: AR (Argentina) BD (Bangladesh) CL (Chile) CO (Colombia) EG (Egypt) IN (India) MX (Mexico) To view a card's issuer_country, retrieve the card's metadata. [Optional]
      • 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