class CreateSessionRequest

Class CreateSessionRequest.

CreateSession is used to create a SessionID. SessionID values are later used as part of a secure and tamper-resistant URL so that a browser-style application can be launched to accept cardholder information outside of the developer’s software. CreateSession can also be used to send initial customer data to SLIM CD so that payment pages are pre-populated for the clerk, providing ease of data entry.

Properties

string $username Username or API Access Credential that accesses web service.
string $password Plaintext password for the client account.
int $clientid Assigned by the Slim CD administrator.
int $siteid Assigned by the Slim CD administrator.
int $priceid Numeric value provided by SLIMCD that is sent when processing a transaction.
string $formname Name of the form to use when creating a session.
string $transtype Type of transaction to perform (SALE, CREDIT, VOID, etc).
int $amount Amount of the transaction.
null $userfields This is a USER-SUPPLIED field, can be named whatever the developer wants, and can be used to store additional data with the form. In the case of the libraries, these field name/values are provided in a dictionary called “userfields”. In the case of the webservice/resource, these fields are simply included with other name/value pairs.

Methods

jsonSerialize()

No description

Details

at line 85
jsonSerialize()