Parent

Class Index [+]

Quicksearch

ActiveMerchant::Billing::CVVResult

Result of the Card Verification Value check www.bbbonline.org/eExport/doc/MerchantGuide_cvv2.pdf Check additional codes from cybersource website

Constants

MESSAGES

Attributes

code[R]
message[R]

Public Class Methods

messages() click to toggle source
    # File lib/active_merchant/billing/cvv_result.rb, line 19
19:       def self.messages
20:         MESSAGES
21:       end
new(code) click to toggle source
    # File lib/active_merchant/billing/cvv_result.rb, line 25
25:       def initialize(code)
26:         @code = code.upcase unless code.blank?
27:         @message = MESSAGES[@code]
28:       end

Public Instance Methods

to_hash() click to toggle source
    # File lib/active_merchant/billing/cvv_result.rb, line 30
30:       def to_hash
31:         {
32:           'code' => code,
33:           'message' => message
34:         }
35:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.