#[non_exhaustive]pub struct VisaPinVerificationBuilder { /* private fields */ }Expand description
A builder for VisaPinVerification.
Implementations§
source§impl VisaPinVerificationBuilder
impl VisaPinVerificationBuilder
sourcepub fn pin_verification_key_index(self, input: i32) -> Self
pub fn pin_verification_key_index(self, input: i32) -> Self
The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
This field is required.sourcepub fn set_pin_verification_key_index(self, input: Option<i32>) -> Self
pub fn set_pin_verification_key_index(self, input: Option<i32>) -> Self
The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
sourcepub fn get_pin_verification_key_index(&self) -> &Option<i32>
pub fn get_pin_verification_key_index(&self) -> &Option<i32>
The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
sourcepub fn verification_value(self, input: impl Into<String>) -> Self
pub fn verification_value(self, input: impl Into<String>) -> Self
Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
This field is required.sourcepub fn set_verification_value(self, input: Option<String>) -> Self
pub fn set_verification_value(self, input: Option<String>) -> Self
Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
sourcepub fn get_verification_value(&self) -> &Option<String>
pub fn get_verification_value(&self) -> &Option<String>
Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
sourcepub fn build(self) -> Result<VisaPinVerification, BuildError>
pub fn build(self) -> Result<VisaPinVerification, BuildError>
Consumes the builder and constructs a VisaPinVerification.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VisaPinVerificationBuilder
impl Clone for VisaPinVerificationBuilder
source§fn clone(&self) -> VisaPinVerificationBuilder
fn clone(&self) -> VisaPinVerificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VisaPinVerificationBuilder
impl Debug for VisaPinVerificationBuilder
source§impl Default for VisaPinVerificationBuilder
impl Default for VisaPinVerificationBuilder
source§fn default() -> VisaPinVerificationBuilder
fn default() -> VisaPinVerificationBuilder
source§impl PartialEq for VisaPinVerificationBuilder
impl PartialEq for VisaPinVerificationBuilder
source§fn eq(&self, other: &VisaPinVerificationBuilder) -> bool
fn eq(&self, other: &VisaPinVerificationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VisaPinVerificationBuilder
Auto Trait Implementations§
impl Freeze for VisaPinVerificationBuilder
impl RefUnwindSafe for VisaPinVerificationBuilder
impl Send for VisaPinVerificationBuilder
impl Sync for VisaPinVerificationBuilder
impl Unpin for VisaPinVerificationBuilder
impl UnwindSafe for VisaPinVerificationBuilder
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> 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