Struct aws_sdk_paymentcryptographydata::types::builders::DynamicCardVerificationValueBuilder
source · #[non_exhaustive]pub struct DynamicCardVerificationValueBuilder { /* private fields */ }
Expand description
A builder for DynamicCardVerificationValue
.
Implementations§
source§impl DynamicCardVerificationValueBuilder
impl DynamicCardVerificationValueBuilder
sourcepub fn pan_sequence_number(self, input: impl Into<String>) -> Self
pub fn pan_sequence_number(self, input: impl Into<String>) -> Self
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
This field is required.sourcepub fn set_pan_sequence_number(self, input: Option<String>) -> Self
pub fn set_pan_sequence_number(self, input: Option<String>) -> Self
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
sourcepub fn get_pan_sequence_number(&self) -> &Option<String>
pub fn get_pan_sequence_number(&self) -> &Option<String>
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
sourcepub fn card_expiry_date(self, input: impl Into<String>) -> Self
pub fn card_expiry_date(self, input: impl Into<String>) -> Self
The expiry date of a payment card.
This field is required.sourcepub fn set_card_expiry_date(self, input: Option<String>) -> Self
pub fn set_card_expiry_date(self, input: Option<String>) -> Self
The expiry date of a payment card.
sourcepub fn get_card_expiry_date(&self) -> &Option<String>
pub fn get_card_expiry_date(&self) -> &Option<String>
The expiry date of a payment card.
sourcepub fn service_code(self, input: impl Into<String>) -> Self
pub fn service_code(self, input: impl Into<String>) -> Self
The service code of the payment card. This is different from Card Security Code (CSC).
This field is required.sourcepub fn set_service_code(self, input: Option<String>) -> Self
pub fn set_service_code(self, input: Option<String>) -> Self
The service code of the payment card. This is different from Card Security Code (CSC).
sourcepub fn get_service_code(&self) -> &Option<String>
pub fn get_service_code(&self) -> &Option<String>
The service code of the payment card. This is different from Card Security Code (CSC).
sourcepub fn application_transaction_counter(self, input: impl Into<String>) -> Self
pub fn application_transaction_counter(self, input: impl Into<String>) -> Self
The transaction counter value that comes from the terminal.
This field is required.sourcepub fn set_application_transaction_counter(self, input: Option<String>) -> Self
pub fn set_application_transaction_counter(self, input: Option<String>) -> Self
The transaction counter value that comes from the terminal.
sourcepub fn get_application_transaction_counter(&self) -> &Option<String>
pub fn get_application_transaction_counter(&self) -> &Option<String>
The transaction counter value that comes from the terminal.
sourcepub fn build(self) -> Result<DynamicCardVerificationValue, BuildError>
pub fn build(self) -> Result<DynamicCardVerificationValue, BuildError>
Consumes the builder and constructs a DynamicCardVerificationValue
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DynamicCardVerificationValueBuilder
impl Clone for DynamicCardVerificationValueBuilder
source§fn clone(&self) -> DynamicCardVerificationValueBuilder
fn clone(&self) -> DynamicCardVerificationValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DynamicCardVerificationValueBuilder
impl Default for DynamicCardVerificationValueBuilder
source§fn default() -> DynamicCardVerificationValueBuilder
fn default() -> DynamicCardVerificationValueBuilder
source§impl PartialEq for DynamicCardVerificationValueBuilder
impl PartialEq for DynamicCardVerificationValueBuilder
source§fn eq(&self, other: &DynamicCardVerificationValueBuilder) -> bool
fn eq(&self, other: &DynamicCardVerificationValueBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DynamicCardVerificationValueBuilder
Auto Trait Implementations§
impl Freeze for DynamicCardVerificationValueBuilder
impl RefUnwindSafe for DynamicCardVerificationValueBuilder
impl Send for DynamicCardVerificationValueBuilder
impl Sync for DynamicCardVerificationValueBuilder
impl Unpin for DynamicCardVerificationValueBuilder
impl UnwindSafe for DynamicCardVerificationValueBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more