@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
69 lines (68 loc) • 2.41 kB
TypeScript
import { LoyaltyHandling } from "./loyaltyHandling";
/**
* Conditions on which the transaction must be processed.
*/
export declare class TransactionConditions {
/**
* Payment brands accepted for this transaction. Card payment brands allowed by the Sale System for the payment transaction. Restrict brand if data sent.
*/
"AllowedPaymentBrand"?: Array<string>;
/**
* Identification of the Acquirer. Restrict to these Acquirer if present.
*/
"AcquirerID"?: Array<number>;
/**
* The preferred type of payment is a debit transaction rather than a credit transaction.
*/
"DebitPreferredFlag"?: boolean;
/**
* Loyalty brands or programs allowed by the Sale System for the loyalty transaction. Restrict brand if data sent.
*/
"AllowedLoyaltyBrand"?: Array<string>;
"LoyaltyHandling"?: LoyaltyHandling;
/**
* The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
*/
"CustomerLanguage"?: string;
/**
* Indicates if the Cashier requires POI forces online access to the Acquirer. Go online if data sent.
*/
"ForceOnlineFlag"?: boolean;
"ForceEntryMode"?: Array<TransactionConditions.ForceEntryModeEnum>;
/**
* The code which identifies the category of the transaction (MCC). The payment implies a specific MCC.
*/
"MerchantCategoryCode"?: 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();
}
export declare namespace TransactionConditions {
enum ForceEntryModeEnum {
Rfid = "RFID",
Keyed = "Keyed",
Manual = "Manual",
File = "File",
Scanned = "Scanned",
MagStripe = "MagStripe",
Icc = "ICC",
SynchronousIcc = "SynchronousICC",
Tapped = "Tapped",
Contactless = "Contactless",
CheckReader = "CheckReader"
}
}