LoyaltyPoints.Builder

public final class LoyaltyPoints.Builder extends Object

Builder to create a LoyaltyPoints.

Public Method Summary

LoyaltyPoints
LoyaltyPoints.Builder
setBalance(LoyaltyPointsBalance balance)
Sets the loyalty point balance, such as "500" or "$10.00."
LoyaltyPoints.Builder
setLabel(String label)
Sets the loyalty points label, such as "Points."
LoyaltyPoints.Builder
setType(String type)
This method was deprecated. This value is no longer used.
LoyaltyPoints.Builder
setValidTimeInterval(TimeInterval interval)
This method was deprecated. This value is unused by the platform and will be removed in the future.

Inherited Method Summary

Public Methods

public LoyaltyPoints build ()

public LoyaltyPoints.Builder setBalance (LoyaltyPointsBalance balance)

Sets the loyalty point balance, such as "500" or "$10.00."

public LoyaltyPoints.Builder setLabel (String label)

Sets the loyalty points label, such as "Points."

public LoyaltyPoints.Builder setType (String type)

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

public LoyaltyPoints.Builder setValidTimeInterval (TimeInterval interval)

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

Sets the time interval after which the points will expire. Points will no longer be displayed in the Google Wallet app after points have expired.