Struct aws_sdk_paymentcryptographydata::operation::generate_card_validation_data::GenerateCardValidationDataInput
source · #[non_exhaustive]pub struct GenerateCardValidationDataInput {
pub key_identifier: Option<String>,
pub primary_account_number: Option<String>,
pub generation_attributes: Option<CardGenerationAttributes>,
pub validation_data_length: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_identifier: Option<String>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
primary_account_number: 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.
generation_attributes: Option<CardGenerationAttributes>
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
validation_data_length: Option<i32>
The length of the CVV or CSC to be generated. The default value is 3.
Implementations§
source§impl GenerateCardValidationDataInput
impl GenerateCardValidationDataInput
sourcepub fn key_identifier(&self) -> Option<&str>
pub fn key_identifier(&self) -> Option<&str>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
sourcepub fn primary_account_number(&self) -> Option<&str>
pub fn primary_account_number(&self) -> Option<&str>
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 generation_attributes(&self) -> Option<&CardGenerationAttributes>
pub fn generation_attributes(&self) -> Option<&CardGenerationAttributes>
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
sourcepub fn validation_data_length(&self) -> Option<i32>
pub fn validation_data_length(&self) -> Option<i32>
The length of the CVV or CSC to be generated. The default value is 3.
source§impl GenerateCardValidationDataInput
impl GenerateCardValidationDataInput
sourcepub fn builder() -> GenerateCardValidationDataInputBuilder
pub fn builder() -> GenerateCardValidationDataInputBuilder
Creates a new builder-style object to manufacture GenerateCardValidationDataInput
.
Trait Implementations§
source§impl Clone for GenerateCardValidationDataInput
impl Clone for GenerateCardValidationDataInput
source§fn clone(&self) -> GenerateCardValidationDataInput
fn clone(&self) -> GenerateCardValidationDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GenerateCardValidationDataInput
impl PartialEq for GenerateCardValidationDataInput
source§fn eq(&self, other: &GenerateCardValidationDataInput) -> bool
fn eq(&self, other: &GenerateCardValidationDataInput) -> bool
self
and other
values to be equal, and is used
by ==
.