Struct aws_sdk_paymentcryptographydata::operation::verify_card_validation_data::builders::VerifyCardValidationDataFluentBuilder
source · pub struct VerifyCardValidationDataFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to VerifyCardValidationData
.
Verifies card-related validation data using algorithms such as Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2) and Card Security Codes (CSC). For more information, see Verify card data in the Amazon Web Services Payment Cryptography User Guide.
This operation validates the CVV or CSC codes that is printed on a payment credit or debit card during card payment transaction. The input values are typically provided as part of an inbound transaction to an issuer or supporting platform partner. Amazon Web Services Payment Cryptography uses CVV or CSC, PAN (Primary Account Number) and expiration date of the card to check its validity during transaction processing. In this operation, the CVK (Card Verification Key) encryption key for use with card data verification is same as the one in used for GenerateCardValidationData
.
For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
-
GenerateCardValidationData
-
VerifyAuthRequestCryptogram
-
VerifyPinData
Implementations§
source§impl VerifyCardValidationDataFluentBuilder
impl VerifyCardValidationDataFluentBuilder
sourcepub fn as_input(&self) -> &VerifyCardValidationDataInputBuilder
pub fn as_input(&self) -> &VerifyCardValidationDataInputBuilder
Access the VerifyCardValidationData as a reference.
sourcepub async fn send(
self
) -> Result<VerifyCardValidationDataOutput, SdkError<VerifyCardValidationDataError, HttpResponse>>
pub async fn send( self ) -> Result<VerifyCardValidationDataOutput, SdkError<VerifyCardValidationDataError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<VerifyCardValidationDataOutput, VerifyCardValidationDataError, Self>
pub fn customize( self ) -> CustomizableOperation<VerifyCardValidationDataOutput, VerifyCardValidationDataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data.
sourcepub fn primary_account_number(self, input: impl Into<String>) -> Self
pub fn primary_account_number(self, input: impl Into<String>) -> Self
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn set_primary_account_number(self, input: Option<String>) -> Self
pub fn set_primary_account_number(self, input: Option<String>) -> Self
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn get_primary_account_number(&self) -> &Option<String>
pub fn get_primary_account_number(&self) -> &Option<String>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn verification_attributes(self, input: CardVerificationAttributes) -> Self
pub fn verification_attributes(self, input: CardVerificationAttributes) -> Self
The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
sourcepub fn set_verification_attributes(
self,
input: Option<CardVerificationAttributes>
) -> Self
pub fn set_verification_attributes( self, input: Option<CardVerificationAttributes> ) -> Self
The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
sourcepub fn get_verification_attributes(&self) -> &Option<CardVerificationAttributes>
pub fn get_verification_attributes(&self) -> &Option<CardVerificationAttributes>
The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
sourcepub fn validation_data(self, input: impl Into<String>) -> Self
pub fn validation_data(self, input: impl Into<String>) -> Self
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
sourcepub fn set_validation_data(self, input: Option<String>) -> Self
pub fn set_validation_data(self, input: Option<String>) -> Self
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
sourcepub fn get_validation_data(&self) -> &Option<String>
pub fn get_validation_data(&self) -> &Option<String>
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
Trait Implementations§
source§impl Clone for VerifyCardValidationDataFluentBuilder
impl Clone for VerifyCardValidationDataFluentBuilder
source§fn clone(&self) -> VerifyCardValidationDataFluentBuilder
fn clone(&self) -> VerifyCardValidationDataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more