All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plenigo.sdk.internal.ApiResults Maven / Gradle / Ivy

package com.plenigo.sdk.internal;

/**
 * 

* This class contains api result variables * that are used through the different methods * of the plenigo API. *

*

* IMPORTANT: This class is part of the internal API, please do not use it, because it can * be removed in future versions of the SDK or access to such elements could * be changed from 'public' to 'default' or less. *

*

* Thread safety: This class is thread safe and can be injected. *

*/ public final class ApiResults { public static final String ERROR = "error"; public static final String ERROR_DESCRIPTION = "error_description"; public static final String DESCRIPTION = "description"; public static final String ACCESS_TOKEN = "access_token"; public static final String EXPIRES_IN = "expires_in"; public static final String REFRESH_TOKEN = "refresh_token"; public static final String STATE = "state"; public static final String COLLECTIBLE = "collectible"; /** * Default constructor. */ private ApiResults() { } /** * Timestamp result variable. */ public static final String TIMESTAMP = "ts"; /** * The customer id variable. */ public static final String CUSTOMER_ID = "ci"; /** * Error message parameter when the plenigo API * returns a BAD_REQUEST http response code. */ public static final String ERROR_MSG = "Error"; /** * The user id variable. */ public static final String USER_ID = "userId"; /** * E-mail. */ public static final String EMAIL = "email"; /** * Gender prefix (e.g. Mr. or Mrs.). */ public static final String GENDER = "gender"; /** * User's name. */ public static final String LAST_NAME = "name"; /** * User's first name. */ public static final String FIRST_NAME = "firstName"; public static final String STREET = "street"; public static final String ADDITIONAL_ADDRESS_INFO = "additionalAddressInfo"; public static final String POST_CODE = "postCode"; public static final String CITY = "city"; public static final String COUNTRY = "country"; public static final String USERNAME = "username"; /* * Product attributes. * */ public static final String ID = "id"; public static final String SUBSCRIPTION = "subscription"; public static final String TITLE = "title"; public static final String URL = "url"; public static final String CAN_CHOOSE_PRICE = "choosePrice"; public static final String PRICE = "price"; public static final String TAXES = "taxes"; public static final String CURRENCY = "currency"; public static final String TERM = "term"; public static final String CANCELLATION_PERIOD = "cancellationPeriod"; public static final String AUTO_RENEWAL = "autoRenewal"; public static final String ACTION_PERIOD_NAME = "actionPeriodName"; public static final String ACTION_PERIOD_TERM = "actionPeriodTerm"; public static final String ACTION_PERIOD_PRICE = "actionPeriodPrice"; public static final String IMAGES = "images"; public static final String ALT_TEXT = "altText"; /** * Paywall state attributes. */ public static final String PAYWALL_STATE = "enabled"; /* * Product List attributes. * */ public static final String TOTAL_ELEMENTS = "totalElements"; public static final String PAGE_SIZE = "size"; public static final String LAST_ID = "lastId"; public static final String ELEMENTS = "elements"; /* * Product List element attributes. * */ public static final String PROD_ID = "productId"; /* * Category List element attributes. * */ public static final String CATEGORY_ID = "categoryId"; /** * Category data element attributes. */ public static final String VALIDITY_TIME = "validityTime"; /** * Is metered activated result param. */ public static final String METERED_ACTIVATED = "meteredActivated"; /** * Free views allowed result param. */ public static final String FREE_VIEWS_ALLOWED = "freeViews"; /** * Free views taken result param. */ public static final String FREE_VIEWS_TAKEN = "viewsTaken"; /** * Has the limit been reached result param. */ public static final String LIMIT_REACHED = "limitReached"; /** * Login Free views allowed result param. */ public static final String FREE_LOGIN_VIEWS_ALLOWED = "freeAfterLogin"; /** * Login Free views allowed result param. */ public static final String FREE_LOGIN_VIEWS_TAKEN = "freeAfterLoginTaken"; /** * Has the view limit after login reached result param. */ public static final String LOGIN_LIMIT_REACHED = "limitReachedAfterLogin"; /** * Has the subscription product list. */ public static final String SUBSCRIPTIONS_LIST = "subscriptions"; /** * Has the single product list. */ public static final String SINGLE_PAYMENT_PRODUCT_LIST = "singleProducts"; /** * Has the buy date property. */ public static final String BUY_DATE = "buyDate"; /** * Has the end date property. */ public static final String END_DATE = "endDate"; /** * Result attribute that contains all the uniquely visited articles. */ public static final String UNIQUELY_VISITED_SITES = "uniquelyVisitedSites"; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy