class AuthorizeNet::SIM::HostedReceiptPage

Models a hosted receipt page.

Attributes

background_url[RW]
color_background[RW]
color_text[RW]
header_html[RW]
logo_url[RW]

Public Instance Methods

to_hash() click to toggle source
# File lib/authorize_net/sim/hosted_receipt_page.rb, line 18
def to_hash
  hash = {
    :header_html_receipt => @header_html,
    :footer_html_receipt => @footer_html,
    :color_background => @color_background,
    :color_link => @color_link,
    :color_text => @color_text,
    :logo_url => @logo_url,
    :background_url => @background_url,
    :receipt_link_method => @link_method,
    :receipt_link_text => @link_text,
    :receipt_link_url => @link_url
  }
  hash.delete_if {|k, v| v.nil?}
  hash
end