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