Class: Braintree::CreditCardVerification
- Inherits:
-
Object
- Object
- Braintree::CreditCardVerification
- Includes:
- BaseModule
- Defined in:
- lib/braintree/credit_card_verification.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary (collapse)
-
- (Object) avs_error_response_code
readonly
Returns the value of attribute avs_error_response_code.
-
- (Object) avs_postal_code_response_code
readonly
Returns the value of attribute avs_postal_code_response_code.
-
- (Object) avs_street_address_response_code
readonly
Returns the value of attribute avs_street_address_response_code.
-
- (Object) cvv_response_code
readonly
Returns the value of attribute cvv_response_code.
-
- (Object) gateway_rejection_reason
readonly
Returns the value of attribute gateway_rejection_reason.
-
- (Object) merchant_account_id
readonly
Returns the value of attribute merchant_account_id.
-
- (Object) processor_response_code
readonly
Returns the value of attribute processor_response_code.
-
- (Object) processor_response_text
readonly
Returns the value of attribute processor_response_text.
-
- (Object) status
readonly
Returns the value of attribute status.
Class Method Summary (collapse)
-
+ (Object) _new(*args)
:nodoc:.
Instance Method Summary (collapse)
-
- (CreditCardVerification) initialize(attributes)
constructor
:nodoc:.
-
- (Object) inspect
:nodoc:.
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
- (CreditCardVerification) initialize(attributes)
:nodoc:
17 18 19 |
# File 'lib/braintree/credit_card_verification.rb', line 17 def initialize(attributes) # :nodoc: set_instance_variables_from_hash(attributes) end |
Instance Attribute Details
- (Object) avs_error_response_code (readonly)
Returns the value of attribute avs_error_response_code
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def avs_error_response_code @avs_error_response_code end |
- (Object) avs_postal_code_response_code (readonly)
Returns the value of attribute avs_postal_code_response_code
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def avs_postal_code_response_code @avs_postal_code_response_code end |
- (Object) avs_street_address_response_code (readonly)
Returns the value of attribute avs_street_address_response_code
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def avs_street_address_response_code @avs_street_address_response_code end |
- (Object) cvv_response_code (readonly)
Returns the value of attribute cvv_response_code
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def cvv_response_code @cvv_response_code end |
- (Object) gateway_rejection_reason (readonly)
Returns the value of attribute gateway_rejection_reason
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def gateway_rejection_reason @gateway_rejection_reason end |
- (Object) merchant_account_id (readonly)
Returns the value of attribute merchant_account_id
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def merchant_account_id @merchant_account_id end |
- (Object) processor_response_code (readonly)
Returns the value of attribute processor_response_code
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def processor_response_code @processor_response_code end |
- (Object) processor_response_text (readonly)
Returns the value of attribute processor_response_text
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def processor_response_text @processor_response_text end |
- (Object) status (readonly)
Returns the value of attribute status
13 14 15 |
# File 'lib/braintree/credit_card_verification.rb', line 13 def status @status end |
Class Method Details
+ (Object) _new(*args)
:nodoc:
38 39 40 |
# File 'lib/braintree/credit_card_verification.rb', line 38 def self._new(*args) # :nodoc: self.new *args end |
Instance Method Details
- (Object) inspect
:nodoc:
21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/braintree/credit_card_verification.rb', line 21 def inspect # :nodoc: attr_order = [ :status, :processor_response_code, :processor_response_text, :cvv_response_code, :avs_error_response_code, :avs_postal_code_response_code, :avs_street_address_response_code, :merchant_account_id, :gateway_rejection_reason ] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<#{self.class} #{formatted_attrs.join(", ")}>" end |