AI-generated Key Takeaways
-
LoyaltyPoints
is a Parcelable class representing loyalty reward points with label, balance, and type. -
It provides methods to get the balance, label, and type of loyalty points.
-
Includes a builder (
LoyaltyPoints.Builder
) for creatingLoyaltyPoints
objects. -
Deprecated methods
getType()
andgetValidTimeInterval()
are present but no longer used. -
It implements the
Parcelable
interface for data serialization.
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 |
getBalance()
Returns the balance.
|
String |
getLabel()
Returns the label.
|
String |
getType()
This method is deprecated. This value is no longer used.
|
TimeInterval |
getValidTimeInterval()
This method is 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 is deprecated.
This value is no longer used.
public TimeInterval getValidTimeInterval ()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- the valid time interval