Class: AuthorizeNet::CustomerProfile
- Inherits:
-
DataObject
- Object
- DataObject
- AuthorizeNet::CustomerProfile
- 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
-
#initialize ⇒ CustomerProfile
constructor
A new instance of CustomerProfile.
Methods inherited from DataObject
#parse, parse, #serialize, #to_h
Constructor Details
#initialize ⇒ CustomerProfile
Returns a new instance of CustomerProfile.
22 23 24 |
# File 'lib/authorize_net/customer_profile.rb', line 22 def initialize @payment_profiles = [] end |