@Immutable @VisibleForTesting(visibility=PRIVATE) public static final class UserJsonFactory.JsonKeys extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BORN_AT |
static String |
CONNECTED_TO_FACEBOOK |
static String |
CUSTOM_ATTRIBUTES |
static String |
DEBIT_CARD_ONLY |
static String |
EMAIL |
static String |
FIRST_NAME |
static String |
GENDER
Maps to a
User.Gender in the model; expects "male" or "female" as a string in JSON. |
static String |
GLOBAL_CREDIT_AMOUNT |
static String |
ID |
static String |
LAST_NAME |
static String |
MERCHANTS_VISITED_COUNT |
static String |
MODEL_ROOT
JSON object key that maps to the root object if it's nested.
|
static String |
ORDERS_COUNT |
static String |
TERMS_ACCEPTED_AT |
static String |
TOTAL_SAVINGS_AMOUNT |
@JsonValueType(value=JSON_OBJECT) public static final String MODEL_ROOT
@JsonValueType(value=STRING) public static final String BORN_AT
@JsonValueType(value=BOOLEAN) public static final String CONNECTED_TO_FACEBOOK
@JsonValueType(value=JSON_OBJECT) public static final String CUSTOM_ATTRIBUTES
@JsonValueType(value=BOOLEAN) public static final String DEBIT_CARD_ONLY
@JsonValueType(value=STRING) public static final String EMAIL
@JsonValueType(value=STRING) public static final String GENDER
User.Gender
in the model; expects "male" or "female" as a string in JSON.@JsonValueType(value=LONG) public static final String GLOBAL_CREDIT_AMOUNT
@JsonValueType(value=LONG) public static final String ID
@JsonValueType(value=STRING) public static final String FIRST_NAME
@JsonValueType(value=STRING) public static final String LAST_NAME
@JsonValueType(value=INT) public static final String MERCHANTS_VISITED_COUNT
@JsonValueType(value=INT) public static final String ORDERS_COUNT
@JsonValueType(value=STRING) public static final String TERMS_ACCEPTED_AT
@JsonValueType(value=LONG) public static final String TOTAL_SAVINGS_AMOUNT