pub enum AvsCode {
Show 24 variants
A,
B,
C,
D,
E,
F,
G,
I,
M,
N,
P,
R,
S,
U,
W,
X,
Y,
Z,
Null,
Zero,
One,
Two,
Three,
Four,
}
Expand description
The address verification code for Visa, Discover, Mastercard, or American Express transactions.
Variants§
A
For Visa, Mastercard, or Discover transactions, the address matches but the zip code does not match. For American Express transactions, the card holder address is correct.
B
For Visa, Mastercard, or Discover transactions, the address matches. International A.
C
For Visa, Mastercard, or Discover transactions, no values match. International N.
D
For Visa, Mastercard, or Discover transactions, the address and postal code match. International X.
E
For Visa, Mastercard, or Discover transactions, not allowed for Internet or phone transactions. For American Express card holder, the name is incorrect but the address and postal code match.
F
For Visa, Mastercard, or Discover transactions, the address and postal code match. UK-specific X. For American Express card holder, the name is incorrect but the address matches.
G
For Visa, Mastercard, or Discover transactions, global is unavailable. Nothing matches.
I
For Visa, Mastercard, or Discover transactions, international is unavailable. Not applicable.
M
For Visa, Mastercard, or Discover transactions, the address and postal code match. For American Express card holder, the name, address, and postal code match.
N
For Visa, Mastercard, or Discover transactions, nothing matches. For American Express card holder, the address and postal code are both incorrect.
P
For Visa, Mastercard, or Discover transactions, postal international Z. Postal code only.
R
For Visa, Mastercard, or Discover transactions, re-try the request. For American Express, the system is unavailable.
S
For Visa, Mastercard, Discover, or American Express, the service is not supported.
U
For Visa, Mastercard, or Discover transactions, the service is unavailable. For American Express, information is not available. For Maestro, the address is not checked or the acquirer had no response. The service is not available.
W
For Visa, Mastercard, or Discover transactions, whole ZIP code. For American Express, the card holder name, address, and postal code are all incorrect.
X
For Visa, Mastercard, or Discover transactions, exact match of the address and the nine-digit ZIP code. For American Express, the card holder name, address, and postal code are all incorrect.
Y
For Visa, Mastercard, or Discover transactions, the address and five-digit ZIP code match. For American Express, the card holder address and postal code are both correct.
Z
For Visa, Mastercard, or Discover transactions, the five-digit ZIP code matches but no address. For American Express, only the card holder postal code is correct.
Null
For Maestro, no AVS response was obtained.
Zero
For Maestro, all address information matches.
One
-
- For Maestro, none of the address information matches.
Two
-
- For Maestro, part of the address information matches.
Three
-
- For Maestro, the merchant did not provide AVS information. It was not processed.
Four
-
- For Maestro, the address was not checked or the acquirer had no response. The service is not available.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AvsCode
impl<'de> Deserialize<'de> for AvsCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Copy for AvsCode
impl Eq for AvsCode
impl StructuralPartialEq for AvsCode
Auto Trait Implementations§
impl Freeze for AvsCode
impl RefUnwindSafe for AvsCode
impl Send for AvsCode
impl Sync for AvsCode
impl Unpin for AvsCode
impl UnwindSafe for AvsCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.