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