java.lang.Object | |
↳ | com.google.android.gms.wallet.wobs.LoyaltyPoints.Builder |
Builder to create a LoyaltyPoints
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the loyalty point balance, such as "500" or "$10.00."
| |||||||||||
Sets the loyalty points label, such as "Points."
| |||||||||||
This method is deprecated.
This value is no longer used.
| |||||||||||
Sets the time interval after which the points will expire.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets the loyalty point balance, such as "500" or "$10.00."
Parameters | |
---|---|
balance |
LoyaltyPointsBalance |
Returns | |
---|---|
LoyaltyPoints.Builder |
Sets the loyalty points label, such as "Points."
Parameters | |
---|---|
label |
String |
Returns | |
---|---|
LoyaltyPoints.Builder |
This method is deprecated.
This value is no longer used.
Parameters | |
---|---|
type |
String |
Returns | |
---|---|
LoyaltyPoints.Builder |
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.
Parameters | |
---|---|
interval |
TimeInterval |
Returns | |
---|---|
LoyaltyPoints.Builder |