class AuthorizeNet::EmailReceipt
Models an email receipt.
Attributes
email_customer[RW]
header[RW]
merchant_email[RW]
Public Instance Methods
to_hash()
click to toggle source
# File lib/authorize_net/email_receipt.rb, line 10 def to_hash hash = { :header => @header, :footer => @footer, :merchant_email => @merchant_email, :email_customer => @email_customer } hash.delete_if {|k, v| v.nil?} hash.merge(@address.to_hash) unless @address.nil? hash end