class Braintree::PaymentMethodNonceDetailsPayerInfo

Attributes

billing_agreement_id[R]
country_code[R]
email[R]
first_name[R]
last_name[R]
payer_id[R]

Public Class Methods

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

Public Instance Methods

inspect() click to toggle source
# File lib/braintree/payment_method_nonce_details_payer_info.rb, line 16
def inspect
  attr_order = [
    :billing_agreement_id,
    :country_code,
    :email,
    :first_name,
    :last_name,
    :payer_id,
  ]

  formatted_attrs = attr_order.map do |attr|
    "#{attr}: #{send(attr).inspect}"
  end
  "#<PaymentMethodNonceDetailsPayerInfo #{formatted_attrs.join(", ")}>"
end