#[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 ==
.