#[non_exhaustive]pub struct SessionKeyVisaBuilder { /* private fields */ }
Expand description
A builder for SessionKeyVisa
.
Implementations§
source§impl SessionKeyVisaBuilder
impl SessionKeyVisaBuilder
sourcepub fn primary_account_number(self, input: impl Into<String>) -> Self
pub fn primary_account_number(self, input: impl Into<String>) -> Self
The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
sourcepub fn set_primary_account_number(self, input: Option<String>) -> Self
pub fn set_primary_account_number(self, input: Option<String>) -> Self
The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
sourcepub fn get_primary_account_number(&self) -> &Option<String>
pub fn get_primary_account_number(&self) -> &Option<String>
The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
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).
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 build(self) -> SessionKeyVisa
pub fn build(self) -> SessionKeyVisa
Consumes the builder and constructs a SessionKeyVisa
.
Trait Implementations§
source§impl Clone for SessionKeyVisaBuilder
impl Clone for SessionKeyVisaBuilder
source§fn clone(&self) -> SessionKeyVisaBuilder
fn clone(&self) -> SessionKeyVisaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionKeyVisaBuilder
impl Debug for SessionKeyVisaBuilder
source§impl Default for SessionKeyVisaBuilder
impl Default for SessionKeyVisaBuilder
source§fn default() -> SessionKeyVisaBuilder
fn default() -> SessionKeyVisaBuilder
source§impl PartialEq<SessionKeyVisaBuilder> for SessionKeyVisaBuilder
impl PartialEq<SessionKeyVisaBuilder> for SessionKeyVisaBuilder
source§fn eq(&self, other: &SessionKeyVisaBuilder) -> bool
fn eq(&self, other: &SessionKeyVisaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.