Class IdDestination
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.AbstractDestination
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.iddestination.IdDestination
-
public final class IdDestination extends AbstractDestination
id destination Class The destination of the unreferenced refund.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdDestination.IdDestinationBuilder
-
Field Summary
-
Fields inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.AbstractDestination
type
-
-
Constructor Summary
Constructors Constructor Description IdDestination()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdDestination.IdDestinationBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AbstractAccountHoldergetAccountHolder()The unreferenced refund destination account holder.java.lang.StringgetId()The payment source ID.inthashCode()voidsetAccountHolder(AbstractAccountHolder accountHolder)The unreferenced refund destination account holder.voidsetId(java.lang.String id)The payment source ID.java.lang.StringtoString()-
Methods inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.AbstractDestination
getType
-
-
-
-
Method Detail
-
builder
public static IdDestination.IdDestinationBuilder builder()
-
getId
public java.lang.String getId()
The payment source ID. This will be an ID with the prefix src_. [Required] ^(src)_(\w{26})$ 30 characters
-
getAccountHolder
public AbstractAccountHolder getAccountHolder()
The unreferenced refund destination account holder. [Optional]
-
setId
public void setId(java.lang.String id)
The payment source ID. This will be an ID with the prefix src_. [Required] ^(src)_(\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
-
-