Skip to main content

In-Person Payments

LoyaltyData.java

Last updated: 17-Jun-2024

namespace payment_sdk

class LoyaltyData

  • Allows to convert various offers and promotions to format that can be applied to payment

Public Functions

LoyaltyType getType()

  • Return type of Loyalty used to instantiate this object

Promotion getAsPromotion()

  • Access Promotion values, will return empty optional if LoyaltyType does not match APR_PROMOTION

Public Static Functions

static inline LoyaltyData createFromPromotion(Promotion promotion)

  • Create LoyaltyData from Promotion

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