public Offer(IActorRef offerer, ResourceStack resourceStack, ResourceStack liabilityStack)
 {
     OfferStatus    = OfferStatus.Outstanding;
     Offerer        = offerer;
     ResourceStack  = resourceStack;
     LiabilityStack = liabilityStack;
 }
 public InvitationToTreat(
     OfferType exchangeType,
     DateTime invitationDeadline,
     ResourceStack invitationStack,
     ResourceStack liabilityStack,
     ResourceStack suggestedOffer)
 {
     ExchangeType       = exchangeType;
     InvitationDeadline = invitationDeadline;
     InvitationStack    = invitationStack;
     LiabilityStack     = liabilityStack;
     SuggestedOffer     = suggestedOffer;
 }
 /// <summary>
 /// Rejects the offer but offers a counter offer
 /// </summary>
 /// <param name="offer"></param>
 /// <param name="liability"></param>
 public PostRejectOffer(ResourceStack offer, ResourceStack liability)
 {
     Offer     = offer;
     Liability = liability;
 }
 public PostOffer(ResourceStack offerResourceStack, ResourceStack liabilityResourceStack)
 {
     OfferResourceStack     = offerResourceStack;
     LiabilityResourceStack = liabilityResourceStack;
 }
 public LiabilityReturnedMessage(ResourceStack liabilityStack)
 {
     LiabilityStack = liabilityStack;
 }
예제 #6
0
 public PostResourceMessage(ResourceStack resourceStack)
 {
     ResourceStack = resourceStack;
 }