UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

37 lines (36 loc) 1.37 kB
import { Amount } from "./amount"; import { ResponsePaymentMethod } from "./responsePaymentMethod"; export declare class Payment { "amount"?: Amount | null; "paymentMethod"?: ResponsePaymentMethod | null; /** * Adyen\'s 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request. */ "pspReference"?: string; /** * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. */ "resultCode"?: Payment.ResultCodeEnum; 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 Payment { enum ResultCodeEnum { Authorised = "Authorised" } }