Package org.stellar.sdk
Class PathPaymentStrictSendOperation
java.lang.Object
org.stellar.sdk.Operation
org.stellar.sdk.PathPaymentStrictSendOperation
Represents PathPaymentStrictSend operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilds PathPayment operation.Nested classes/interfaces inherited from class org.stellar.sdk.Operation
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull AssetThe asset the destination account receives.@NonNull StringAccount that receives the payment.@NonNull StringThe minimum amount of destination asset the destination account receives.Asset[]getPath()The assets (other than send asset and destination asset) involved in the offers the path takes.@NonNull StringThe amount of send asset to deduct (excluding fees)@NonNull AssetThe asset deducted from the sender's account.inthashCode()Methods inherited from class org.stellar.sdk.Operation
fromXdr, fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdr, toXdrBase64, toXdrBase64
-
Method Details
-
getSendAsset
The asset deducted from the sender's account. -
getSendAmount
The amount of send asset to deduct (excluding fees) -
getDestination
Account that receives the payment. -
getDestAsset
The asset the destination account receives. -
getDestMin
The minimum amount of destination asset the destination account receives. -
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
-
hashCode
public int hashCode()
-