@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
32 lines (31 loc) • 1.16 kB
TypeScript
export declare class ReceiptOptions {
/**
* The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px.
*/
"logo"?: string;
/**
* Indicates whether a screen appears asking if you want to print the shopper receipt.
*/
"promptBeforePrinting"?: boolean;
/**
* Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**.
*/
"qrCodeData"?: string;
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();
}