Class PinData
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.PinData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PinData.Builder,PinData>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePinData.Builderstatic classPinData.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PinData.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static PinDatafromPinOffset(String pinOffset)Create an instance of this class withpinOffset()initialized to the given value.static PinDatafromVerificationValue(String verificationValue)Create an instance of this class withverificationValue()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpinOffset()The PIN offset value.List<SdkField<?>>sdkFields()static Class<? extends PinData.Builder>serializableBuilderClass()PinData.BuildertoBuilder()StringtoString()Returns a string representation of this object.PinData.Typetype()Retrieve an enum value representing which member of this object is populated.StringverificationValue()The unique data to identify a cardholder.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
pinOffset
public final String pinOffset()
The PIN offset value.
- Returns:
- The PIN offset value.
-
verificationValue
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.
- Returns:
- 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.
-
toBuilder
public PinData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PinData.Builder,PinData>
-
builder
public static PinData.Builder builder()
-
serializableBuilderClass
public static Class<? extends PinData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromPinOffset
public static PinData fromPinOffset(String pinOffset)
Create an instance of this class withpinOffset()initialized to the given value.The PIN offset value.
- Parameters:
pinOffset- The PIN offset value.
-
fromVerificationValue
public static PinData fromVerificationValue(String verificationValue)
Create an instance of this class withverificationValue()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.
- Parameters:
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.
-
type
public PinData.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will bePinData.Type.UNKNOWN_TO_SDK_VERSIONif 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 bePinData.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-