source: events/src/main/java/geniusweb/actions/Offer.java@ 37

Last change on this file since 37 was 35, checked in by bart, 3 years ago

Fixed windows time-out.

File size: 621 bytes
Line 
1package geniusweb.actions;
2
3import com.fasterxml.jackson.annotation.JsonCreator;
4import com.fasterxml.jackson.annotation.JsonProperty;
5
6import geniusweb.issuevalue.Bid;
7
8/**
9 * An offer represents a proposal from some actor that others may accept.
10 * Executing an Offer action usually means that the party doing the action
11 * accepts the offer himself.
12 */
13public class Offer extends ActionWithBid {
14
15 @JsonCreator
16 public Offer(@JsonProperty("actor") PartyId id,
17 @JsonProperty("bid") Bid bid) {
18 super(id, bid);
19 }
20
21 @Override
22 public String toString() {
23 return "Offer[" + getActor() + "," + getBid() + "]";
24 }
25
26}
Note: See TracBrowser for help on using the repository browser.