Class Destination
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponseaccepted.destination.Destination
-
public final class Destination extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDestination.DestinationBuilder
-
Constructor Summary
Constructors Constructor Description Destination()Destination(AccountHolder accountHolder)Creates a newDestinationinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Destination.DestinationBuilderbuilder()booleanequals(java.lang.Object o)AccountHoldergetAccountHolder()The account holder details.inthashCode()voidsetAccountHolder(AccountHolder accountHolder)The account holder details.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Destination
public Destination()
-
Destination
public Destination(AccountHolder accountHolder)
Creates a newDestinationinstance.- Parameters:
accountHolder- The account holder details.
-
-
Method Detail
-
builder
public static Destination.DestinationBuilder builder()
-
getAccountHolder
public AccountHolder getAccountHolder()
The account holder details.
-
setAccountHolder
public void setAccountHolder(AccountHolder accountHolder)
The account holder 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
-
-