#[non_exhaustive]pub struct DynamicCardVerificationCode {
pub unpredictable_number: Option<String>,
pub pan_sequence_number: Option<String>,
pub application_transaction_counter: Option<String>,
pub track_data: Option<String>,
}
Expand description
Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).
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.unpredictable_number: Option<String>
A random number generated by the issuer.
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 value that comes from the terminal.
track_data: Option<String>
The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.
Implementations§
source§impl DynamicCardVerificationCode
impl DynamicCardVerificationCode
sourcepub fn unpredictable_number(&self) -> Option<&str>
pub fn unpredictable_number(&self) -> Option<&str>
A random number generated by the issuer.
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 value that comes from the terminal.
sourcepub fn track_data(&self) -> Option<&str>
pub fn track_data(&self) -> Option<&str>
The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.
source§impl DynamicCardVerificationCode
impl DynamicCardVerificationCode
sourcepub fn builder() -> DynamicCardVerificationCodeBuilder
pub fn builder() -> DynamicCardVerificationCodeBuilder
Creates a new builder-style object to manufacture DynamicCardVerificationCode
.
Trait Implementations§
source§impl Clone for DynamicCardVerificationCode
impl Clone for DynamicCardVerificationCode
source§fn clone(&self) -> DynamicCardVerificationCode
fn clone(&self) -> DynamicCardVerificationCode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DynamicCardVerificationCode
impl Debug for DynamicCardVerificationCode
source§impl PartialEq<DynamicCardVerificationCode> for DynamicCardVerificationCode
impl PartialEq<DynamicCardVerificationCode> for DynamicCardVerificationCode
source§fn eq(&self, other: &DynamicCardVerificationCode) -> bool
fn eq(&self, other: &DynamicCardVerificationCode) -> bool
self
and other
values to be equal, and is used
by ==
.