Module: Hps::SdkCodes
- Defined in:
- lib/hps/infrastructure/hps_sdk_codes.rb
Class Method Summary collapse
- .invalid_amount ⇒ Object
- .invalid_currency ⇒ Object
- .invalid_end_date ⇒ Object
- .invalid_gateway_url ⇒ Object
- .invalid_start_date ⇒ Object
- .invalid_transaction_id ⇒ Object
- .missing_currency ⇒ Object
- .processing_error ⇒ Object
- .reversal_error_after_gateway_timeout ⇒ Object
- .reversal_error_after_issuer_timeout ⇒ Object
- .unable_to_process_transaction ⇒ Object
Class Method Details
.invalid_amount ⇒ Object
32 33 34 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 32 def self.invalid_amount "7" end |
.invalid_currency ⇒ Object
28 29 30 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 28 def self.invalid_currency "6" end |
.invalid_end_date ⇒ Object
20 21 22 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 20 def self.invalid_end_date "4" end |
.invalid_gateway_url ⇒ Object
8 9 10 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 8 def self.invalid_gateway_url "1" end |
.invalid_start_date ⇒ Object
16 17 18 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 16 def self.invalid_start_date "3" end |
.invalid_transaction_id ⇒ Object
4 5 6 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 4 def self.invalid_transaction_id "0" end |
.missing_currency ⇒ Object
24 25 26 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 24 def self.missing_currency "5" end |
.processing_error ⇒ Object
44 45 46 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 44 def self.processing_error "10" end |
.reversal_error_after_gateway_timeout ⇒ Object
36 37 38 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 36 def self.reversal_error_after_gateway_timeout "8" end |
.reversal_error_after_issuer_timeout ⇒ Object
40 41 42 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 40 def self.reversal_error_after_issuer_timeout "9" end |
.unable_to_process_transaction ⇒ Object
12 13 14 |
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 12 def self.unable_to_process_transaction "2" end |