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

nl.pvanassen.steam.store.buyorder.BuyOrderStatus Maven / Gradle / Ivy

Go to download

A Java API to access the Steam community market through the HTTP interface. This may be against the TOS so be careful using it!

There is a newer version: 3.0.8
Show newest version
package nl.pvanassen.steam.store.buyorder;

/**
 * Status of a previously made buy order
 * 
 * @author Paul van Assen
 */
public class BuyOrderStatus {
    private final boolean success;
    private final boolean active;
    private final int purchased;
    private final int quantity;
    private final int quantityRemaining;

    BuyOrderStatus(boolean success, boolean active, int purchased, int quantity, int quantityRemaining) {
        super();
        this.success = success;
        this.active = active;
        this.purchased = purchased;
        this.quantity = quantity;
        this.quantityRemaining = quantityRemaining;
    }

    /**
     * @return the purchased
     */
    public int getPurchased() {
        return purchased;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @return the quantityRemaining
     */
    public int getQuantityRemaining() {
        return quantityRemaining;
    }

    /**
     * @return the active
     */
    public boolean isActive() {
        return active;
    }

    /**
     * @return the success
     */
    public boolean isSuccess() {
        return success;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy