class Braintree::Transaction::PaymentReceipt

Attributes

account_balance[R]
amount[R]
card_last_4[R]
card_present_data[R]
card_type[R]
currency_iso_code[R]
global_id[R]
id[R]
merchant_address[R]
merchant_identification_number[R]
merchant_name[R]
pin_verified[R]
processor_authorization_code[R]
processor_response_code[R]
processor_response_text[R]
terminal_identification_number[R]
type[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/braintree/transaction/payment_receipt.rb, line 24
def initialize(attributes)
  set_instance_variables_from_hash attributes unless attributes.nil?
  @card_present_data = CardPresentData.new(attributes[:card_present_date]) if attributes[:card_present_data]
  @merchant_address = MerchantAddress.new(attributes[:merchant_address]) if attributes[:merchant_address]
end