#[non_exhaustive]pub struct SessionKeyEmvCommon {
pub primary_account_number: String,
pub pan_sequence_number: String,
pub application_transaction_counter: String,
}
Expand description
Parameters to derive session key for an Emv common 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: 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: String
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
application_transaction_counter: String
The transaction counter that is provided by the terminal during transaction processing.
Implementations§
source§impl SessionKeyEmvCommon
impl SessionKeyEmvCommon
sourcepub fn primary_account_number(&self) -> &str
pub fn primary_account_number(&self) -> &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) -> &str
pub fn pan_sequence_number(&self) -> &str
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
sourcepub fn application_transaction_counter(&self) -> &str
pub fn application_transaction_counter(&self) -> &str
The transaction counter that is provided by the terminal during transaction processing.
source§impl SessionKeyEmvCommon
impl SessionKeyEmvCommon
sourcepub fn builder() -> SessionKeyEmvCommonBuilder
pub fn builder() -> SessionKeyEmvCommonBuilder
Creates a new builder-style object to manufacture SessionKeyEmvCommon
.
Trait Implementations§
source§impl Clone for SessionKeyEmvCommon
impl Clone for SessionKeyEmvCommon
source§fn clone(&self) -> SessionKeyEmvCommon
fn clone(&self) -> SessionKeyEmvCommon
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionKeyEmvCommon
impl Debug for SessionKeyEmvCommon
source§impl PartialEq for SessionKeyEmvCommon
impl PartialEq for SessionKeyEmvCommon
source§fn eq(&self, other: &SessionKeyEmvCommon) -> bool
fn eq(&self, other: &SessionKeyEmvCommon) -> bool
self
and other
values to be equal, and is used
by ==
.