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 interface
static 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 CardVerificationValue1
Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.final CardVerificationValue2
Card 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 boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static CardVerificationAttributes
fromAmexCardSecurityCodeVersion1
(Consumer<AmexCardSecurityCodeVersion1.Builder> amexCardSecurityCodeVersion1) Create an instance of this class withamexCardSecurityCodeVersion1()
initialized to the given value.static CardVerificationAttributes
fromAmexCardSecurityCodeVersion1
(AmexCardSecurityCodeVersion1 amexCardSecurityCodeVersion1) Create an instance of this class withamexCardSecurityCodeVersion1()
initialized to the given value.static CardVerificationAttributes
fromAmexCardSecurityCodeVersion2
(Consumer<AmexCardSecurityCodeVersion2.Builder> amexCardSecurityCodeVersion2) Create an instance of this class withamexCardSecurityCodeVersion2()
initialized to the given value.static CardVerificationAttributes
fromAmexCardSecurityCodeVersion2
(AmexCardSecurityCodeVersion2 amexCardSecurityCodeVersion2) Create an instance of this class withamexCardSecurityCodeVersion2()
initialized to the given value.static CardVerificationAttributes
fromCardHolderVerificationValue
(Consumer<CardHolderVerificationValue.Builder> cardHolderVerificationValue) Create an instance of this class withcardHolderVerificationValue()
initialized to the given value.static CardVerificationAttributes
fromCardHolderVerificationValue
(CardHolderVerificationValue cardHolderVerificationValue) Create an instance of this class withcardHolderVerificationValue()
initialized to the given value.static CardVerificationAttributes
fromCardVerificationValue1
(Consumer<CardVerificationValue1.Builder> cardVerificationValue1) Create an instance of this class withcardVerificationValue1()
initialized to the given value.static CardVerificationAttributes
fromCardVerificationValue1
(CardVerificationValue1 cardVerificationValue1) Create an instance of this class withcardVerificationValue1()
initialized to the given value.static CardVerificationAttributes
fromCardVerificationValue2
(Consumer<CardVerificationValue2.Builder> cardVerificationValue2) Create an instance of this class withcardVerificationValue2()
initialized to the given value.static CardVerificationAttributes
fromCardVerificationValue2
(CardVerificationValue2 cardVerificationValue2) Create an instance of this class withcardVerificationValue2()
initialized to the given value.static CardVerificationAttributes
fromDiscoverDynamicCardVerificationCode
(Consumer<DiscoverDynamicCardVerificationCode.Builder> discoverDynamicCardVerificationCode) Create an instance of this class withdiscoverDynamicCardVerificationCode()
initialized to the given value.static CardVerificationAttributes
fromDiscoverDynamicCardVerificationCode
(DiscoverDynamicCardVerificationCode discoverDynamicCardVerificationCode) Create an instance of this class withdiscoverDynamicCardVerificationCode()
initialized to the given value.static CardVerificationAttributes
fromDynamicCardVerificationCode
(Consumer<DynamicCardVerificationCode.Builder> dynamicCardVerificationCode) Create an instance of this class withdynamicCardVerificationCode()
initialized to the given value.static CardVerificationAttributes
fromDynamicCardVerificationCode
(DynamicCardVerificationCode dynamicCardVerificationCode) Create an instance of this class withdynamicCardVerificationCode()
initialized to the given value.static CardVerificationAttributes
fromDynamicCardVerificationValue
(Consumer<DynamicCardVerificationValue.Builder> dynamicCardVerificationValue) Create an instance of this class withdynamicCardVerificationValue()
initialized to the given value.static CardVerificationAttributes
fromDynamicCardVerificationValue
(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 int
hashCode()
static Class
<? extends CardVerificationAttributes.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CardVerificationAttributes.Builder,
CardVerificationAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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_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 beCardVerificationAttributes.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-