> 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/s-adk-5.1-programmers-guide/_cp_trigger_8h_source.md).

# CpTrigger.h

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

```cpp
 1 #ifndef CPTRIGGER_H_
 2 #define CPTRIGGER_H_
 3 
 4 namespace vficpl
 5 {
 7  typedef enum
 8  {
 16  NOTIF_IDLE = 0,
 17 
 21  NOTIF_MANUAL_LAUNCH = 1,
 22 
 29  REQUEST_CUSTOMER_IDENTIFICATION = 16,
 30 
 35  NOTIF_TRX_STARTED = 2,
 36 
 43  REQUEST_BASKET_ADJUSTMENT = 3,
 44 
 54  NOTIF_BASKET_FINALIZED = 4,
 55 
 60  REQUEST_LOYALTY = 5,
 61 
 70  REQUEST_AMOUNT_ADJUSTMENT = 6,
 71 
 77  NOTIF_AMOUNT_FINALIZED = 7,
 78 
 82  REQUEST_ALT_PAYMENT = 8,
 83 
 88  REQUEST_TECH_ALT_PAYMENT = 17,
 89 
 97  NOTIF_CARD_PRESENTED = 9,
 98 
 108  NOTIF_CARD_BIN_RECEIVED = 10,
 109 
 118  REQUEST_PAYMENT_AMOUNT_ADJUSTMENT = 11,
 119 
 123  NOTIF_AUTHORIZATION_COMPLETED = 12,
 124 
 129  NOTIF_PAYMENT_COMPLETED = 13,
 130 
 147  REQUEST_RECEIPT_MANAGEMENT = 14,
 148 
 152  NOTIF_TRX_ENDED = 15
 153 
 154  } CpTrigger;
 155 } // namespace vficpl
 156 
 157 #endif // CPTRIGGER_H_
```


---

# 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/s-adk-5.1-programmers-guide/_cp_trigger_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.
