Class PathPaymentStrictReceiveOp

java.lang.Object
org.stellar.sdk.xdr.PathPaymentStrictReceiveOp
All Implemented Interfaces:
XdrElement

public class PathPaymentStrictReceiveOp extends Object implements XdrElement
PathPaymentStrictReceiveOp's original definition in the XDR file is:
 struct PathPaymentStrictReceiveOp
 {
     Asset sendAsset; // asset we pay with
     int64 sendMax;   // the maximum amount of sendAsset to
                      // send (excluding fees).
                      // The operation will fail if can't be met

     MuxedAccount destination; // recipient of the payment
     Asset destAsset;          // what they end up with
     int64 destAmount;         // amount they end up with

     Asset path<5>; // additional hops it must go through to get there
 };
 
  • Constructor Details

    • PathPaymentStrictReceiveOp

      public PathPaymentStrictReceiveOp()
    • PathPaymentStrictReceiveOp

      public PathPaymentStrictReceiveOp(Asset sendAsset, Int64 sendMax, MuxedAccount destination, Asset destAsset, Int64 destAmount, Asset[] path)
      Creates a new PathPaymentStrictReceiveOp instance.
      Parameters:
      sendAsset - the sendAsset field value
      sendMax - the sendMax field value
      destination - the destination field value
      destAsset - the destAsset field value
      destAmount - the destAmount field value
      path - the path field value
  • Method Details