API > eden > authorizenet > customer.php
View Source

class Eden_Authorizenet_Customer

Authorize.net - Customer Information Manager

Constants

  • CREATE_PROFILE: createCustomerProfileRequest
  • CREATE_PAYMENT_PROFILE: createCustomerPaymentProfileRequest
  • CREATE_SHIPPING_PROFILE: createCustomerShippingAddressRequest
  • CREATE_TRANSACTION: createCustomerProfileTransactionRequest
  • REMOVE_PROFILE: deleteCustomerProfileRequest
  • REMOVE_PAYMENT_PROFILE: deleteCustomerPaymentProfileRequest
  • REMOVE_SHIPPING_PROFILE: deleteCustomerShippingAddressRequest
  • GET_PROFILE: getCustomerProfileRequest
  • GET_PAYMENT_PROFILE: getCustomerPaymentProfileRequest
  • GET_SHIPPING_PROFILE: getCustomerShippingAddressRequest
  • UPDATE_PROFILE: updateCustomerProfileRequest
  • UPDATE_PAYMENT_PROFILE: updateCustomerPaymentProfileRequest
  • UPDATE_SHIPPING_PROFILE: updateCustomerShippingAddressRequest
  • VALIDATE: validateCustomerPaymentProfileRequest
  • INDIVIDUAL: individual
  • BUSINESS: business
  • CHECK: check
  • CREDIT: credit
  • TEST: testMode
  • LIVE: liveMode
  • AUTH_CAPTURE: profileTransAuthCapture
  • CAPTURE_ONLY: profileTransCaptureOnly
  • AUTH_ONLY: profileTransAuthOnly
  • PROFILE: profile
  • MERCHANT_ID: merchantCustomerId
  • DESCRIPTION: description
  • EMAIL: email
  • PAYMENT_PROFILE: paymentProfiles
  • CUSTOMER_TYPE: customerType
  • PAYMENT: payment
  • CREDIT_CARD: creditCard
  • CARD_NUMBER: cardNumber
  • EXPIRATION: expirationDate
  • BANK_ACCOUNT: bankAccount
  • ACCOUNT_TYPE: accountType
  • ACCOUNT_NAME: nameOnAccount
  • E_CHECK: echeckType
  • BANK_NAME: bankName
  • ROUTING_NAME: routingNumber
  • ACCOUNT_NUMBER: accountNumber
  • PROFILE_ID: customerProfileId
  • PAYMENT_ID: customerPaymentProfileId
  • SHIPPING_ID: customerShippingAddressId
  • PHONE_NUMBER: phoneNumber
  • FAX_NUMBER: faxNumber
  • FIRST_NAME: firstName
  • LAST_NAME: lastName
  • COMPANY: company
  • ADDRESS: address
  • CITY: city
  • COUNTRY: country
  • ZIP: zip
  • STATE: state
  • SHIPPING_LIST: shipToList
  • BILLING: billTo
  • VALIDATION: validationMode
  • TRASACTION: transaction
  • SHIPPING: shipping

Public Methods

public function createPaymentProfile()

Create a new customer payment profile for an existing customer profile.

Returns array

public function createProfile()

Create a new customer profile along with any customer payment profiles and customer shipping addresses for the customer profile.

Returns array

public function createProfileTransaction()

Create a new payment transaction from an existing customer profile.

Returns array

public function createShippingAddress()

Create a new customer shipping address for an existing customer profile.

Returns array

public function getPaymentProfile()

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

Returns array

public function getProfile()

Retrieve all customer profile IDs you have previously created.

Returns array

public function getShippingAddress()

Retrieve a customer shipping address for an existing customer profile.

Returns array

public function removePaymentProfile()

Delete a customer payment profile from an existing customer profile.

Returns array

public function removeProfile()

Delete a customer profile

Returns array

public function removeShippingAddress()

Delete a customer shipping address from an existing customer profile.

Returns array

public function setAccountNumber($accountNumber)

Set account number

Arguments

  1. *string

Returns this

public function setAccountType($accountType)

Set account type

Arguments

  1. *string

Returns this

