#[non_exhaustive]pub struct SessionKeyEmv2000 {
pub primary_account_number: Option<String>,
pub pan_sequence_number: Option<String>,
pub application_transaction_counter: Option<String>,
}
Expand description
Parameters to derive session key for an Emv2000 payment card for ARQC verification.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.primary_account_number: 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.
pan_sequence_number: Option<String>
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
application_transaction_counter: Option<String>
The transaction counter that is provided by the terminal during transaction processing.
Implementations§
source§impl SessionKeyEmv2000
impl SessionKeyEmv2000
sourcepub fn primary_account_number(&self) -> Option<&str>
pub fn primary_account_number(&self) -> Option<&str>
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) -> Option<&str>
pub fn pan_sequence_number(&self) -> Option<&str>
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
sourcepub fn application_transaction_counter(&self) -> Option<&str>
pub fn application_transaction_counter(&self) -> Option<&str>
The transaction counter that is provided by the terminal during transaction processing.
source§impl SessionKeyEmv2000
impl SessionKeyEmv2000
sourcepub fn builder() -> SessionKeyEmv2000Builder
pub fn builder() -> SessionKeyEmv2000Builder
Creates a new builder-style object to manufacture SessionKeyEmv2000
.
Trait Implementations§
source§impl Clone for SessionKeyEmv2000
impl Clone for SessionKeyEmv2000
source§fn clone(&self) -> SessionKeyEmv2000
fn clone(&self) -> SessionKeyEmv2000
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionKeyEmv2000
impl Debug for SessionKeyEmv2000
source§impl PartialEq<SessionKeyEmv2000> for SessionKeyEmv2000
impl PartialEq<SessionKeyEmv2000> for SessionKeyEmv2000
source§fn eq(&self, other: &SessionKeyEmv2000) -> bool
fn eq(&self, other: &SessionKeyEmv2000) -> bool
self
and other
values to be equal, and is used
by ==
.