Package org.stellar.sdk.operations
Class PathPaymentStrictReceiveOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.PathPaymentStrictReceiveOperation
Represents PathPaymentStrictReceive operation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C extends PathPaymentStrictReceiveOperation,
B extends PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C, B>> Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,
B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
Construct a newPathPaymentStrictReceiveOperation
object from thePathPaymentStrictReceiveOp
XDR object.@NonNull BigDecimal
The amount of destination asset the destination account receives (max of 7 decimal places).@NonNull Asset
The asset the destination account receives.@NonNull String
Account that receives the payment.@NonNull Asset[]
getPath()
The assets (other than send asset and destination asset) involved in the offers the path takes.@NonNull Asset
The asset deducted from the sender's account.@NonNull BigDecimal
The maximum amount of send asset to deduct (excluding fees) (max of 7 decimal places).int
hashCode()
toString()
Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newPathPaymentStrictReceiveOperation
object from thePathPaymentStrictReceiveOp
XDR object.- Parameters:
op
-PathPaymentStrictReceiveOp
XDR object- Returns:
PathPaymentStrictReceiveOperation
object
-
builder
public static PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<?,?> builder() -
toBuilder
-
getSendAsset
The asset deducted from the sender's account. -
getSendMax
The maximum amount of send asset to deduct (excluding fees) (max of 7 decimal places). -
getDestination
Account that receives the payment. -
getDestAsset
The asset the destination account receives. -
getDestAmount
The amount of destination asset the destination account receives (max of 7 decimal places). -
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. -
toString
-
equals
-
hashCode
public int hashCode()
-