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

net.avalara.avatax.rest.client.models.StoreIfVerifiedResult Maven / Gradle / Ivy

package net.avalara.avatax.rest.client.models;

import net.avalara.avatax.rest.client.enums.*;
import net.avalara.avatax.rest.client.serializer.JsonSerializer;

import java.lang.Override;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;

/*
 * AvaTax Software Development Kit for Java JRE based environments
 *
 * (c) 2004-2018 Avalara, Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @author     Dustin Welden 
 * @copyright  2004-2018 Avalara, Inc.
 * @license    https://www.apache.org/licenses/LICENSE-2.0
 * @link       https://github.com/avadev/AvaTax-REST-V2-JRE-SDK
 * Swagger name: AvaTaxBeverageClient
 */

/**
 * The Result of a call to the /ageVerification/store/identity/storeIfVerified endpoint.
 */
public class StoreIfVerifiedResult {


    private Boolean isOfAge;

    /**
     * Getter for isOfAge
     *
     * Describes whether the individual meets or exceeds the minimum legal drinking age.
     */
    public Boolean getIsOfAge() {
        return this.isOfAge;
    }

    /**
     * Setter for isOfAge
     *
     * Describes whether the individual meets or exceeds the minimum legal drinking age.
     */
    public void setIsOfAge(Boolean value) {
        this.isOfAge = value;
    }

    private ArrayList failureCodes;

    /**
     * Getter for failureCodes
     *
     * A list of failure codes describing why a *false* age determination was made.
     */
    public ArrayList getFailureCodes() {
        return this.failureCodes;
    }

    /**
     * Setter for failureCodes
     *
     * A list of failure codes describing why a *false* age determination was made.
     */
    public void setFailureCodes(ArrayList value) {
        this.failureCodes = value;
    }

    private Boolean fromStore;

    /**
     * Getter for fromStore
     *
     * true if response originated from internal store, false if new age verification check was performed
     */
    public Boolean getFromStore() {
        return this.fromStore;
    }

    /**
     * Setter for fromStore
     *
     * true if response originated from internal store, false if new age verification check was performed
     */
    public void setFromStore(Boolean value) {
        this.fromStore = value;
    }

    private String createdUtc;

    /**
     * Getter for createdUtc
     *
     * a UTC timestamp of when record was written to our store. Only included when fromStore = true
     */
    public String getCreatedUtc() {
        return this.createdUtc;
    }

    /**
     * Setter for createdUtc
     *
     * a UTC timestamp of when record was written to our store. Only included when fromStore = true
     */
    public void setCreatedUtc(String value) {
        this.createdUtc = value;
    }

    /**
     * Returns a JSON string representation of StoreIfVerifiedResult
     */
    @Override
    public String toString() {
        return JsonSerializer.SerializeObject(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy