You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CardTerminalPreAuthorizationSupplementPayment cardTerminalPreAuthorizationSupplementPayment = new CardTerminalPreAuthorizationSupplementPayment(
// mandatory field
new BigDecimal("2"),
// mandatory field, must refer to the last (previous) completed Pre-Authorization transaction or Pre-Authorization Supplement transaction of related transaction chain
"originalTransactionId",
// mandatory field, must be filled by value of "authorizationCode" returned in the response of the last (previous) Pre-Authorization transaction or Pre-Authorization Supplement
// transaction of related transaction chain
"authorizationCode"
);
ReferenceTerminalPreAuthorizationSupplementRequest referenceTerminalPreAuthorizationSupplementRequest = new ReferenceTerminalPreAuthorizationSupplementRequest(
"originalSaleId", // mandatory field, must refer to the same Sale Purchase as transaction referenced by "originalTransactionId"
cardTerminalPreAuthorizationSupplementPayment, // mandatory field