{"title":"PedDevice","category":"default","creationDate":1776961627,"content":"<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>PedDevice<\/code><\/td>\n<td>PED object that represents the terminal.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"getters\">Getters<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>GetTerminalInfo<\/code><\/td>\n<td>Retrieves terminal information such as ID, brand, OS, etc.<\/td>\n<\/tr>\n<tr>\n<td><code>GetTenderState<\/code><\/td>\n<td>Retrieves the current processing state of the tender.<\/td>\n<\/tr>\n<tr>\n<td><code>GetDeviceState<\/code><\/td>\n<td>Returns the state of the PED.<\/td>\n<\/tr>\n<tr>\n<td><code>GetCurrentTender<\/code><\/td>\n<td>Returns the tender that is currently being processed.<\/td>\n<\/tr>\n<tr>\n<td><code>GetUniquePEDreference<\/code><\/td>\n<td>Returns a unique identifier for the PED object.<\/td>\n<\/tr>\n<tr>\n<td><code>GetBatteryPercentage<\/code><\/td>\n<td>Returns the battery charge in percent. Write alerts and optimizations based on this.<\/td>\n<\/tr>\n<tr>\n<td><code>GetTerminalAdditionalData<\/code><\/td>\n<td>Returns the additional data object of the terminal.<\/td>\n<\/tr>\n<tr>\n<td><code>GetDeviceAddress<\/code><\/td>\n<td>Returns the unique address of the terminal.<\/td>\n<\/tr>\n<tr>\n<td><code>GetDeviceName<\/code><\/td>\n<td>Returns the configured name of the terminal that the <code>PedDevice<\/code> object applies to.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use this object in the following calls and callbacks to represent the PED:<\/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-progress-events-com-extension\">Handle progress events - COM extension<\/a><\/li>\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-signature-callback-com-extension\">Handle the Signature callback - COM extension<\/a><\/li>\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<li><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/extras-com-extension\/query-the-ped-object-for-device-information-com-extension\">Query the PED object for device information - COM extension<\/a><\/li>\n<li><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/extras-com-extension\/handle-dynamic-currency-conversion-com-extension\">Handle Dynamic Currency Conversion - COM extension<\/a><\/li>\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-additional-data-callback-com-extension\">Handle the Additional Data callback - COM extension<\/a><\/li>\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-final-state-callback-com-extension\">Handle the final state 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\/peddevice","articleFields":{"id":"25143538","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\/peddevice","title":"PedDevice","content":"\n\n\nName\nDescription\n\n\n\n\nPedDevice\nPED object that represents the terminal.\n\n\n\nGetters\n\n\n\nName\nDescription\n\n\n\n\nGetTerminalInfo\nRetrieves terminal information such as ID, brand, OS, etc.\n\n\nGetTenderState\nRetrieves the current processing state of the tender.\n\n\nGetDeviceState\nReturns the state of the PED.\n\n\nGetCurrentTender\nReturns the tender that is currently being processed.\n\n\nGetUniquePEDreference\nReturns a unique identifier for the PED object.\n\n\nGetBatteryPercentage\nReturns the battery charge in percent. Write alerts and optimizations based on this.\n\n\nGetTerminalAdditionalData\nReturns the additional data object of the terminal.\n\n\nGetDeviceAddress\nReturns the unique address of the terminal.\n\n\nGetDeviceName\nReturns the configured name of the terminal that the PedDevice object applies to.\n\n\n\nUse this object in the following calls and callbacks to represent the PED:\n\nHandle progress events - COM extension\nHandle the Signature callback - COM extension\nHandle the Print Receipt callback - COM extension\nQuery the PED object for device information - COM extension\nHandle Dynamic Currency Conversion - COM extension\nHandle the Additional Data callback - COM extension\nHandle the final state 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":"PedDevice"},"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\/peddevice"},"levels":7,"category":"In-person payments","category_color":"green","tags":["PedDevice"]}}
