/*
 * Copyright (c) 2013 - 2015 xxyy (Philipp Nowak; devnull@nowak-at.net). All rights reserved.
 *
 * Any usage, including, but not limited to, compiling, running, redistributing, printing,
 *  copying and reverse-engineering is strictly prohibited without explicit written permission
 *  from the original author and may result in legal steps being taken.
 *
 * See the included LICENSE file (core/src/main/resources) or email xxyy98+xyclicense@gmail.com for details.
 */

package li.l1t.lanatus.api.product;

import li.l1t.common.misc.Identifiable;

/**
 * Represents an immutable snapshot of a product that may be bought through Lanatus.
 *
 * @author <a href="http://xxyy.github.io/">xxyy</a>
 * @since 2016-09-28
 */
public interface Product extends Identifiable {
    /**
     * @return the Lanatus module handling this product
     */
    String getModule();

    /**
     * @return the display name of this product
     */
    String getDisplayName();

    /**
     * @return the human-readable description of this product, may contain newlines
     */
    String getDescription();

    /**
     * @return the internal name of the icon to use for this product in Minecraft
     */
    String getIconName();

    /**
     * @return the amount of melons a player has to pay when purchasing this product
     */
    int getMelonsCost();

    /**
     * @return whether this product may be purchased currently
     */
    boolean isActive();
}

@@ -1085,32 +1085,477 @@
 ion();%0A%0A    /**%0A
+     * Gets the internal name of the icon to use for this product in Minecraft, represented in the%0A     * format %7B@code materialName%5B:dataValue%5D%7D, where %7B@code materialName%7D corresponds to the%0A     * lowercase name of the material in the Material enum and %7B@code dataValue%7D means the legacy%0A     * data %22damage%22 on the item.%3Cp%3EFor example, %7B@code melon_block%7D represents a melon block and%0A     * %7B@code wool:0%7D represents white wool.%3C/p%3E%0A     *%0A
      * @return t

Clarify Product#getIconName() JavaDoc