Method: MerbMerchant::Billing::AuthorizeNetCimGateway#get_customer_profile

Defined in:
lib/merb_merchant/billing/gateways/authorize_net_cim.rb

#get_customer_profile(options) ⇒ Object

Retrieves an existing customer profile along with all the associated customer payment profiles and customer shipping addresses.

Returns a Response whose params hash contains all the profile information.

Options

  • :customer_profile_id – The Customer Profile ID of the customer to retrieve. (REQUIRED)



195
196
197
198
199
200
# File 'lib/merb_merchant/billing/gateways/authorize_net_cim.rb', line 195

def get_customer_profile(options)
  requires!(options, :customer_profile_id)

  request = build_request(:get_customer_profile, options)
  commit(:get_customer_profile, request)
end