@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
99 lines (98 loc) • 4.31 kB
TypeScript
/**
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { PtsV2PaymentsVoidsPost201ResponseLinks } from './pts-v2-payments-voids-post201-response-links';
import { TssV2TransactionsPost201ResponseEmbedded } from './tss-v2-transactions-post201-response-embedded';
/**
*
* @export
* @interface TssV2TransactionsPost201Response
*/
export interface TssV2TransactionsPost201Response {
/**
* An unique identification number assigned by CyberSource to identify each Search request.
* @type {string}
* @memberof TssV2TransactionsPost201Response
*/
searchId?: string;
/**
* Indicates whether or not you want to save this search request for future use. The options are: * `true` * `false` (default value) If set to `true`, this field returns `searchID` in the response. You can use this value to retrieve the details of the saved search.
* @type {boolean}
* @memberof TssV2TransactionsPost201Response
*/
save?: boolean;
/**
* Name of this search. When `save` is set to `true`, this search is saved with this name.
* @type {string}
* @memberof TssV2TransactionsPost201Response
*/
name?: string;
/**
* Merchant's time zone in ISO standard, using the TZ database format. For example: `America/Chicago`
* @type {string}
* @memberof TssV2TransactionsPost201Response
*/
timezone?: string;
/**
* String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn-search-intro/txn-filtering.html) section of the Transaction Search Developer Guide.
* @type {string}
* @memberof TssV2TransactionsPost201Response
*/
query?: string;
/**
* Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned.
* @type {number}
* @memberof TssV2TransactionsPost201Response
*/
offset?: number;
/**
* Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500.
* @type {number}
* @memberof TssV2TransactionsPost201Response
*/
limit?: number;
/**
* A comma separated list of the following form: `submitTimeUtc:desc`
* @type {string}
* @memberof TssV2TransactionsPost201Response
*/
sort?: string;
/**
* Results for this page, this could be below the limit.
* @type {number}
* @memberof TssV2TransactionsPost201Response
*/
count?: number;
/**
* Total number of results.
* @type {number}
* @memberof TssV2TransactionsPost201Response
*/
totalCount?: number;
/**
* Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
* @type {string}
* @memberof TssV2TransactionsPost201Response
*/
submitTimeUtc?: string;
/**
*
* @type {TssV2TransactionsPost201ResponseEmbedded}
* @memberof TssV2TransactionsPost201Response
*/
embedded?: TssV2TransactionsPost201ResponseEmbedded;
/**
*
* @type {PtsV2PaymentsVoidsPost201ResponseLinks}
* @memberof TssV2TransactionsPost201Response
*/
links?: PtsV2PaymentsVoidsPost201ResponseLinks;
}