Package org.stellar.sdk.operations
Class PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C extends PathPaymentStrictReceiveOperation,B extends PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C,B>>
java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C,B>
- Enclosing class:
PathPaymentStrictReceiveOperation
public abstract static class PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C extends PathPaymentStrictReceiveOperation,B extends PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C,B>>
extends Operation.OperationBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
destAmount
(@NonNull BigDecimal destAmount) The asset the destination account receives.destination
(@NonNull String destination) Account that receives the payment.The assets (other than send asset and destination asset) involved in the offers the path takes.The asset deducted from the sender's account.sendMax
(@NonNull BigDecimal sendMax) toString()
Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
PathPaymentStrictReceiveOperationBuilder
public PathPaymentStrictReceiveOperationBuilder()
-
-
Method Details
-
sendMax
-
destAmount
-
sendAsset
The asset deducted from the sender's account.- Returns:
this
.
-
destination
Account that receives the payment.- Returns:
this
.
-
destAsset
The asset the destination account receives.- Returns:
this
.
-
path
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.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends PathPaymentStrictReceiveOperation,
B extends PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends PathPaymentStrictReceiveOperation,
B extends PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C, B>>
-