Interface KycInfo.Visitor
-
- All Implemented Interfaces:
public interface KycInfo.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitBaseline(KycInfo.Baseline baseline)KYC information for an Entityin the baseline jurisdiction.abstract TvisitUs(KycInfo.Us us)KYC information for an Entityin the US jurisdiction.Tunknown(JsonValue json)Maps an unknown variant of KycInfo to a value of type T. -
-
Method Detail
-
visitBaseline
abstract T visitBaseline(KycInfo.Baseline baseline)
KYC information for an
Entityin the baseline jurisdiction.
-
visitUs
abstract T visitUs(KycInfo.Us us)
KYC information for an
Entityin the US jurisdiction.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of KycInfo to a value of type T.
An instance of KycInfo can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-