#[non_exhaustive]pub struct CardHolderVerificationValueBuilder { /* private fields */ }
Expand description
A builder for CardHolderVerificationValue
.
Implementations§
source§impl CardHolderVerificationValueBuilder
impl CardHolderVerificationValueBuilder
sourcepub fn unpredictable_number(self, input: impl Into<String>) -> Self
pub fn unpredictable_number(self, input: impl Into<String>) -> Self
A random number generated by the issuer.
This field is required.sourcepub fn set_unpredictable_number(self, input: Option<String>) -> Self
pub fn set_unpredictable_number(self, input: Option<String>) -> Self
A random number generated by the issuer.
sourcepub fn get_unpredictable_number(&self) -> &Option<String>
pub fn get_unpredictable_number(&self) -> &Option<String>
A random number generated by the issuer.
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 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 a point of sale 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 a point of sale 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 a point of sale terminal.
sourcepub fn build(self) -> Result<CardHolderVerificationValue, BuildError>
pub fn build(self) -> Result<CardHolderVerificationValue, BuildError>
Consumes the builder and constructs a CardHolderVerificationValue
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CardHolderVerificationValueBuilder
impl Clone for CardHolderVerificationValueBuilder
source§fn clone(&self) -> CardHolderVerificationValueBuilder
fn clone(&self) -> CardHolderVerificationValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CardHolderVerificationValueBuilder
impl Default for CardHolderVerificationValueBuilder
source§fn default() -> CardHolderVerificationValueBuilder
fn default() -> CardHolderVerificationValueBuilder
source§impl PartialEq for CardHolderVerificationValueBuilder
impl PartialEq for CardHolderVerificationValueBuilder
source§fn eq(&self, other: &CardHolderVerificationValueBuilder) -> bool
fn eq(&self, other: &CardHolderVerificationValueBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CardHolderVerificationValueBuilder
Auto Trait Implementations§
impl Freeze for CardHolderVerificationValueBuilder
impl RefUnwindSafe for CardHolderVerificationValueBuilder
impl Send for CardHolderVerificationValueBuilder
impl Sync for CardHolderVerificationValueBuilder
impl Unpin for CardHolderVerificationValueBuilder
impl UnwindSafe for CardHolderVerificationValueBuilder
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