Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
LoyaltyAdjustment Class Reference
Inheritance diagram for LoyaltyAdjustment:
CPBaseParcel ICpToJson BaseParcel

Public Member Functions

String getPublisher ()
 
void setPublisher (String publisher)
 
String getPublisherId ()
 
void setPublisherId (String publisherId)
 
Offer [] getLoyaltyOffers ()
 
ArrayList< OffergetLoyaltyOffersList ()
 
void addLoyaltyOffers (ArrayList< Offer > loyaltyOffers)
 
void addLoyaltyOffer (Offer loyaltyOffer)
 
void removeLoyaltyOffer (Offer loyaltyOffer)
 
LoyaltyIdentifier [] getLoyaltyIdentifiers ()
 
void addLoyaltyIdentifiers (ArrayList< LoyaltyIdentifier > loyaltyIdentifiers)
 
void addLoyaltyIdentifier (LoyaltyIdentifier loyaltyIdentifier)
 
void removeLoyaltyIdentifier (LoyaltyIdentifier loyaltyIdentifier)
 
String getQrCodeString ()
 
void setQrCodeString (String qrCodeString)
 
 LoyaltyAdjustment (Parcel in, int parcelVersion)
 
void writeToParcel (Parcel dest, int flags)
 
void setParcelVersion (int targetParcelVersion)
 
JSONObject buildToCpJson ()
 
- Public Member Functions inherited from CPBaseParcel
 CPBaseParcel (Parcel in, int parcelVersion)
 
- Public Member Functions inherited from BaseParcel
 BaseParcel (Parcel in, int parcelVersion)
 
void setParcelVersion (int targetParcelVersion)
 
final int getParcelVersion ()
 
String getClassName ()
 
void writeToParcel (Parcel dest, int flags)
 
int describeContents ()
 

Static Public Attributes

static final Creator< LoyaltyAdjustmentCREATOR
 
- Static Public Attributes inherited from BaseParcel
static final Parcelable.Creator< BaseParcelCREATOR
 

Additional Inherited Members

- Static Public Member Functions inherited from CPBaseParcel
static< CPEntityType extends CPBaseParcel > CPEntityType buildFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @Nullable CPEntityType parentObject)
 
- Protected Member Functions inherited from CPBaseParcel
abstract< CPEntityType extends CPBaseParcel > CPEntityType buildFromCpJson ( @NonNull JSONObject jsonObject, @Nullable CPEntityType parentObject)
 
- Static Protected Member Functions inherited from CPBaseParcel
static< CPEntityType extends CPBaseParcel > ArrayList< CPEntityType > buildListFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @NonNull String targetJsonAlias)
 
- Static Protected Member Functions inherited from BaseParcel
static void safelySetParcelVersion (final int targetParcelVersion, @Nullable BaseParcel item)
 
static void safelySetParcelVersion (final int targetParcelVersion, @Nullable List<? extends BaseParcel > items)
 
static< T extends BaseParcel > void safelySetParcelVersion (final int targetParcelVersion, @Nullable T[] items)
 

Detailed Description

Contains the entire selection of adjustments that are valid for the current customer, and the necessary identification for those offers.

Definition at line 23 of file LoyaltyAdjustment.java.

Member Function Documentation

◆ addLoyaltyIdentifier()

void addLoyaltyIdentifier ( LoyaltyIdentifier  loyaltyIdentifier)

Adds an LoyaltyIdentifier.

See also
getLoyaltyIdentifiers()

Definition at line 155 of file LoyaltyAdjustment.java.

◆ addLoyaltyIdentifiers()

void addLoyaltyIdentifiers ( ArrayList< LoyaltyIdentifier loyaltyIdentifiers)

Adds list of Loyalty identifiers.

See also
getLoyaltyIdentifiers()

Definition at line 140 of file LoyaltyAdjustment.java.

◆ addLoyaltyOffer()

void addLoyaltyOffer ( Offer  loyaltyOffer)

Adds an offer.

See also
getLoyaltyOffers()

Definition at line 105 of file LoyaltyAdjustment.java.

◆ addLoyaltyOffers()

void addLoyaltyOffers ( ArrayList< Offer loyaltyOffers)

Adds list of offers.

See also
getLoyaltyOffers()

Definition at line 90 of file LoyaltyAdjustment.java.

◆ getLoyaltyIdentifiers()

LoyaltyIdentifier [] getLoyaltyIdentifiers ( )

Array of Loyalty Identifiers

See also
LoyaltyIdentifier

Definition at line 131 of file LoyaltyAdjustment.java.

◆ getLoyaltyOffers()

Offer [] getLoyaltyOffers ( )

Array of Offers, see detailed description in BasketAdjustmentRequest#getOffers().

See also
BasketAdjustmentRequest::getOffers()

Definition at line 71 of file LoyaltyAdjustment.java.

◆ getLoyaltyOffersList()

ArrayList<Offer> getLoyaltyOffersList ( )

The underlying list of offers.

See also
getLoyaltyOffers()

Definition at line 81 of file LoyaltyAdjustment.java.

◆ getPublisher()

String getPublisher ( )

Publisher name. Identify which offers platform is being leveraged.

Definition at line 36 of file LoyaltyAdjustment.java.

◆ getPublisherId()

String getPublisherId ( )

Publisher identifier. Provider may elect to pass a numeric identifier for their platform.

Definition at line 52 of file LoyaltyAdjustment.java.

◆ getQrCodeString()

String getQrCodeString ( )

RFU

Definition at line 178 of file LoyaltyAdjustment.java.

◆ removeLoyaltyIdentifier()

void removeLoyaltyIdentifier ( LoyaltyIdentifier  loyaltyIdentifier)

Removes an LoyaltyIdentifier from the list if it is present.

See also
getLoyaltyIdentifiers()

Definition at line 169 of file LoyaltyAdjustment.java.

◆ removeLoyaltyOffer()

void removeLoyaltyOffer ( Offer  loyaltyOffer)

Removes an offer from the list if it is present.

See also
getLoyaltyOffers()

Definition at line 119 of file LoyaltyAdjustment.java.

◆ setPublisher()

void setPublisher ( String  publisher)

Sets the publisher name. This is required.

See also
getPublisher()

Definition at line 45 of file LoyaltyAdjustment.java.

◆ setPublisherId()

void setPublisherId ( String  publisherId)

Sets the publisher ID.

See also
getPublisherId()

Definition at line 61 of file LoyaltyAdjustment.java.

◆ setQrCodeString()

void setQrCodeString ( String  qrCodeString)

Set qr code string.

See also
getQrCodeString()

Definition at line 187 of file LoyaltyAdjustment.java.

Member Data Documentation

◆ CREATOR

final Creator<LoyaltyAdjustment> CREATOR
static
Initial value:
= new ParcelCreator<LoyaltyAdjustment>() {
@Override
public LoyaltyAdjustment createFromParcel(Parcel source) {
BaseParcel createdObject = super.createFromParcel(source);
if (createdObject == null || !LoyaltyAdjustment.class.isInstance(createdObject)) {
return new LoyaltyAdjustment(source, getRecommendedParcelVersion());
} else {
return (LoyaltyAdjustment) createdObject;
}
}
@Override
public LoyaltyAdjustment[] newArray(int size) {
return new LoyaltyAdjustment[size];
}
}

Definition at line 223 of file LoyaltyAdjustment.java.


The documentation for this class was generated from the following file:

This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.