Skip to main content

In-Person Payments

Promotion.hpp

Last updated: 22-Jul-2024

namespace verifone_sdk

class Promotion

  • Represents an individual promotion that can be used in the context of a transaction

Public Functions

inline virtual ~Promotion()
virtual std::optional<PromotionInfo> getPromotionInfo() const = 0

  • Return details of applied Promotion

virtual std::string getPromotionCode() const = 0

  • Return promotion code

virtual std::optional<std::string> getPromotionDisclosure() const = 0

  • Return promotion disclosure to be included on receipt

Public Static Functions

static std::shared_ptr<Promotion> create(const std::string &promotionCode)

  • Create promotion instance

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo