Authorize.Net Customer

Instantiate Customer
$customer = eden('authorizenet')->customer('[API_LOGIN]', '[TRANSACTION_KEY]');
Customer Methods
Method Arguments Returns Description
$customer->createPaymentProfile(); none array Create a new customer payment profile for an existing customer profile.
$customer->createProfile(); none array Create a new customer profile along with any customer payment profiles and customer shipping addresses for the customer profile.
$customer->createProfileTransaction(); none array Create a new payment transaction from an existing customer profile.
$customer->createShippingAddress(); none array Create a new customer shipping address for an existing customer profile.
$customer->getPaymentProfile(); none array Retrieve an existing customer profile along with all the associated customer payment profiles and customer shipping addresses.
$customer->getProfile(); none array Retrieve all customer profile IDs you have previously created.
$customer->getShippingAddress(); none array Retrieve a customer shipping address for an existing customer profile.
$customer->removePaymentProfile(); none array Delete a customer payment profile from an existing customer profile.
$customer->removeProfile(); none array Delete a customer profile
$customer->removeShippingAddress(); none array Delete a customer shipping address from an existing customer profile.
$customer->setAccountNumber($accountNumber);
  1. *string
Eden_Authorizenet_Customer Set account number
$customer->setAccountType($accountType);
  1. *string
Eden_Authorizenet_Customer Set account type
$customer->setAmount($amount);
  1. *integer|float
Eden_Authorizenet_Customer Set amount
$customer->setAuthorizeOnly(); none Eden_Authorizenet_Customer Set profile transaction to authorize only
$customer->setBankName($bankName);
  1. *string
Eden_Authorizenet_Customer Set bank name
$customer->setBillingAddress($address);
  1. *string
Eden_Authorizenet_Customer Set billing address
$customer->setBillingCity($city);
  1. *string
Eden_Authorizenet_Customer Set billing city
$customer->setBillingCountry($country);
  1. *string
Eden_Authorizenet_Customer Set billing country
$customer->setBillingEmail($email);
  1. *string
Eden_Authorizenet_Customer Set billing email
$customer->setBillingFaxNumber($faxNumber);
  1. *string
Eden_Authorizenet_Customer Set billing fax Number
$customer->setBillingFirstName($firstName);
  1. *string
Eden_Authorizenet_Customer Set billing first name
$customer->setBillingLastName($lastName);
  1. *string
Eden_Authorizenet_Customer Set billing last name
$customer->setBillingPhoneNumber($phoneNumber);
  1. *string
Eden_Authorizenet_Customer Set billing phone Number
$customer->setBillingState($state);
  1. *string
Eden_Authorizenet_Customer Set billing state
$customer->setBillingZip($zip);
  1. *string
Eden_Authorizenet_Customer Set billing zip
$customer->setCaptureOnly(); none Eden_Authorizenet_Customer Set profile transaction to capture only
$customer->setCardNumber($cardNumber);
  1. *string
Eden_Authorizenet_Customer Set card Number
$customer->setECheckType($eCheck);
  1. *string
Eden_Authorizenet_Customer Set echeck type
$customer->setDescription($description);
  1. *string
Eden_Authorizenet_Customer Set description
$customer->setExpiration($expirationDate);
  1. *string
Eden_Authorizenet_Customer Set expiration Date
$customer->setName($name);
  1. *string
Eden_Authorizenet_Customer Set name on account
$customer->setPaymentId($id);
  1. *string
Eden_Authorizenet_Customer Set payment profile id
$customer->setProfile(); none Eden_Authorizenet_Customer Set use profile
$customer->setProfileId($id);
  1. *string
Eden_Authorizenet_Customer Set profile id
$customer->setRecurringBilling(); none Eden_Authorizenet_Customer Enable recurring billing
$customer->setRoutingNumber($routingNumber);
  1. *string
Eden_Authorizenet_Customer Set routing number
$customer->setShipping(); none Eden_Authorizenet_Customer Set shipping in profile transaction
$customer->setShippingAddress($address);
  1. *string
Eden_Authorizenet_Customer Set shipping address
$customer->setShippingAmount($amount);
  1. *integer|float
Eden_Authorizenet_Customer Set shipping amount
$customer->setShippingCity($city);
  1. *string
Eden_Authorizenet_Customer Set shipping city
$customer->setShippingCompany($company);
  1. *string
Eden_Authorizenet_Customer Set shipping company
$customer->setShippingCountry($country);
  1. *string
Eden_Authorizenet_Customer Set shipping country
$customer->setShippingDescription($desc);
  1. *string
Eden_Authorizenet_Customer Set shipping description
$customer->setShippingFaxNumber($faxNumber);
  1. *string
Eden_Authorizenet_Customer Set shipping fax number
$customer->setShippingFirstName($firstName);
  1. *string
Eden_Authorizenet_Customer Set shipping first name
$customer->setShippingId($id);
  1. *string
Eden_Authorizenet_Customer Set shipping address id
$customer->setShippingLastName($lastName);
  1. *string
Eden_Authorizenet_Customer Set shipping last name
$customer->setShippingName($name);
  1. *string
Eden_Authorizenet_Customer Set shipping name
$customer->setShippingPhoneNumber($phoneNumber);
  1. *string
Eden_Authorizenet_Customer Set shipping phone number
$customer->setShippingState($state);
  1. *string
Eden_Authorizenet_Customer Set shipping state
$customer->setShippingZip($zip);
  1. *string
Eden_Authorizenet_Customer Set shipping zip
$customer->setTaxExemption(); none Eden_Authorizenet_Customer Enable Tax Exemption
$customer->setToBusiness(); none Eden_Authorizenet_Customer Set customer type to business
$customer->setToCheck(); none Eden_Authorizenet_Customer Set transaction type to check
$customer->updatePaymentProfile(); none array Update a customer payment profile for an existing customer profile.
$customer->updateProfile(); none array Update an existing customer profile.
$customer->updateShippingAddress(); none array Update a shipping address for an existing customer profile.
$customer->validatePaymentProfile(); none array Verify an existing customer payment profile by generating a test transaction.

© 2012 Openovate Labs. All rights reserved.