Class MasterCardAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.MasterCardAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MasterCardAttributes.Builder,MasterCardAttributes>
@Generated("software.amazon.awssdk:codegen") public final class MasterCardAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MasterCardAttributes.Builder,MasterCardAttributes>
Parameters to derive the confidentiality and integrity keys for a Mastercard payment card.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMasterCardAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationCryptogram()The application cryptogram for the current transaction that is provided by the terminal during transaction processing.static MasterCardAttributes.Builderbuilder()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 the payment card.StringmajorKeyDerivationModeAsString()The method to use when deriving the master key for the payment card.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 MasterCardAttributes.Builder>serializableBuilderClass()MasterCardAttributes.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 the payment card.
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 the payment card.
- See Also:
MajorKeyDerivationMode
-
majorKeyDerivationModeAsString
public final String majorKeyDerivationModeAsString()
The method to use when deriving the master key for the payment card.
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 the payment card.
- 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.
-
applicationCryptogram
public final String applicationCryptogram()
The application cryptogram for the current transaction that is provided by the terminal during transaction processing.
- Returns:
- The application cryptogram for the current transaction that is provided by the terminal during transaction processing.
-
toBuilder
public MasterCardAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MasterCardAttributes.Builder,MasterCardAttributes>
-
builder
public static MasterCardAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends MasterCardAttributes.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
-
-