pcp-server-nodejs-sdk
Version:
[](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [ • 1.14 kB
TypeScript
/**
* @description Reason why an order was cancelled. Possible values:
* * CONSUMER_REQUEST - The consumer requested a cancellation of the Order
* * UNDELIVERABLE - The merchant cannot fulfill the Order
* * DUPLICATE - The Order was created twice accidentally
* * FRAUDULENT- Consumer turned out to be a fraudster
* * ORDER_SHIPPED_IN_FULL - The merchant shipped everything and wants to cancel the remaining authorized amount of
* the Order
* * AUTOMATED_SHIPMENT_FAILED - A technical error was thrown during an automated shipment API call rendering the
* Order impossible to complete
*
* Mandatory for PAYONE Buy Now, Pay Later (BNPL):
* * 3390 - PAYONE Secured Invoice
* * 3391 - PAYONE Secured Installment
* * 3392 - PAYONE Secured Direct Debit
* @example CONSUMER_REQUEST
*/
export declare enum CancellationReason {
CONSUMER_REQUEST = "CONSUMER_REQUEST",
UNDELIVERABLE = "UNDELIVERABLE",
DUPLICATE = "DUPLICATE",
FRAUDULENT = "FRAUDULENT",
ORDER_SHIPPED_IN_FULL = "ORDER_SHIPPED_IN_FULL",
AUTOMATED_SHIPMENT_FAILED = "AUTOMATED_SHIPMENT_FAILED"
}