Class PayoutRequestSource
- java.lang.Object
-
- com.checkout.payments.request.source.PayoutRequestSource
-
- Direct Known Subclasses:
PayoutRequestCurrencyAccountSource,PayoutRequestEntitySource
public abstract class PayoutRequestSource extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Longamountprotected PayoutSourceTypetype
-
Constructor Summary
Constructors Modifier Constructor Description protectedPayoutRequestSource(PayoutSourceType type)PayoutRequestSource(PayoutSourceType type, java.lang.Long amount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()PayoutSourceTypegetType()inthashCode()voidsetAmount(java.lang.Long amount)voidsetType(PayoutSourceType type)java.lang.StringtoString()
-
-
-
Field Detail
-
type
protected PayoutSourceType type
-
amount
protected java.lang.Long amount
-
-
Constructor Detail
-
PayoutRequestSource
protected PayoutRequestSource(PayoutSourceType type)
-
PayoutRequestSource
public PayoutRequestSource(PayoutSourceType type, java.lang.Long amount)
-
-
Method Detail
-
getType
public PayoutSourceType getType()
-
getAmount
public java.lang.Long getAmount()
-
setType
public void setType(PayoutSourceType type)
-
setAmount
public void setAmount(java.lang.Long amount)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-