LoyaltyPointsBalance.Type
Stay organized with collections
Save and categorize content based on your preferences.
Type of the loyalty points balance.
Constant Summary
int |
DOUBLE
|
Balance is a value of type double. |
int |
INT
|
Balance is a value of type integer. |
int |
MONEY
|
Balance is a value representing money with
currency code and amount of money in micros. |
int |
STRING
|
Balance is a value of type string. |
int |
UNDEFINED
|
Balance is not set explicitly. |
Constants
public static final int
DOUBLE
Balance is a value of type double.
Constant Value: 2
public static final int
INT
Balance is a value of type integer.
Constant Value: 0
public static final int
MONEY
Balance is a value representing money with currency code and amount of money in
micros.
Constant Value: 3
public static final int
STRING
Balance is a value of type string.
Constant Value: 1
public static final int
UNDEFINED
Balance is not set explicitly.
Constant Value: -1
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`LoyaltyPointsBalance.Type` defines the data type of a loyalty points balance, which can be an integer, double, string, money, or undefined."],["The constants `DOUBLE`, `INT`, `MONEY`, `STRING`, and `UNDEFINED` represent the different balance types and have corresponding integer values."],["A balance of type `MONEY` includes a currency code and amount in micros."],["`UNDEFINED` indicates that the balance type has not been explicitly set."]]],["The `LoyaltyPointsBalance.Type` interface defines the data type of a loyalty points balance. It outlines five constant types: `DOUBLE` (double value), `INT` (integer value), `MONEY` (currency code and amount in micros), `STRING` (string value), and `UNDEFINED` (not explicitly set). Each constant type is assigned a unique integer value for identification: `DOUBLE` is 2, `INT` is 0, `MONEY` is 3, `STRING` is 1, and `UNDEFINED` is -1.\n"]]