class AuthorizeNet::CIM::CustomerProfile

Models a customer profile.

Attributes

customer_profile_id[RW]
payment_profiles[RW]

Public Instance Methods

to_hash() click to toggle source
Calls superclass method AuthorizeNet::Customer#to_hash
# File lib/authorize_net/cim/customer_profile.rb, line 10
def to_hash
  hash = super
  hash.delete_if {|k, v| v.nil?}
  hash[:payment_profiles] = handle_multivalue_hashing(@payment_profiles)
  hash
end