Class CurrencyAccountSource
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.common.source.AbstractSource
-
- com.checkout.handlepaymentsandpayouts.payments.common.source.currencyaccountsource.CurrencyAccountSource
-
public final class CurrencyAccountSource extends AbstractSource
currency_account source Class The source of the payment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCurrencyAccountSource.CurrencyAccountSourceBuilder
-
Field Summary
-
Fields inherited from class com.checkout.handlepaymentsandpayouts.payments.common.source.AbstractSource
type
-
-
Constructor Summary
Constructors Constructor Description CurrencyAccountSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CurrencyAccountSource.CurrencyAccountSourceBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetAmount()If specified, indicates the amount in the source currency to be paid out.java.lang.StringgetId()The ID of the currency account [Required] ^(ca)_(\w{26})$inthashCode()voidsetAmount(java.lang.Integer amount)If specified, indicates the amount in the source currency to be paid out.voidsetId(java.lang.String id)The ID of the currency account [Required] ^(ca)_(\w{26})$java.lang.StringtoString()-
Methods inherited from class com.checkout.handlepaymentsandpayouts.payments.common.source.AbstractSource
getType
-
-
-
-
Method Detail
-
builder
public static CurrencyAccountSource.CurrencyAccountSourceBuilder builder()
-
getId
public java.lang.String getId()
The ID of the currency account [Required] ^(ca)_(\w{26})$
-
getAmount
public java.lang.Integer getAmount()
If specified, indicates the amount in the source currency to be paid out. If omitted, the root amount in the destination currency will be used. The amount must be provided in the minor currency unit. [Optional]
-
setId
public void setId(java.lang.String id)
The ID of the currency account [Required] ^(ca)_(\w{26})$
-
setAmount
public void setAmount(java.lang.Integer amount)
If specified, indicates the amount in the source currency to be paid out. If omitted, the root amount in the destination currency will be used. The amount must be provided in the minor currency unit. [Optional]
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractSource
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractSource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractSource
-
-