Class Instruction
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.requests.Instruction
-
public final class Instruction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstruction.InstructionBuilder
-
Constructor Summary
Constructors Constructor Description Instruction()Instruction(PurposeType purpose)Creates a newInstructioninstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Instruction.InstructionBuilderbuilder()booleanequals(java.lang.Object o)PurposeTypegetPurpose()The purpose of the payment.inthashCode()voidsetPurpose(PurposeType purpose)The purpose of the payment.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Instruction
public Instruction()
-
Instruction
public Instruction(PurposeType purpose)
Creates a newInstructioninstance.- 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
-
builder
public static Instruction.InstructionBuilder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-