LoyaltyReceivedEventResponse¶
-
public class
LoyaltyReceivedEventResponse
¶ Allows the POS application to edit the loyalty offers and accounts after they were linked by other applications.
Methods¶
applyLoyaltyOffers¶
asCommerceResponse¶
-
public static CommerceResponse
asCommerceResponse
(LoyaltyReceivedEventResponse loyaltyReceivedEventResponse)¶ Generate CommerceResponse from the provided response
asTransactionEventResponse¶
-
public static TransactionEventResponse
asTransactionEventResponse
(LoyaltyReceivedEventResponse loyaltyReceivedEventResponse)¶ Return TransactionEventResponse from the provided response
getInvoiceId¶
getLoyaltyOffers¶
getResponsePayment¶
-
public Payment
getResponsePayment
()¶ Returns the payment object that started the amount adjustment process. To update this, either update this object directly or use
updatePayment(Payment)
;
getTransaction¶
-
public Transaction
getTransaction
()¶ Return Transaction from event
selectLoyaltyIdentifier¶
-
public void
selectLoyaltyIdentifier
(LoyaltyIdentifier loyaltyIdentifier)¶ Applies the information from the loyalty identifier to the overall transaction. Only one should be used per transaction.
setLoyaltyOffers¶
updatePayment¶
updateTransaction¶
-
public void
updateTransaction
(Transaction transaction)¶ Update transaction from response