Class PathPaymentStrictReceiveOperation

java.lang.Object
org.stellar.sdk.Operation
org.stellar.sdk.PathPaymentStrictReceiveOperation

public class PathPaymentStrictReceiveOperation extends Operation
Represents PathPaymentStrictReceive operation.
  • Method Details

    • getSendAsset

      @NonNull public @NonNull Asset getSendAsset()
      The asset deducted from the sender's account.
    • getSendMax

      @NonNull public @NonNull String getSendMax()
      The maximum amount of send asset to deduct (excluding fees)
    • getDestination

      @NonNull public @NonNull String getDestination()
      Account that receives the payment.
    • getDestAsset

      @NonNull public @NonNull Asset getDestAsset()
      The asset the destination account receives.
    • getDestAmount

      @NonNull public @NonNull String getDestAmount()
      The amount of destination asset the destination account receives.
    • getPath

      @NonNull public @NonNull Asset[] getPath()
      The assets (other than send asset and destination asset) involved in the offers the path takes. For example, if you can only find a path from USD to EUR through XLM and BTC, the path would be USD -» XLM -» BTC -» EUR and the path would contain XLM and BTC.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Operation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Operation