@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
70 lines (69 loc) • 2.27 kB
TypeScript
import { SaleTerminalData } from "./saleTerminalData";
import { SaleToIssuerData } from "./saleToIssuerData";
import { TokenRequestedType } from "./tokenRequestedType";
import { TransactionIDType } from "./transactionIDType";
/**
* Data associated with the Sale System, with a particular value during the processing of the payment by the POI, including the cards acquisition.
*/
export declare class SaleData {
/**
* Identification of the Cashier or Operator.
*/
"OperatorID"?: string;
/**
* Language of the Cashier or Operator. If different from the Login.
*/
"OperatorLanguage"?: string;
/**
* Shift number. If different from the Login, see Login SaleData.
*/
"ShiftNumber"?: string;
"SaleTransactionID": TransactionIDType;
/**
* Identification of a Sale global transaction for a sequence of related POI transactions. If payment reservation.
*/
"SaleReferenceID"?: string;
"SaleTerminalData"?: SaleTerminalData | null;
"TokenRequestedType"?: TokenRequestedType;
/**
* Additional and optional identification of a customer order.
*/
"CustomerOrderID"?: string;
/**
* List of customer order open, closed or both to be sent in the response messages. Possible values: * **Both** * **Closed** * **Open**
*/
"CustomerOrderReq"?: Array<SaleData.CustomerOrderReqEnum>;
/**
* Sale information intended for the POI. Stored with the transaction.
*/
"SaleToPOIData"?: string;
/**
* Sale information intended for the Acquirer. Send to the Acquirer if present.
*/
"SaleToAcquirerData"?: string;
"SaleToIssuerData"?: SaleToIssuerData | null;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace SaleData {
enum CustomerOrderReqEnum {
Open = "Open",
Closed = "Closed",
Both = "Both"
}
}