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

nl.pvanassen.steam.store.tradeoffer.TradeOffer 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.tradeoffer;

/**
 * Trade offer class representing a trade offer
 * 
 * @author Paul van Assen
 */
public class TradeOffer {
    private final String partnerId;
    private final String offerId;
    private final String comment;

    TradeOffer(String partnerId, String offerId, String comment) {
        super();
        this.partnerId = partnerId;
        this.offerId = offerId;
        this.comment = comment;
    }
    
    /**
     * @return Comment supplied with the trade offer
     */
    public String getComment() {
        return comment;
    }

    /**
     * @return The offer id
     */
    public String getOfferId() {
        return offerId;
    }

    /**
     * @return Partner involved
     */
    public String getPartnerId() {
        return partnerId;
    }

    @Override
    public String toString() {
        return "Tradeoffer [partnerId=" + partnerId + ", offerId=" + offerId + ", comment=" + comment + "]";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy