class Braintree::ThreeDSecureInfo

Attributes

acs_transaction_id[R]
authentication[R]
cavv[R]
ds_transaction_id[R]
eci_flag[R]
enrolled[R]
liability_shift_possible[R]
liability_shift_possible?[R]
liability_shifted[R]
liability_shifted?[R]
lookup[R]
pares_status[R]
status[R]
three_d_secure_authentication_id[R]
three_d_secure_transaction_id[R]
three_d_secure_version[R]
xid[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/braintree/three_d_secure_info.rb, line 24
def initialize(attributes)
  set_instance_variables_from_hash attributes unless attributes.nil?
end

Public Instance Methods

inspect() click to toggle source
# 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