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

com.plenigo.sdk.models.CategoryData Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package com.plenigo.sdk.models;

/**
 * 

* This class contains category information from a plenigo defined category. A category can be any * digital content. *

*

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

*/ public class CategoryData { private String id; private PricingData pricingData; private ValidityTime validityTime; /** * Required constructor. * * @param id Category id * @param pricingData Pricing information * @param validityTime validity time of the category */ public CategoryData(String id, PricingData pricingData, ValidityTime validityTime) { this.id = id; if (pricingData == null) { pricingData = new PricingData(false, 0.0, 0.0, ""); } this.pricingData = pricingData; this.validityTime = validityTime; } /** * Returns the category id. * @return The category id */ public String getId() { return id; } /** * Pricing information of the category. * @return pricing information */ public PricingData getPricingData() { return pricingData; } /** * The validity time of the category. * @return The validity time. */ public ValidityTime getValidityTime() { return validityTime; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy