public static class TwoPartyTradeFlow.SellerTradeInfo
This object is serialised to the network and is the first flow message the seller sends to the buyer.
public SellerTradeInfo(@NotNull Amount<java.util.Currency> price, @NotNull 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.@NotNull public Amount<java.util.Currency> getPrice()
@NotNull public PartyAndCertificate getPayToIdentity()
anonymous identity of the seller,
for payment to be sent to.
@NotNull public Amount<java.util.Currency> component1()
@NotNull public PartyAndCertificate component2()
anonymous identity of the seller,
for payment to be sent to.
@NotNull public net.corda.finance.flows.TwoPartyTradeFlow.SellerTradeInfo copy(@NotNull Amount<java.util.Currency> price, @NotNull 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.@NotNull public java.lang.String toString()
This object is serialised to the network and is the first flow message the seller sends to the buyer.
public int hashCode()
This object is serialised to the network and is the first flow message the seller sends to the buyer.
public boolean equals(@Nullable java.lang.Object p)
This object is serialised to the network and is the first flow message the seller sends to the buyer.