public function setAmount($amount)

Set amount

Arguments

  1. *integer|float

Returns this

public function setAuthorizeOnly()

Set profile transaction to authorize only

Returns this

public function setBankName($bankName)

Set bank name

Arguments

  1. *string

Returns this

public function setBillingAddress($address)

Set billing address

Arguments

  1. *string

Returns this

public function setBillingCity($city)

Set billing city

Arguments

  1. *string

Returns this

public function setBillingCountry($country)

Set billing country

Arguments

  1. *string

Returns this

public function setBillingEmail($email)

Set billing email

Arguments

  1. *string

Returns this

public function setBillingFaxNumber($faxNumber)

Set billing fax Number

Arguments

  1. *string

Returns this

public function setBillingFirstName($firstName)

Set billing first name

Arguments

  1. *string

Returns this

public function setBillingLastName($lastName)

Set billing last name

Arguments

  1. *string

Returns this

public function setBillingPhoneNumber($phoneNumber)

Set billing phone Number

Arguments

  1. *string

Returns this

public function setBillingState($state)

Set billing state

Arguments

  1. *string

Returns this

public function setBillingZip($zip)

Set billing zip

Arguments

  1. *string

Returns this

public function setCaptureOnly()

Set profile transaction to capture only

Returns this

public function setCardNumber($cardNumber)

Set card Number

Arguments

  1. *string

Returns this

public function setECheckType($eCheck)

Set echeck type

Arguments

  1. *string

Returns this

public function setDescription($description)

Set description

Arguments

  1. *string

Returns this

public function setExpiration($expirationDate)

Set expiration Date

Arguments

  1. *string

Returns this

public function setName($name)

Set name on account

Arguments

  1. *string

Returns this

public function setPaymentId($id)

Set payment profile id

Arguments

  1. *string

Returns this

public function setProfile()

Set use profile

Returns this

public function setProfileId($id)

Set profile id

Arguments

  1. *string

Returns this

public function setRecurringBilling()

Enable recurring billing

Returns this

public function setRoutingNumber($routingNumber)

Set routing number

Arguments

  1. *string

Returns this

public function setShipping()

Set shipping in profile transaction

Returns this

public function setShippingAddress($address)

Set shipping address

Arguments

  1. *string

Returns this

public function setShippingAmount($amount)

Set shipping amount

Arguments

  1. *integer|float

Returns this

public function setShippingCity($city)

Set shipping city

Arguments

  1. *string

Returns this

public function setShippingCompany($company)

Set shipping company

Arguments

  1. *string

Returns this

public function setShippingCountry($country)

Set shipping country

Arguments

  1. *string

Returns this

public function setShippingDescription($desc)

Set shipping description

Arguments

  1. *string

Returns this

public function setShippingFaxNumber($faxNumber)

Set shipping fax number

Arguments

  1. *string

Returns this

public function setShippingFirstName($firstName)

Set shipping first name

Arguments

  1. *string

Returns this

public function setShippingId($id)

Set shipping address id

Arguments

  1. *string

Returns this

public function setShippingLastName($lastName)

Set shipping last name

Arguments

  1. *string

Returns this

public function setShippingName($name)

Set shipping name

Arguments

  1. *string

Returns this

public function setShippingPhoneNumber($phoneNumber)

Set shipping phone number

Arguments

  1. *string

Returns this

public function setShippingState($state)

Set shipping state

Arguments

  1. *string

Returns this

public function setShippingZip($zip)

Set shipping zip

Arguments

  1. *string

Returns this

public function setTaxExemption()

Enable Tax Exemption

Returns this

public function setToBusiness()

Set customer type to business

Returns this

public function setToCheck()

Set transaction type to check

Returns this

public function updatePaymentProfile()

Update a customer payment profile for an existing customer profile.

Returns array

public function updateProfile()

Update an existing customer profile.

Returns array

public function updateShippingAddress()

Update a shipping address for an existing customer profile.

Returns array

public function validatePaymentProfile()

Verify an existing customer payment profile by generating a test transaction.

Returns array


© 2012 Openovate Labs. All rights reserved.