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

    1. For Maestro, none of the address information matches.
§

Two

    1. For Maestro, part of the address information matches.
§

Three

    1. For Maestro, the merchant did not provide AVS information. It was not processed.
§

Four

    1. For Maestro, the address was not checked or the acquirer had no response. The service is not available.

Implementations§

Trait Implementations§

Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more