UNPKG

pcp-server-nodejs-sdk

Version:

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PAYONE-GmbH_PCP-server-nodeJS-SDK&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [![Coverage](https://sonarcloud.io/api/pr

35 lines (34 loc) 1.1 kB
import type { PaymentType } from './PaymentType.js'; import type { AmountOfMoney } from './AmountOfMoney.js'; import type { StatusValue } from './StatusValue.js'; import type { CancellationReason } from './CancellationReason.js'; import type { PaymentInstructions } from './PaymentInstructions.js'; /** * @description Detailed information regarding an occurred payment event. */ export interface PaymentEvent { /** * @description Type of payment event. */ type?: PaymentType; /** * @description Amount of money associated with the payment event. */ amountOfMoney?: AmountOfMoney; /** * @description Current status of the payment. */ paymentStatus?: StatusValue; /** * @description Reason for payment cancellation. */ cancellationReason?: CancellationReason; /** * @description Reason for refund (e.g., communicated by or to the customer). */ returnReason?: string; /** * @description Payment instructions associated with this payment event. */ paymentInstructions?: PaymentInstructions; }