decode method

XdrSimplePaymentResult decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrSimplePaymentResult decode(XdrDataInputStream stream) {
  XdrSimplePaymentResult decodedSimplePaymentResult =
      XdrSimplePaymentResult();
  decodedSimplePaymentResult.destination = XdrMuxedAccount.decode(stream);
  decodedSimplePaymentResult.asset = XdrAsset.decode(stream);
  decodedSimplePaymentResult.amount = XdrInt64.decode(stream);
  return decodedSimplePaymentResult;
}