> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/_environment_data_provider_8h_source.md).

# EnvironmentDataProvider.h

[Go to the documentation of this file.](/adk-5.0-programmers-guide/readme/files/dir_2002fcb36e937be08e088f9ab4e81de8/dir_fad52422ca9a0153aca9cfe879bff259/dir_613e11e510006a27889deef70cf7d9b4/_environment_data_provider_8h.md)

```cpp
 1 
 8 #ifndef ENVIRONMENTDATAPROVIDER_H_
 9 #define ENVIRONMENTDATAPROVIDER_H_
 10 
 11 #include <string>
 12 #include <vector>
 13 #include "cpdllspec.h"
 14 
 15 namespace vficpl
 16 {
 17  class CPDllSpec EnvironmentDataProvider
 18  {
 19  public:
 20 
 24  EnvironmentDataProvider();
 25 
 29  virtual ~EnvironmentDataProvider();
 30 
 37  virtual std::string getLocale();
 38 
 45  virtual std::string getTimezone();
 46 
 53  virtual std::string getCountry();
 54 
 60  virtual std::string getMerchantName();
 61 
 67  virtual std::vector<std::string> getMerchantAddress();
 68 
 74  virtual float getLatitude();
 75 
 81  virtual float getLongitude();
 82 
 88  virtual float getAltitude();
 89 
 95  virtual std::string getPaymentAppName();
 96 
 101  virtual std::string getPaymentAppVersion();
 102 
 108  virtual bool isDCCSupported();
 109 
 117  virtual std::string getPrinterType();
 118 
 125  virtual int getPrinterColWidth();
 126 
 133  virtual int getPrinterFontWidth();
 134 
 141  virtual int getPrinterPixelWidth();
 142 
 148  virtual bool isBarcodeReaderSupported();
 149 
 156  virtual std::vector<std::string> getBeaconType();
 157 
 163  virtual bool isPOSSupported();
 164  };
 165 } // namespace vficpl
 166 
 167 #endif
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/_environment_data_provider_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
