@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
62 lines (61 loc) • 1.48 kB
TypeScript
import { Item } from "./item";
import { SubInputDetail } from "./subInputDetail";
export declare class InputDetail {
/**
* Configuration parameters for the required input.
*/
"configuration"?: {
[key: string]: string;
};
/**
* Input details can also be provided recursively.
*/
"details"?: Array<SubInputDetail>;
/**
* Input details can also be provided recursively (deprecated).
*
* @deprecated
*/
"inputDetails"?: Array<SubInputDetail>;
/**
* In case of a select, the URL from which to query the items.
*/
"itemSearchUrl"?: string;
/**
* In case of a select, the items to choose from.
*/
"items"?: Array<Item>;
/**
* The value to provide in the result.
*/
"key"?: string;
/**
* True if this input value is optional.
*/
"optional"?: boolean;
/**
* The type of the required input.
*/
"type"?: string;
/**
* The value can be pre-filled, if available.
*/
"value"?: 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();
}