Class AmexAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.AmexAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AmexAttributes.Builder,AmexAttributes>
@Generated("software.amazon.awssdk:codegen") public final class AmexAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AmexAttributes.Builder,AmexAttributes>
Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAmexAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationTransactionCounter()The transaction counter of the current transaction that is provided by the terminal during transaction processing.StringauthorizationRequestKeyIdentifier()ThekeyArnof the issuer master key for cryptogram (IMK-AC) for the payment card.static AmexAttributes.Builderbuilder()CurrentPinAttributescurrentPinAttributes()The encrypted pinblock of the old pin stored on the chip card.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MajorKeyDerivationModemajorKeyDerivationMode()The method to use when deriving the master key for a payment card using Amex derivation.StringmajorKeyDerivationModeAsString()The method to use when deriving the master key for a payment card using Amex derivation.StringpanSequenceNumber()A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).StringprimaryAccountNumber()The Primary Account Number (PAN) of the cardholder.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AmexAttributes.Builder>serializableBuilderClass()AmexAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
majorKeyDerivationMode
public final MajorKeyDerivationMode majorKeyDerivationMode()
The method to use when deriving the master key for a payment card using Amex derivation.
If the service returns an enum value that is not available in the current SDK version,
majorKeyDerivationModewill returnMajorKeyDerivationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommajorKeyDerivationModeAsString().- Returns:
- The method to use when deriving the master key for a payment card using Amex derivation.
- See Also:
MajorKeyDerivationMode
-
majorKeyDerivationModeAsString
public final String majorKeyDerivationModeAsString()
The method to use when deriving the master key for a payment card using Amex derivation.
If the service returns an enum value that is not available in the current SDK version,
majorKeyDerivationModewill returnMajorKeyDerivationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommajorKeyDerivationModeAsString().- Returns:
- The method to use when deriving the master key for a payment card using Amex derivation.
- See Also:
MajorKeyDerivationMode
-
primaryAccountNumber
public final String primaryAccountNumber()
The Primary Account Number (PAN) of the cardholder.
- Returns:
- The Primary Account Number (PAN) of the cardholder.
-
panSequenceNumber
public final String panSequenceNumber()
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.
- Returns:
- A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.
-
applicationTransactionCounter
public final String applicationTransactionCounter()
The transaction counter of the current transaction that is provided by the terminal during transaction processing.
- Returns:
- The transaction counter of the current transaction that is provided by the terminal during transaction processing.
-
authorizationRequestKeyIdentifier
public final String authorizationRequestKeyIdentifier()
The
keyArnof the issuer master key for cryptogram (IMK-AC) for the payment card.- Returns:
- The
keyArnof the issuer master key for cryptogram (IMK-AC) for the payment card.
-
currentPinAttributes
public final CurrentPinAttributes currentPinAttributes()
The encrypted pinblock of the old pin stored on the chip card.
- Returns:
- The encrypted pinblock of the old pin stored on the chip card.
-
toBuilder
public AmexAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AmexAttributes.Builder,AmexAttributes>
-
builder
public static AmexAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends AmexAttributes.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-