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

11 lines 949 B
/** * The orderType refers to the ShoppingCart of the Checkout. * - orderType = FULL should be provided if a payment for the entire ShoppingCart should be created. * - orderType = PARTIAL should be provided if the payment should be created only for certain items of the ShoppingCart. For this type the list of items has to be provided. Following conditions apply to the Order request: * amount of the Checkout can not be zero * the ShoppingCart cannot be empty * for orderType = FULL the Checkout status is OPEN, there is no other order and/or Payment Execution and no items should be provided in the body * if no paymentMethodSpecificInput has been provided in the creation of the Commerce Case or Checkout it has to be provided in this request */ export var OrderType; (function (OrderType) { OrderType["Full"] = "FULL"; OrderType["Partial"] = "PARTIAL"; })(OrderType || (OrderType = {})); //# sourceMappingURL=OrderType.js.map