@Generated(value="software.amazon.awssdk:codegen") public final class PinData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PinData.Builder,PinData>
Parameters that are required to generate, translate, or verify PIN data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PinData.Builder |
static class |
PinData.Type |
| Modifier and Type | Method and Description |
|---|---|
static PinData.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static PinData |
fromPinOffset(String pinOffset)
Create an instance of this class with
pinOffset() initialized to the given value. |
static PinData |
fromVerificationValue(String verificationValue)
Create an instance of this class with
verificationValue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
pinOffset()
The PIN offset value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PinData.Builder> |
serializableBuilderClass() |
PinData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PinData.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
String |
verificationValue()
The unique data to identify a cardholder.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String pinOffset()
The PIN offset value.
public final String verificationValue()
The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account Number (PAN). If a value is not provided, it defaults to PAN.
public PinData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PinData.Builder,PinData>public static PinData.Builder builder()
public static Class<? extends PinData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static PinData fromPinOffset(String pinOffset)
pinOffset() initialized to the given value.
The PIN offset value.
pinOffset - The PIN offset value.public static PinData fromVerificationValue(String verificationValue)
verificationValue() initialized to the given value.
The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account Number (PAN). If a value is not provided, it defaults to PAN.
verificationValue - The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account
Number (PAN). If a value is not provided, it defaults to PAN.public PinData.Type type()
PinData.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be PinData.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.