class Braintree::Transaction::PaymentReceipt
Attributes
Public Class Methods
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