Class TokenDestination
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.AbstractDestination
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.tokendestination.TokenDestination
-
public final class TokenDestination extends AbstractDestination
token destination Class The destination of the unreferenced refund.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTokenDestination.TokenDestinationBuilder
-
Field Summary
-
Fields inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.AbstractDestination
type
-
-
Constructor Summary
Constructors Constructor Description TokenDestination()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenDestination.TokenDestinationBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AbstractAccountHoldergetAccountHolder()The unreferenced refund destination account holder.java.lang.StringgetToken()The Checkout.com card token ID.inthashCode()voidsetAccountHolder(AbstractAccountHolder accountHolder)The unreferenced refund destination account holder.voidsetToken(java.lang.String token)The Checkout.com card token ID.java.lang.StringtoString()-
Methods inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.AbstractDestination
getType
-
-
-
-
Method Detail
-
builder
public static TokenDestination.TokenDestinationBuilder builder()
-
getToken
public java.lang.String getToken()
The Checkout.com card token ID. This will be an ID with the prefix tok_. [Required] ^(tok)_(\w{26})$ 30 characters
-
getAccountHolder
public AbstractAccountHolder getAccountHolder()
The unreferenced refund destination account holder. [Optional]
-
setToken
public void setToken(java.lang.String token)
The Checkout.com card token ID. This will be an ID with the prefix tok_. [Required] ^(tok)_(\w{26})$ 30 characters
-
setAccountHolder
public void setAccountHolder(AbstractAccountHolder accountHolder)
The unreferenced refund destination account holder. [Optional]
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractDestination
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractDestination
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDestination
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractDestination
-
-