
nl.pvanassen.steam.store.tradeoffer.TradeOffer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of steam-api Show documentation
Show all versions of steam-api Show documentation
A Java API to access the Steam community market through the HTTP interface. This may be against the TOS so be careful using it!
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