Class: Braintree::ThreeDSecureInfo
- Inherits:
-
Object
- Object
- Braintree::ThreeDSecureInfo
- Includes:
- BaseModule
- Defined in:
- lib/braintree/three_d_secure_info.rb
Instance Attribute Summary collapse
-
#acs_transaction_id ⇒ Object
readonly
Returns the value of attribute acs_transaction_id.
-
#authentication ⇒ Object
readonly
Returns the value of attribute authentication.
-
#cavv ⇒ Object
readonly
Returns the value of attribute cavv.
-
#ds_transaction_id ⇒ Object
readonly
Returns the value of attribute ds_transaction_id.
-
#eci_flag ⇒ Object
readonly
Returns the value of attribute eci_flag.
-
#enrolled ⇒ Object
readonly
Returns the value of attribute enrolled.
-
#liability_shift_possible ⇒ Object
(also: #liability_shift_possible?)
readonly
Returns the value of attribute liability_shift_possible.
-
#liability_shifted ⇒ Object
(also: #liability_shifted?)
readonly
Returns the value of attribute liability_shifted.
-
#lookup ⇒ Object
readonly
Returns the value of attribute lookup.
-
#pares_status ⇒ Object
readonly
Returns the value of attribute pares_status.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#three_d_secure_authentication_id ⇒ Object
readonly
Returns the value of attribute three_d_secure_authentication_id.
-
#three_d_secure_transaction_id ⇒ Object
readonly
Returns the value of attribute three_d_secure_transaction_id.
-
#three_d_secure_version ⇒ Object
readonly
Returns the value of attribute three_d_secure_version.
-
#xid ⇒ Object
readonly
Returns the value of attribute xid.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ ThreeDSecureInfo
constructor
A new instance of ThreeDSecureInfo.
- #inspect ⇒ Object
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
#initialize(attributes) ⇒ ThreeDSecureInfo
Returns a new instance of ThreeDSecureInfo.
24 25 26 |
# File 'lib/braintree/three_d_secure_info.rb', line 24 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#acs_transaction_id ⇒ Object (readonly)
Returns the value of attribute acs_transaction_id.
5 6 7 |
# File 'lib/braintree/three_d_secure_info.rb', line 5 def acs_transaction_id @acs_transaction_id end |
#authentication ⇒ Object (readonly)
Returns the value of attribute authentication.
19 20 21 |
# File 'lib/braintree/three_d_secure_info.rb', line 19 def authentication @authentication end |
#cavv ⇒ Object (readonly)
Returns the value of attribute cavv.
6 7 8 |
# File 'lib/braintree/three_d_secure_info.rb', line 6 def cavv @cavv end |
#ds_transaction_id ⇒ Object (readonly)
Returns the value of attribute ds_transaction_id.
7 8 9 |
# File 'lib/braintree/three_d_secure_info.rb', line 7 def ds_transaction_id @ds_transaction_id end |
#eci_flag ⇒ Object (readonly)
Returns the value of attribute eci_flag.
8 9 10 |
# File 'lib/braintree/three_d_secure_info.rb', line 8 def eci_flag @eci_flag end |
#enrolled ⇒ Object (readonly)
Returns the value of attribute enrolled.
9 10 11 |
# File 'lib/braintree/three_d_secure_info.rb', line 9 def enrolled @enrolled end |
#liability_shift_possible ⇒ Object (readonly) Also known as: liability_shift_possible?
Returns the value of attribute liability_shift_possible.
10 11 12 |
# File 'lib/braintree/three_d_secure_info.rb', line 10 def liability_shift_possible @liability_shift_possible end |
#liability_shifted ⇒ Object (readonly) Also known as: liability_shifted?
Returns the value of attribute liability_shifted.
11 12 13 |
# File 'lib/braintree/three_d_secure_info.rb', line 11 def liability_shifted @liability_shifted end |
#lookup ⇒ Object (readonly)
Returns the value of attribute lookup.
18 19 20 |
# File 'lib/braintree/three_d_secure_info.rb', line 18 def lookup @lookup end |
#pares_status ⇒ Object (readonly)
Returns the value of attribute pares_status.
12 13 14 |
# File 'lib/braintree/three_d_secure_info.rb', line 12 def pares_status @pares_status end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
13 14 15 |
# File 'lib/braintree/three_d_secure_info.rb', line 13 def status @status end |
#three_d_secure_authentication_id ⇒ Object (readonly)
Returns the value of attribute three_d_secure_authentication_id.
14 15 16 |
# File 'lib/braintree/three_d_secure_info.rb', line 14 def three_d_secure_authentication_id @three_d_secure_authentication_id end |
#three_d_secure_transaction_id ⇒ Object (readonly)
Returns the value of attribute three_d_secure_transaction_id.
15 16 17 |
# File 'lib/braintree/three_d_secure_info.rb', line 15 def three_d_secure_transaction_id @three_d_secure_transaction_id end |
#three_d_secure_version ⇒ Object (readonly)
Returns the value of attribute three_d_secure_version.
16 17 18 |
# File 'lib/braintree/three_d_secure_info.rb', line 16 def three_d_secure_version @three_d_secure_version end |
#xid ⇒ Object (readonly)
Returns the value of attribute xid.
17 18 19 |
# File 'lib/braintree/three_d_secure_info.rb', line 17 def xid @xid end |
Instance Method Details
#inspect ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/braintree/three_d_secure_info.rb', line 28 def inspect attr_order = [ :acs_transaction_id, :authentication, :cavv, :ds_transaction_id, :eci_flag, :enrolled, :liability_shift_possible, :liability_shifted, :lookup, :pares_status, :status, :three_d_secure_authentication_id, :three_d_secure_transaction_id, :three_d_secure_version, :xid ] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<ThreeDSecureInfo #{formatted_attrs.join(", ")}>" end |