#[non_exhaustive]pub struct Ibm3624PinOffsetBuilder { /* private fields */ }
Expand description
A builder for Ibm3624PinOffset
.
Implementations§
source§impl Ibm3624PinOffsetBuilder
impl Ibm3624PinOffsetBuilder
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. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
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. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
sourcepub fn get_encrypted_pin_block(&self) -> &Option<String>
pub fn get_encrypted_pin_block(&self) -> &Option<String>
The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
sourcepub fn decimalization_table(self, input: impl Into<String>) -> Self
pub fn decimalization_table(self, input: impl Into<String>) -> Self
The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
This field is required.sourcepub fn set_decimalization_table(self, input: Option<String>) -> Self
pub fn set_decimalization_table(self, input: Option<String>) -> Self
The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
sourcepub fn get_decimalization_table(&self) -> &Option<String>
pub fn get_decimalization_table(&self) -> &Option<String>
The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
sourcepub fn pin_validation_data_pad_character(self, input: impl Into<String>) -> Self
pub fn pin_validation_data_pad_character(self, input: impl Into<String>) -> Self
The padding character for validation data.
This field is required.sourcepub fn set_pin_validation_data_pad_character(
self,
input: Option<String>,
) -> Self
pub fn set_pin_validation_data_pad_character( self, input: Option<String>, ) -> Self
The padding character for validation data.
sourcepub fn get_pin_validation_data_pad_character(&self) -> &Option<String>
pub fn get_pin_validation_data_pad_character(&self) -> &Option<String>
The padding character for validation data.
sourcepub fn pin_validation_data(self, input: impl Into<String>) -> Self
pub fn pin_validation_data(self, input: impl Into<String>) -> Self
The unique data for cardholder identification.
This field is required.sourcepub fn set_pin_validation_data(self, input: Option<String>) -> Self
pub fn set_pin_validation_data(self, input: Option<String>) -> Self
The unique data for cardholder identification.
sourcepub fn get_pin_validation_data(&self) -> &Option<String>
pub fn get_pin_validation_data(&self) -> &Option<String>
The unique data for cardholder identification.
sourcepub fn build(self) -> Result<Ibm3624PinOffset, BuildError>
pub fn build(self) -> Result<Ibm3624PinOffset, BuildError>
Consumes the builder and constructs a Ibm3624PinOffset
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for Ibm3624PinOffsetBuilder
impl Clone for Ibm3624PinOffsetBuilder
source§fn clone(&self) -> Ibm3624PinOffsetBuilder
fn clone(&self) -> Ibm3624PinOffsetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ibm3624PinOffsetBuilder
impl Debug for Ibm3624PinOffsetBuilder
source§impl Default for Ibm3624PinOffsetBuilder
impl Default for Ibm3624PinOffsetBuilder
source§fn default() -> Ibm3624PinOffsetBuilder
fn default() -> Ibm3624PinOffsetBuilder
source§impl PartialEq for Ibm3624PinOffsetBuilder
impl PartialEq for Ibm3624PinOffsetBuilder
source§fn eq(&self, other: &Ibm3624PinOffsetBuilder) -> bool
fn eq(&self, other: &Ibm3624PinOffsetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ibm3624PinOffsetBuilder
Auto Trait Implementations§
impl Freeze for Ibm3624PinOffsetBuilder
impl RefUnwindSafe for Ibm3624PinOffsetBuilder
impl Send for Ibm3624PinOffsetBuilder
impl Sync for Ibm3624PinOffsetBuilder
impl Unpin for Ibm3624PinOffsetBuilder
impl UnwindSafe for Ibm3624PinOffsetBuilder
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