Class Instruction
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.instruction.Instruction
-
public final class Instruction extends java.lang.Objectinstruction Additional details about the unreferenced refund instruction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstruction.InstructionBuilder
-
Constructor Summary
Constructors Constructor Description Instruction()Instruction(java.lang.String fundsTransferType, 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)java.lang.StringgetFundsTransferType()Required if processing.processing_speed is fast.PurposeTypegetPurpose()The purpose of the unreferenced refund.inthashCode()voidsetFundsTransferType(java.lang.String fundsTransferType)Required if processing.processing_speed is fast.voidsetPurpose(PurposeType purpose)The purpose of the unreferenced refund.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Instruction
public Instruction()
-
Instruction
public Instruction(java.lang.String fundsTransferType, PurposeType purpose)Creates a newInstructioninstance.- 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
-
builder
public static Instruction.InstructionBuilder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-