Class: AuthorizeNet::CustomerProfile

Inherits:
DataObject show all
Defined in:
lib/authorize_net/customer_profile.rb

Constant Summary collapse

ATTRIBUTES =
{
  :id => {:key => "customerProfileId"},
  :merchant_id => {:key => "merchantCustomerId"},
  :email => nil,
  :description => nil,
  :payment_profiles => {
    :key => "paymentProfiles",
    :type => AuthorizeNet::DataObject::TYPE_OBJECT_ARRAY,
    :class => AuthorizeNet::PaymentProfile,
  },
}

Constants inherited from DataObject

DataObject::TYPE_ARRAY, DataObject::TYPE_OBJECT, DataObject::TYPE_OBJECT_ARRAY

Instance Method Summary collapse

Methods inherited from DataObject

#parse, parse, #serialize, #to_h

Constructor Details

#initializeCustomerProfile

Returns a new instance of CustomerProfile.



22
23
24
# File 'lib/authorize_net/customer_profile.rb', line 22

def initialize
  @payment_profiles = []
end