pub enum AdditionalInfoType {
Show 13 variants
EVCCID,
ISO14443SubType,
PspRef,
SessionRef,
MerchantRef,
PaymentBrand,
ReadingMethod,
PaymentRecognition,
CardBin,
CardLast4Digits,
CardExpiryDate,
HashedCardNr,
WalletUserId,
}Expand description
Standardized AdditionalInfo.type values.
Merged from the spec’s general table and its ad hoc payment table, which both populate the same wire field.
A closed set: it holds only the values the specification
defines. The wire field is a string, so a deployment can still
send something else – from_wire returns None for that,
which is not by itself a protocol error.
Variants§
EVCCID
The EVCCID of EV is added as additionalInfo to an idToken for ISO 15118-20 sessions.
ISO14443SubType
The subtype of an ISO 14443 RFID card. For example: ‘VDE-AR-E-2532-100’ (a secure variant of ISO 14443).
PspRef
Payment Service Provider reference id for payment session. Only use when PspRef is not in idToken.
SessionRef
Payment session reference id from terminal (not the same as pspRef)
MerchantRef
Merchant (CSO) reference id for payment session
PaymentBrand
Brand of ad hoc payment card. See predefined list of values in table below.
ReadingMethod
Contactless / Contact / Magstripe
PaymentRecognition
Credit/debit card or digital wallet. See predefined list of values in table below.
CardBin
Card first 6 digits
CardLast4Digits
Card last 4 digits
CardExpiryDate
The expiry date of the card. Format: YYYY/MM
HashedCardNr
The hashed card number.
WalletUserId
User ID for a digital wallet, e.g. Alipay.
Implementations§
Source§impl AdditionalInfoType
impl AdditionalInfoType
Trait Implementations§
Source§impl Clone for AdditionalInfoType
impl Clone for AdditionalInfoType
Source§fn clone(&self) -> AdditionalInfoType
fn clone(&self) -> AdditionalInfoType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more