@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
46 lines (45 loc) • 1.79 kB
TypeScript
import { Amount } from "./amount";
export declare class CustomNotification {
"amount"?: Amount | null;
/**
* The event that caused the notification to be sent.Currently supported values: * **AUTHORISATION** * **CANCELLATION** * **REFUND** * **CAPTURE** * **REPORT_AVAILABLE** * **CHARGEBACK** * **REQUEST_FOR_INFORMATION** * **NOTIFICATION_OF_CHARGEBACK** * **NOTIFICATIONTEST** * **ORDER_OPENED** * **ORDER_CLOSED** * **CHARGEBACK_REVERSED** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA**
*/
"eventCode"?: string;
/**
* The time of the event. Format: [ISO 8601](http://www.w3.org/TR/NOTE-datetime), YYYY-MM-DDThh:mm:ssTZD.
*/
"eventDate"?: Date;
/**
* Your reference for the custom test notification.
*/
"merchantReference"?: string;
/**
* The payment method for the payment that the notification is about. Possible values: * **amex** * **visa** * **mc** * **maestro** * **bcmc** * **paypal** * **sms** * **bankTransfer_NL** * **bankTransfer_DE** * **bankTransfer_BE** * **ideal** * **elv** * **sepadirectdebit**
*/
"paymentMethod"?: string;
/**
* A description of what caused the notification.
*/
"reason"?: string;
/**
* The outcome of the event which the notification is about. Set to either **true** or **false**.
*/
"success"?: boolean;
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();
}