LoyaltyPoints.Builder

public final classLoyaltyPoints.BuilderextendsObject

Builder to create aLoyaltyPoints.

Public Method Summary

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

Inherited Method Summary

Public Methods

publicLoyaltyPoints build()

publicLoyaltyPoints.Builder setBalance(LoyaltyPointsBalance balance)

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

publicLoyaltyPoints.Builder setLabel(Stringlabel)

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

publicLoyaltyPoints.Builder setType(Stringtype)

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

publicLoyaltyPoints.Builder setValidTimeInterval(TimeInterval interval)

This method is 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.