everyone-is-authorized-client-dotnet

EveryoneIsAuthorizedClient

Contents

AlwaysAuthorize type

Namespace

EveryoneIsAuthorized.Client

Summary

Client interface to the credit card processing services for Everyone is Authorized.

#ctor() constructor

Summary

Create an authorizer using an instance of CreditCardValidator.

Parameters

This constructor has no parameters.

#ctor(creditCardValidator) constructor

Summary

Create an authorizer using a provided credit card validator.

Parameters
Name Type Description
creditCardValidator OpenCardServices.Validator.ICreditCardValidator The ICreditCardValidator instance to use.

Authorize(amt,number) method

Summary

If an invalid card number is presented the card will always be rejected. Otherwide every request is authorized regardless of available credit.

Returns

A unique token tied to the transaction if the charge is allowed, or null if it is not.

Parameters
Name Type Description
amt System.Double The amount to charge.
number System.String The card number to charge.