Class CardVerificationAttributes
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CardVerificationAttributes.Builder,CardVerificationAttributes>
Card data parameters that are requried to verify Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the AmexCardSecurityCodeVersion1 property for this object.Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.builder()Card data parameters that are required to verify a cardholder verification value for the payment card.final CardVerificationValue1Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.final CardVerificationValue2Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static CardVerificationAttributesfromAmexCardSecurityCodeVersion1(Consumer<AmexCardSecurityCodeVersion1.Builder> amexCardSecurityCodeVersion1) Create an instance of this class withamexCardSecurityCodeVersion1()initialized to the given value.static CardVerificationAttributesfromAmexCardSecurityCodeVersion1(AmexCardSecurityCodeVersion1 amexCardSecurityCodeVersion1) Create an instance of this class withamexCardSecurityCodeVersion1()initialized to the given value.static CardVerificationAttributesfromAmexCardSecurityCodeVersion2(Consumer<AmexCardSecurityCodeVersion2.Builder> amexCardSecurityCodeVersion2) Create an instance of this class withamexCardSecurityCodeVersion2()initialized to the given value.static CardVerificationAttributesfromAmexCardSecurityCodeVersion2(AmexCardSecurityCodeVersion2 amexCardSecurityCodeVersion2) Create an instance of this class withamexCardSecurityCodeVersion2()initialized to the given value.static CardVerificationAttributesfromCardHolderVerificationValue(Consumer<CardHolderVerificationValue.Builder> cardHolderVerificationValue) Create an instance of this class withcardHolderVerificationValue()initialized to the given value.static CardVerificationAttributesfromCardHolderVerificationValue(CardHolderVerificationValue cardHolderVerificationValue) Create an instance of this class withcardHolderVerificationValue()initialized to the given value.static CardVerificationAttributesfromCardVerificationValue1(Consumer<CardVerificationValue1.Builder> cardVerificationValue1) Create an instance of this class withcardVerificationValue1()initialized to the given value.static CardVerificationAttributesfromCardVerificationValue1(CardVerificationValue1 cardVerificationValue1) Create an instance of this class withcardVerificationValue1()initialized to the given value.static CardVerificationAttributesfromCardVerificationValue2(Consumer<CardVerificationValue2.Builder> cardVerificationValue2) Create an instance of this class withcardVerificationValue2()initialized to the given value.static CardVerificationAttributesfromCardVerificationValue2(CardVerificationValue2 cardVerificationValue2) Create an instance of this class withcardVerificationValue2()initialized to the given value.static CardVerificationAttributesfromDiscoverDynamicCardVerificationCode(Consumer<DiscoverDynamicCardVerificationCode.Builder> discoverDynamicCardVerificationCode) Create an instance of this class withdiscoverDynamicCardVerificationCode()initialized to the given value.static CardVerificationAttributesfromDiscoverDynamicCardVerificationCode(DiscoverDynamicCardVerificationCode discoverDynamicCardVerificationCode) Create an instance of this class withdiscoverDynamicCardVerificationCode()initialized to the given value.static CardVerificationAttributesfromDynamicCardVerificationCode(Consumer<DynamicCardVerificationCode.Builder> dynamicCardVerificationCode) Create an instance of this class withdynamicCardVerificationCode()initialized to the given value.static CardVerificationAttributesfromDynamicCardVerificationCode(DynamicCardVerificationCode dynamicCardVerificationCode) Create an instance of this class withdynamicCardVerificationCode()initialized to the given value.static CardVerificationAttributesfromDynamicCardVerificationValue(Consumer<DynamicCardVerificationValue.Builder> dynamicCardVerificationValue) Create an instance of this class withdynamicCardVerificationValue()initialized to the given value.static CardVerificationAttributesfromDynamicCardVerificationValue(DynamicCardVerificationValue dynamicCardVerificationValue) Create an instance of this class withdynamicCardVerificationValue()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CardVerificationAttributes.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
amexCardSecurityCodeVersion1
Returns the value of the AmexCardSecurityCodeVersion1 property for this object.- Returns:
- The value of the AmexCardSecurityCodeVersion1 property for this object.
-
amexCardSecurityCodeVersion2
Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
- Returns:
- Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
-
cardVerificationValue1
Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
- Returns:
- Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
-
cardVerificationValue2
Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
- Returns:
- Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
-
cardHolderVerificationValue
Card data parameters that are required to verify a cardholder verification value for the payment card.
- Returns:
- Card data parameters that are required to verify a cardholder verification value for the payment card.
-
dynamicCardVerificationCode
Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
- Returns:
- Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
-
dynamicCardVerificationValue
Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
- Returns:
- Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
-
discoverDynamicCardVerificationCode
Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
- Returns:
- Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CardVerificationAttributes.Builder,CardVerificationAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromAmexCardSecurityCodeVersion1
public static CardVerificationAttributes fromAmexCardSecurityCodeVersion1(AmexCardSecurityCodeVersion1 amexCardSecurityCodeVersion1) Create an instance of this class withamexCardSecurityCodeVersion1()initialized to the given value. Sets the value of the AmexCardSecurityCodeVersion1 property for this object.- Parameters:
amexCardSecurityCodeVersion1- The new value for the AmexCardSecurityCodeVersion1 property for this object.
-
fromAmexCardSecurityCodeVersion1
public static CardVerificationAttributes fromAmexCardSecurityCodeVersion1(Consumer<AmexCardSecurityCodeVersion1.Builder> amexCardSecurityCodeVersion1) Create an instance of this class withamexCardSecurityCodeVersion1()initialized to the given value. Sets the value of the AmexCardSecurityCodeVersion1 property for this object.- Parameters:
amexCardSecurityCodeVersion1- The new value for the AmexCardSecurityCodeVersion1 property for this object.
-
fromAmexCardSecurityCodeVersion2
public static CardVerificationAttributes fromAmexCardSecurityCodeVersion2(AmexCardSecurityCodeVersion2 amexCardSecurityCodeVersion2) Create an instance of this class withamexCardSecurityCodeVersion2()initialized to the given value.Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
- Parameters:
amexCardSecurityCodeVersion2- Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
-
fromAmexCardSecurityCodeVersion2
public static CardVerificationAttributes fromAmexCardSecurityCodeVersion2(Consumer<AmexCardSecurityCodeVersion2.Builder> amexCardSecurityCodeVersion2) Create an instance of this class withamexCardSecurityCodeVersion2()initialized to the given value.Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
- Parameters:
amexCardSecurityCodeVersion2- Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
-
fromCardVerificationValue1
public static CardVerificationAttributes fromCardVerificationValue1(CardVerificationValue1 cardVerificationValue1) Create an instance of this class withcardVerificationValue1()initialized to the given value.Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
- Parameters:
cardVerificationValue1- Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
-
fromCardVerificationValue1
public static CardVerificationAttributes fromCardVerificationValue1(Consumer<CardVerificationValue1.Builder> cardVerificationValue1) Create an instance of this class withcardVerificationValue1()initialized to the given value.Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
- Parameters:
cardVerificationValue1- Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
-
fromCardVerificationValue2
public static CardVerificationAttributes fromCardVerificationValue2(CardVerificationValue2 cardVerificationValue2) Create an instance of this class withcardVerificationValue2()initialized to the given value.Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
- Parameters:
cardVerificationValue2- Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
-
fromCardVerificationValue2
public static CardVerificationAttributes fromCardVerificationValue2(Consumer<CardVerificationValue2.Builder> cardVerificationValue2) Create an instance of this class withcardVerificationValue2()initialized to the given value.Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
- Parameters:
cardVerificationValue2- Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
-
fromCardHolderVerificationValue
public static CardVerificationAttributes fromCardHolderVerificationValue(CardHolderVerificationValue cardHolderVerificationValue) Create an instance of this class withcardHolderVerificationValue()initialized to the given value.Card data parameters that are required to verify a cardholder verification value for the payment card.
- Parameters:
cardHolderVerificationValue- Card data parameters that are required to verify a cardholder verification value for the payment card.
-
fromCardHolderVerificationValue
public static CardVerificationAttributes fromCardHolderVerificationValue(Consumer<CardHolderVerificationValue.Builder> cardHolderVerificationValue) Create an instance of this class withcardHolderVerificationValue()initialized to the given value.Card data parameters that are required to verify a cardholder verification value for the payment card.
- Parameters:
cardHolderVerificationValue- Card data parameters that are required to verify a cardholder verification value for the payment card.
-
fromDynamicCardVerificationCode
public static CardVerificationAttributes fromDynamicCardVerificationCode(DynamicCardVerificationCode dynamicCardVerificationCode) Create an instance of this class withdynamicCardVerificationCode()initialized to the given value.Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
- Parameters:
dynamicCardVerificationCode- Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
-
fromDynamicCardVerificationCode
public static CardVerificationAttributes fromDynamicCardVerificationCode(Consumer<DynamicCardVerificationCode.Builder> dynamicCardVerificationCode) Create an instance of this class withdynamicCardVerificationCode()initialized to the given value.Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
- Parameters:
dynamicCardVerificationCode- Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
-
fromDynamicCardVerificationValue
public static CardVerificationAttributes fromDynamicCardVerificationValue(DynamicCardVerificationValue dynamicCardVerificationValue) Create an instance of this class withdynamicCardVerificationValue()initialized to the given value.Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
- Parameters:
dynamicCardVerificationValue- Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
-
fromDynamicCardVerificationValue
public static CardVerificationAttributes fromDynamicCardVerificationValue(Consumer<DynamicCardVerificationValue.Builder> dynamicCardVerificationValue) Create an instance of this class withdynamicCardVerificationValue()initialized to the given value.Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
- Parameters:
dynamicCardVerificationValue- Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
-
fromDiscoverDynamicCardVerificationCode
public static CardVerificationAttributes fromDiscoverDynamicCardVerificationCode(DiscoverDynamicCardVerificationCode discoverDynamicCardVerificationCode) Create an instance of this class withdiscoverDynamicCardVerificationCode()initialized to the given value.Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
- Parameters:
discoverDynamicCardVerificationCode- Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
-
fromDiscoverDynamicCardVerificationCode
public static CardVerificationAttributes fromDiscoverDynamicCardVerificationCode(Consumer<DiscoverDynamicCardVerificationCode.Builder> discoverDynamicCardVerificationCode) Create an instance of this class withdiscoverDynamicCardVerificationCode()initialized to the given value.Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
- Parameters:
discoverDynamicCardVerificationCode- Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beCardVerificationAttributes.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 beCardVerificationAttributes.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-