CustomerGateway Methods

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image

The CustomerGateway type exposes the following members.

Methods

  NameDescription
Public methodAddCreditCard(String, String, Int32, Int32, String)
Adds a credit card profile to the user and returns the profile ID
Public methodAddCreditCard(String, String, Int32, Int32, String, Address)
Adds a credit card profile to the user and returns the profile ID
Public methodAddShippingAddress(String, Address)
Adds a Shipping Address to the customer profile
Public methodAddShippingAddress(String, String, String, String, String, String, String, String, String)
Adds a Shipping Address to the customer profile
Public methodAuthorize(Order)
Authorizes a transaction using the supplied profile information, abstracted through an Order object. Using the Order you can add line items, specify shipping and tax, etc.
Public methodAuthorize(String, String, Decimal)
Authorizes a transaction using the supplied profile information.
Public methodAuthorize(String, String, Decimal, Decimal, Decimal)
Authorizes a transaction using the supplied profile information with Tax and Shipping specified. If you want to add more detail here, use the 3rd option - which is to add an Order object
Public methodAuthorizeAndCapture(Order)
Authorizes and Captures a transaction using the supplied profile information, abstracted through an Order object. Using the Order you can add line items, specify shipping and tax, etc.
Public methodAuthorizeAndCapture(String, String, Decimal)
Authorizes and Captures a transaction using the supplied profile information.
Public methodAuthorizeAndCapture(String, String, Decimal, Decimal, Decimal)
Authorizes and Captures a transaction using the supplied profile information with Tax and Shipping specified. If you want to add more detail here, use the 3rd option - which is to add an Order object
Public methodCapture
Captures the specified transaction.
Public methodCreateCustomer
Public methodDeleteCustomer
Deletes a customer from the AuthNET servers.
Public methodDeletePaymentProfile
Deletes a payment profile for a customer from the AuthNET servers.
Public methodDeleteShippingAddress
Deletes a shipping address for a given user from the AuthNET servers.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCustomer
Retrieve an existing customer profile along with all the associated customer payment profiles and customer shipping addresses.
Public methodGetCustomerIDs
Returns all Customer IDs stored at Authorize.NET
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetShippingAddress
Gets a shipping address for a customer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRefund
Refunds a transaction for the specified amount
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUpdateCustomer
Updates a customer's record.
Public methodUpdatePaymentProfile
Updates a payment profile for a user.
Public methodUpdateShippingAddress
Updates a shipping address for a user.
Public methodValidateProfile(String, String)
Public methodValidateProfile(String, String, ServiceMode)
Public methodValidateProfile(String, String, String, ServiceMode)
This function validates the information on a profile - making sure what you have stored at AuthNET is valid. You can do this in two ways: in TestMode it will just run a validation to be sure all required fields are present and valid. If you specify "live" - a $0.01 charge will be applied to the profile
Public methodVoid
Voids a previously authorized transaction

See Also