Module: Hps::SdkCodes

Defined in:
lib/hps/infrastructure/hps_sdk_codes.rb

Class Method Summary collapse

Class Method Details

.invalid_amountObject



32
33
34
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 32

def self.invalid_amount
	"7"
end

.invalid_currencyObject



28
29
30
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 28

def self.invalid_currency
	"6"
end

.invalid_end_dateObject



20
21
22
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 20

def self.invalid_end_date
	"4"
end

.invalid_gateway_urlObject



8
9
10
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 8

def self.invalid_gateway_url
	"1"
end

.invalid_start_dateObject



16
17
18
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 16

def self.invalid_start_date
	"3"
end

.invalid_transaction_idObject



4
5
6
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 4

def self.invalid_transaction_id
	"0"
end

.missing_currencyObject



24
25
26
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 24

def self.missing_currency
	"5"
end

.processing_errorObject



44
45
46
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 44

def self.processing_error
	"10"
end

.reversal_error_after_gateway_timeoutObject



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_timeoutObject



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_transactionObject



12
13
14
# File 'lib/hps/infrastructure/hps_sdk_codes.rb', line 12

def self.unable_to_process_transaction
	"2"
end