CustomerGateway Methods
From AuthorizeNet .NET
| A .NET Library aimed at helping you get up to speed quickly with Authorize.NET |
| CustomerGateway Methods |
| CustomerGateway Class See Also Send Feedback |
The CustomerGateway type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddCreditCard(String, String, Int32, Int32, String) |
Adds a credit card profile to the user and returns the profile ID
| |
| AddCreditCard(String, String, Int32, Int32, String, Address) |
Adds a credit card profile to the user and returns the profile ID
| |
| AddShippingAddress(String, Address) |
Adds a Shipping Address to the customer profile
| |
| AddShippingAddress(String, String, String, String, String, String, String, String, String) |
Adds a Shipping Address to the customer profile
| |
| Authorize(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.
| |
| Authorize(String, String, Decimal) |
Authorizes a transaction using the supplied profile information.
| |
| Authorize(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
| |
| AuthorizeAndCapture(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.
| |
| AuthorizeAndCapture(String, String, Decimal) |
Authorizes and Captures a transaction using the supplied profile information.
| |
| AuthorizeAndCapture(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
| |
| Capture |
Captures the specified transaction.
| |
| CreateCustomer | ||
| DeleteCustomer |
Deletes a customer from the AuthNET servers.
| |
| DeletePaymentProfile |
Deletes a payment profile for a customer from the AuthNET servers.
| |
| DeleteShippingAddress |
Deletes a shipping address for a given user from the AuthNET servers.
| |
| Equals | (Inherited from Object.) | |
| GetCustomer |
Retrieve an existing customer profile along with all the associated customer payment profiles and customer shipping addresses.
| |
| GetCustomerIDs |
Returns all Customer IDs stored at Authorize.NET
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetShippingAddress |
Gets a shipping address for a customer.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Refund |
Refunds a transaction for the specified amount
| |
| ToString | (Inherited from Object.) | |
| UpdateCustomer |
Updates a customer's record.
| |
| UpdatePaymentProfile |
Updates a payment profile for a user.
| |
| UpdateShippingAddress |
Updates a shipping address for a user.
| |
| ValidateProfile(String, String) | ||
| ValidateProfile(String, String, ServiceMode) | ||
| ValidateProfile(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
| |
| Void |
Voids a previously authorized transaction
|