Class: PCPServerSDK::Models::AvsResult
- Inherits:
-
Object
- Object
- PCPServerSDK::Models::AvsResult
- Defined in:
- lib/PCP-server-Ruby-SDK/models/avs_result.rb
Constant Summary collapse
- A =
Address (Street) matches, Zip does not
"A".freeze
- B =
Street address match for international transactions—Postal code not verified due to incompatible formats
"B".freeze
- C =
Street address and postal code not verified for international transaction due to incompatible formats
"C".freeze
- D =
Street address and postal code match for international transaction, cardholder name is incorrect
"D".freeze
- E =
AVS error
"E".freeze
- F =
Address does match and five digit ZIP code does match (UK only)
"F".freeze
- G =
Address information is unavailable; international transaction; non-AVS participant
"G".freeze
- H =
Billing address and postal code match, cardholder name is incorrect (Amex)
"H".freeze
- I =
Address information not verified for international transaction
"I".freeze
- K =
Cardholder name matches (Amex)
"K".freeze
- L =
Cardholder name and postal code match (Amex)
"L".freeze
- M =
Cardholder name, street address, and postal code match for international transaction
"M".freeze
- N =
No Match on Address (Street) or Zip
"N".freeze
- O =
Cardholder name and address match (Amex)
"O".freeze
- P =
Postal codes match for international transaction—Street address not verified due to incompatible formats
"P".freeze
- Q =
Billing address matches, cardholder is incorrect (Amex)
"Q".freeze
- R =
Retry, System unavailable or Timed out
"R".freeze
- S =
Service not supported by issuer
"S".freeze
- U =
Address information is unavailable
"U".freeze
- W =
9 digit Zip matches, Address (Street) does not
"W".freeze
- X =
Exact AVS Match
"X".freeze
- Y =
Address (Street) and 5 digit Zip match
"Y".freeze
- Z =
5 digit Zip matches, Address (Street) does not
"Z".freeze
- ZERO =
No service available
"0".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
32 33 34 |
# File 'lib/PCP-server-Ruby-SDK/models/avs_result.rb', line 32 def self.all_vars @all_vars ||= [A, B, C, D, E, F, G, H, I, K, L, M, N, O, P, Q, R, S, U, W, X, Y, Z, ZERO].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
39 40 41 |
# File 'lib/PCP-server-Ruby-SDK/models/avs_result.rb', line 39 def self.build_from_hash(value) new.build_from_hash(value) end |