Struct aws_sdk_paymentcryptographydata::operation::verify_pin_data::builders::VerifyPinDataInputBuilder
source · #[non_exhaustive]pub struct VerifyPinDataInputBuilder { /* private fields */ }
Expand description
A builder for VerifyPinDataInput
.
Implementations§
source§impl VerifyPinDataInputBuilder
impl VerifyPinDataInputBuilder
sourcepub fn verification_key_identifier(self, input: impl Into<String>) -> Self
pub fn verification_key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the PIN verification key.
sourcepub fn set_verification_key_identifier(self, input: Option<String>) -> Self
pub fn set_verification_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the PIN verification key.
sourcepub fn get_verification_key_identifier(&self) -> &Option<String>
pub fn get_verification_key_identifier(&self) -> &Option<String>
The keyARN
of the PIN verification key.
sourcepub fn encryption_key_identifier(self, input: impl Into<String>) -> Self
pub fn encryption_key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
sourcepub fn set_encryption_key_identifier(self, input: Option<String>) -> Self
pub fn set_encryption_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
sourcepub fn get_encryption_key_identifier(&self) -> &Option<String>
pub fn get_encryption_key_identifier(&self) -> &Option<String>
The keyARN
of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
sourcepub fn verification_attributes(self, input: PinVerificationAttributes) -> Self
pub fn verification_attributes(self, input: PinVerificationAttributes) -> Self
The attributes and values for PIN data verification.
This field is required.sourcepub fn set_verification_attributes(
self,
input: Option<PinVerificationAttributes>
) -> Self
pub fn set_verification_attributes( self, input: Option<PinVerificationAttributes> ) -> Self
The attributes and values for PIN data verification.
sourcepub fn get_verification_attributes(&self) -> &Option<PinVerificationAttributes>
pub fn get_verification_attributes(&self) -> &Option<PinVerificationAttributes>
The attributes and values for PIN data verification.
sourcepub fn encrypted_pin_block(self, input: impl Into<String>) -> Self
pub fn encrypted_pin_block(self, input: impl Into<String>) -> Self
The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
This field is required.sourcepub fn set_encrypted_pin_block(self, input: Option<String>) -> Self
pub fn set_encrypted_pin_block(self, input: Option<String>) -> Self
The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
sourcepub fn get_encrypted_pin_block(&self) -> &Option<String>
pub fn get_encrypted_pin_block(&self) -> &Option<String>
The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
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.
This field is required.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 pin_block_format(self, input: PinBlockFormatForPinData) -> Self
pub fn pin_block_format(self, input: PinBlockFormatForPinData) -> Self
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.
The ISO_Format_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
sourcepub fn set_pin_block_format(
self,
input: Option<PinBlockFormatForPinData>
) -> Self
pub fn set_pin_block_format( self, input: Option<PinBlockFormatForPinData> ) -> Self
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.
The ISO_Format_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
sourcepub fn get_pin_block_format(&self) -> &Option<PinBlockFormatForPinData>
pub fn get_pin_block_format(&self) -> &Option<PinBlockFormatForPinData>
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.
The ISO_Format_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
sourcepub fn pin_data_length(self, input: i32) -> Self
pub fn pin_data_length(self, input: i32) -> Self
The length of PIN being verified.
sourcepub fn set_pin_data_length(self, input: Option<i32>) -> Self
pub fn set_pin_data_length(self, input: Option<i32>) -> Self
The length of PIN being verified.
sourcepub fn get_pin_data_length(&self) -> &Option<i32>
pub fn get_pin_data_length(&self) -> &Option<i32>
The length of PIN being verified.
sourcepub fn dukpt_attributes(self, input: DukptAttributes) -> Self
pub fn dukpt_attributes(self, input: DukptAttributes) -> Self
The attributes and values for the DUKPT encrypted PIN block data.
sourcepub fn set_dukpt_attributes(self, input: Option<DukptAttributes>) -> Self
pub fn set_dukpt_attributes(self, input: Option<DukptAttributes>) -> Self
The attributes and values for the DUKPT encrypted PIN block data.
sourcepub fn get_dukpt_attributes(&self) -> &Option<DukptAttributes>
pub fn get_dukpt_attributes(&self) -> &Option<DukptAttributes>
The attributes and values for the DUKPT encrypted PIN block data.
sourcepub fn build(self) -> Result<VerifyPinDataInput, BuildError>
pub fn build(self) -> Result<VerifyPinDataInput, BuildError>
Consumes the builder and constructs a VerifyPinDataInput
.
source§impl VerifyPinDataInputBuilder
impl VerifyPinDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<VerifyPinDataOutput, SdkError<VerifyPinDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<VerifyPinDataOutput, SdkError<VerifyPinDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for VerifyPinDataInputBuilder
impl Clone for VerifyPinDataInputBuilder
source§fn clone(&self) -> VerifyPinDataInputBuilder
fn clone(&self) -> VerifyPinDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VerifyPinDataInputBuilder
impl Debug for VerifyPinDataInputBuilder
source§impl Default for VerifyPinDataInputBuilder
impl Default for VerifyPinDataInputBuilder
source§fn default() -> VerifyPinDataInputBuilder
fn default() -> VerifyPinDataInputBuilder
source§impl PartialEq for VerifyPinDataInputBuilder
impl PartialEq for VerifyPinDataInputBuilder
source§fn eq(&self, other: &VerifyPinDataInputBuilder) -> bool
fn eq(&self, other: &VerifyPinDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.