decode method
Implementation
static XdrOfferEntry decode(XdrDataInputStream stream) {
XdrOfferEntry decodedOfferEntry = XdrOfferEntry();
decodedOfferEntry.sellerID = XdrAccountID.decode(stream);
decodedOfferEntry.offerID = XdrUint64.decode(stream);
decodedOfferEntry.selling = XdrAsset.decode(stream);
decodedOfferEntry.buying = XdrAsset.decode(stream);
decodedOfferEntry.amount = XdrInt64.decode(stream);
decodedOfferEntry.price = XdrPrice.decode(stream);
decodedOfferEntry.flags = XdrUint32.decode(stream);
decodedOfferEntry.ext = XdrOfferEntryExt.decode(stream);
return decodedOfferEntry;
}