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

net.jacobpeterson.polygon.enums.FinancialSort Maven / Gradle / Ivy

package net.jacobpeterson.polygon.enums;

import net.jacobpeterson.abstracts.enums.APIName;

/**
 * The enum Financial sort.
 */
public enum FinancialSort implements APIName {

    /** Report period ascending financial sort. */
    REPORT_PERIOD_ASCENDING("reportPeriod"),

    /** Report period descending financial sort */
    REPORT_PERIOD_DESCENDING("-reportPeriod"),

    /** Calendar date ascending financial sort. */
    CALENDAR_DATE_ASCENDING("calendarDate"),

    /** Calendar date descending financial sort. */
    CALENDAR_DATE_DESCENDING("-calendarDate");

    /** The api name. */
    String apiName;

    /**
     * Instantiates a new Financial sort.
     *
     * @param apiName the api name
     */
    FinancialSort(String apiName) {
        this.apiName = apiName;
    }

    @Override
    public String getAPIName() {
        return apiName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy