{"title":"Receipts","category":"default","creationDate":1776961627,"content":"<table style=\"width:100%;\"><colgroup><col style=\"width: 5%\"><col style=\"width: 94%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><p>Receipts<\/p><\/td><td><p>Object representing the receipts. The print receipt callback contains the full receipt objects. The cash register should accept and store receipts for handling outside of the transaction flow. You receive a merchant, and a cardholder receipt.<\/p><\/td><\/tr><\/tbody><\/table>\n<h2 id=\"getters\">Getters<\/h2>\n<table><thead><tr class=\"header\"><th><p>Name<\/p><\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>GetResponseHeader<\/code><\/td><td><p>Returns the tender state,\u00a0PED result, LIB result, error messages if\u00a0necessary, tender reference and additional data. Certain callbacks, such as the print receipt callback and final callback get more information using <code>GetResponseHeader<\/code>.<\/p><\/td><\/tr><tr><td><p><code>GetMerchantReceipt<\/code><\/p><\/td><td>Retrieves merchant version of the receipt.<\/td><\/tr><tr><td><p><code>GetCardHolderReceipt<\/code><\/p><\/td><td>Retrieves cardholder version of the receipt.<\/td><\/tr><tr><td><p><code>GetReceiptType<\/code><\/p><\/td><td><p>Returns type of receipt:<\/p><ul><li><p><code>UNDEFINED<\/code><\/p><\/li><li><p><code>AUTHORISED<\/code><\/p><\/li><li><p><code>REFUSED<\/code><\/p><\/li><li><code>SIGNATURE<\/code><\/li><li><p><code>CANCELLED<\/code><\/p><\/li><li><p><code>REFUND_AUTHORISED<\/code><\/p><\/li><li><p><code>REFUND_REFUSED<\/code><\/p><\/li><\/ul><\/td><\/tr><\/tbody><\/table>\n<p>Use this object in the following calls and callbacks to represent the receipts:<\/p>\n<ul>\n<li><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/process-a-basic-transaction-com-extension\/handle-the-print-receipt-callback-com-extension\">Handle the Print Receipt callback - COM extension<\/a><\/li>\n<\/ul>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/com-extension-for-windows-objects\/receipts","articleFields":{"id":"25143541","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/com-extension-for-windows-objects\/receipts","title":"Receipts","content":"NameDescriptionReceiptsObject representing the receipts. The print receipt callback contains the full receipt objects. The cash register should accept and store receipts for handling outside of the transaction flow. You receive a merchant, and a cardholder receipt.\nGetters\nNameDescriptionGetResponseHeaderReturns the tender state,\u00a0PED result, LIB result, error messages if\u00a0necessary, tender reference and additional data. Certain callbacks, such as the print receipt callback and final callback get more information using GetResponseHeader.GetMerchantReceiptRetrieves merchant version of the receipt.GetCardHolderReceiptRetrieves cardholder version of the receipt.GetReceiptTypeReturns type of receipt:UNDEFINEDAUTHORISEDREFUSEDSIGNATURECANCELLEDREFUND_AUTHORISEDREFUND_REFUSED\nUse this object in the following calls and callbacks to represent the receipts:\n\nHandle the Print Receipt callback - COM extension\n","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"COM extension for Windows integration","lvl5":"COM Extension for Windows - Objects","lvl6":"Receipts"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/com-extension-for-windows-objects","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/com-extension-for-windows-objects\/receipts"},"levels":7,"category":"In-person payments","category_color":"green","tags":["Receipts"]}}
