Click or drag to resize
PayWayAPI Class
This class is the client for the PayWay Credit Card API. The intended use of this class is that you create one CCAPIClient instance in your application, then call it from multiple threads to process credit card transactions. This class is thread-safe, so using one instance from many threads is safe. You must call initialise() on this object before it can be used.
Inheritance Hierarchy
SystemObject
  Qvalent.PayWayPayWayAPI

Namespace: Qvalent.PayWay
Assembly: PayWayAPI (in PayWayAPI.dll) Version: 1.0.10.0
Syntax
C#
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("04B27DF6-8277-40ce-9FF4-3F4BA93D0F03")]
[ComVisibleAttribute(true)]
public class PayWayAPI

The PayWayAPI type exposes the following members.

Constructors
  NameDescription
Public methodPayWayAPI
Create the un-initialised instance of the object. You must call Initialse() on this object before using it.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormatRequestParameters
Format the parameters from the provided map into a request string to pass to the processCreditCard method.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialise(String)
Initialise this object so that it can process CCAPI transactions.
Public methodInitialise(String, Stream)
Initialise this object so that it can process CCAPI transactions.
Public methodIsInitialised
Returns true if this client object has been correctly intialised, or false otherwise.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParseResponseParameters
Parse the response parameters string from the processCreditCard method into a map.
Public methodProcessCreditCard
Main credit card processing method. Pass the request parameters into this method, then the current thread will wait for the response to be returned from the server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
None
See Also