Class AR_CreditCardSPS

Known SubClasses

AR_CreditCard

Properties

LOCAL isFALSE=0  
LOCAL isTRUE=1  
LOCAL retSUCCESS=1  
LOCAL retFAILURE=0  
LOCAL errOBJECT=200  
PROPERTY Sage.Exchange   * Read Only *

[constant, object handle] Handle to .NET class mapping to the XSD schema

PROPERTY Sage.COM   * Read Only *
[constant, object handle] Handle to COM object for the SDK
PROPERTY SDKAvailable   * Read Only *
[boolean] If true, Sage Exchange SDK should exist because interactive window station is available

Methods

FUNCTION Create(spsObjectType$)  

Create XML mapped object of the specified type

ParameterDescription
spsObjectType$ [input, string] Type of SPS object
Returns [constant, object handle] Handle to the SPS object created
FUNCTION FromXML(xmlData$)  

Deserialize an XML string to its proper object type

ParameterDescription
xmlData$ [string] XML data string
Returns [constant, object handle] Handle to the SPS object created
FUNCTION GetUniqueID$()  

Get a unique ID value from the SDK client (UUID)

Returns [string] Unique ID
FUNCTION TestInternetConnection()  
FUNCTION TestInternetConnection(retest)  

Test internet connection

ParameterDescription
retest {optional} [input, boolean] if true, will retest internet connection
Returns [boolean] Success if there is internet connectivity, otherwise failure.
FUNCTION ToXML$(spsObject)  

Convert a serializable object to XML string

ParameterDescription
spsObject [constant, object handle] The handle for the SPS object
Returns [string] XML string
FUNCTION LOCAL CreateRequest(appID$, langID$)  
FUNCTION LOCAL CreateRequest(appID$, langID$, appKey$)  

Create and return a Request_v1 object

ParameterDescription
appID$ [input, string] The SPS application / client ID for MAS 90/200
langID$ [input, string] The Language ID (EN for English)
appKey$ [input, string] The SPS clientKey$ associated with the appID$
Returns [constant, object handle] Handle to the request object created
FUNCTION LOCAL Submit(spsObject)  

Submit object (Request_V1) to the SPS client

ParameterDescription
spsObject [constant, object handle] The handle for the SPS object
Returns [constant, object handle] The handle to the response object
FUNCTION LOCAL Submit(xmlData$)  

Submit XML string to the SPS client

ParameterDescription
xmlData$ [string] XML data string
Returns [constant, object handle] The handle to the response object