Class Source
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.source.Source
-
public final class Source extends java.lang.Objectsource The source of the unreferenced refund.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSource.SourceBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Source.SourceBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetId()The ID of the currency account that will fund the unreferenced refund.java.lang.StringgetType()The unreferenced refund source type.inthashCode()voidsetId(java.lang.String id)The ID of the currency account that will fund the unreferenced refund.voidsetType(java.lang.String type)The unreferenced refund source type.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Source
public Source()
-
Source
public Source(java.lang.String type, java.lang.String id)Creates a newSourceinstance.- Parameters:
type- The unreferenced refund source type. [Required]id- The ID of the currency account that will fund the unreferenced refund. [Required] ^(ca)_(\w{26})$ 29 characters
-
-
Method Detail
-
builder
public static Source.SourceBuilder builder()
-
getType
public java.lang.String getType()
The unreferenced refund source type. [Required]
-
getId
public java.lang.String getId()
The ID of the currency account that will fund the unreferenced refund. [Required] ^(ca)_(\w{26})$ 29 characters
-
setType
public void setType(java.lang.String type)
The unreferenced refund source type. [Required]
-
setId
public void setId(java.lang.String id)
The ID of the currency account that will fund the unreferenced refund. [Required] ^(ca)_(\w{26})$ 29 characters
-
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
-
-