Skip to main content

In-Person Payments

HostSalesData.hpp

Last updated: 18-Jul-2024

namespace verifone_sdk

struct HostSalesData

  • This object contains references to the Sale Context normally these attributes have a special meaning within the Merchant’s systems or POS. This object may contain additional properties, but these will not be indexed for search.

Public Functions

inline HostSalesData(std::optional<std::string> salesIdentifier_, std::optional<std::string> salesReferenceNumber_, std::optional<std::string> storeIdentifier_, std::optional<std::string> invoiceNumber_, std::optional<std::string> cashierId_, std::optional<std::string> cashierName_, std::optional<std::string> laneNumber_, std::optional<int32_t> shiftNumber_)

Public Members

std::optional<std::string> salesIdentifier

  • An identifier from the POS or third-party for this transaction.

std::optional<std::string> salesReferenceNumber

  • A reference number used by card acceptor for this transaction.

std::optional<std::string> storeIdentifier

  • An identifier for a store. Normally only required where the relationship to merchant is not one to one

std::optional<std::string> invoiceNumber

  • Optional.The invoice number to track this payment. Must be less than 128 characters.

std::optional<std::string> cashierId

  • An identifier to represent the cashier who performed the transaction at the POS.

std::optional<std::string> cashierName

  • An optional value to represent the name of the Cashier.

std::optional<std::string> laneNumber

  • The lane or aisle number for the POS where the transaction originated. This is a string as this value may be non-numeric for some Merchant.

std::optional<int32_t> shiftNumber

  • A shift number identifier used by the Card Acceptor to associate with the transaction. Must be less than 1000.

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