public static class TwoPartyTradeFlow.SellerTradeInfo
This object is serialised to the network and is the first flow message the seller sends to the buyer.
Constructor and Description |
---|
SellerTradeInfo(Amount<java.util.Currency> price,
PartyAndCertificate payToIdentity)
This object is serialised to the network and is the first flow message the seller sends to the buyer.
|
Modifier and Type | Method and Description |
---|---|
Amount<java.util.Currency> |
component1() |
PartyAndCertificate |
component2()
anonymous identity of the seller,
|
TwoPartyTradeFlow.SellerTradeInfo |
copy(Amount<java.util.Currency> price,
PartyAndCertificate payToIdentity)
This object is serialised to the network and is the first flow message the seller sends to the buyer.
|
boolean |
equals(java.lang.Object p) |
PartyAndCertificate |
getPayToIdentity()
anonymous identity of the seller,
|
Amount<java.util.Currency> |
getPrice() |
int |
hashCode() |
java.lang.String |
toString() |
public SellerTradeInfo(Amount<java.util.Currency> price, PartyAndCertificate payToIdentity)
This object is serialised to the network and is the first flow message the seller sends to the buyer.
payToIdentity
- anonymous identity of the seller, for payment to be sent to.payToIdentity
- anonymous identity of the seller, for payment to be sent to.public Amount<java.util.Currency> getPrice()
public PartyAndCertificate getPayToIdentity()
anonymous identity of the seller,
for payment to be sent to.
public Amount<java.util.Currency> component1()
public PartyAndCertificate component2()
anonymous identity of the seller,
for payment to be sent to.
public TwoPartyTradeFlow.SellerTradeInfo copy(Amount<java.util.Currency> price, PartyAndCertificate payToIdentity)
This object is serialised to the network and is the first flow message the seller sends to the buyer.
payToIdentity
- anonymous identity of the seller, for payment to be sent to.public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)