Package io.moov.sdk.models.components
Class GeneratedBy
- java.lang.Object
-
- io.moov.sdk.models.components.GeneratedBy
-
public class GeneratedBy extends java.lang.ObjectGeneratedByThe entity that generated the fee.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneratedBy._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static GeneratedByof(GeneratedByAccountID value)static GeneratedByof(GeneratedByBankAccountID value)static GeneratedByof(GeneratedByCardID value)static GeneratedByof(GeneratedByDisputeID value)static GeneratedByof(GeneratedByTransferID value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:io.moov.sdk.models.components.GeneratedByTransferIDio.moov.sdk.models.components.GeneratedByCardIDio.moov.sdk.models.components.GeneratedByDisputeIDio.moov.sdk.models.components.GeneratedByAccountIDio.moov.sdk.models.components.GeneratedByBankAccountID
-
-
-
Method Detail
-
of
public static GeneratedBy of(GeneratedByTransferID value)
-
of
public static GeneratedBy of(GeneratedByCardID value)
-
of
public static GeneratedBy of(GeneratedByDisputeID value)
-
of
public static GeneratedBy of(GeneratedByAccountID value)
-
of
public static GeneratedBy of(GeneratedByBankAccountID value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:io.moov.sdk.models.components.GeneratedByTransferIDio.moov.sdk.models.components.GeneratedByCardIDio.moov.sdk.models.components.GeneratedByDisputeIDio.moov.sdk.models.components.GeneratedByAccountIDio.moov.sdk.models.components.GeneratedByBankAccountID
Use
instanceofto determine what type is returned. For example:if (obj.value() instanceof String) { String answer = (String) obj.value(); System.out.println("answer=" + answer); }- Returns:
- value of oneOf type
-
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
-
-