LoyaltyPoints

public final class LoyaltyPoints extends Object
implements Parcelable

Parcelable representing the loyalty reward points label, balance, and type.

Nested Class Summary

class LoyaltyPoints.Builder Builder to create a LoyaltyPoints

Inherited Constant Summary

Field Summary

public static final Creator<LoyaltyPoints> CREATOR

Public Method Summary

LoyaltyPointsBalance
String
String
getType()
This method was deprecated. This value is no longer used.
TimeInterval
getValidTimeInterval()
This method was deprecated. This value is unused by the platform and will be removed in the future.
static LoyaltyPoints.Builder
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<LoyaltyPoints> CREATOR

Public Methods

public LoyaltyPointsBalance getBalance ()

Returns
  • the balance

public String getLabel ()

Returns
  • the label

public String getType ()

This method was deprecated.
This value is no longer used.

public TimeInterval getValidTimeInterval ()

This method was deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • the valid time interval

public static LoyaltyPoints.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)