public abstract static class PathPaymentStrictSendOperation.PathPaymentStrictSendOperationBuilder<C extends PathPaymentStrictSendOperation,B extends PathPaymentStrictSendOperation.PathPaymentStrictSendOperationBuilder<C,B>> extends Operation.OperationBuilder<C,B>
Constructor and Description |
---|
PathPaymentStrictSendOperationBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract C |
build() |
B |
destAsset(@NonNull Asset destAsset)
The asset the destination account receives.
|
B |
destination(@NonNull java.lang.String destination)
Account that receives the payment.
|
B |
destMin(@NonNull java.math.BigDecimal destMin) |
B |
path(@NonNull Asset[] path)
The assets (other than send asset and destination asset) involved in the offers the path takes.
|
B |
sendAmount(@NonNull java.math.BigDecimal sendAmount) |
B |
sendAsset(@NonNull Asset sendAsset)
The asset deducted from the sender's account.
|
java.lang.String |
toString() |
sourceAccount
public PathPaymentStrictSendOperationBuilder()
public B sendAmount(@NonNull @NonNull java.math.BigDecimal sendAmount)
public B destMin(@NonNull @NonNull java.math.BigDecimal destMin)
public B sendAsset(@NonNull @NonNull Asset sendAsset)
this
.public B destination(@NonNull @NonNull java.lang.String destination)
this
.public B destAsset(@NonNull @NonNull Asset destAsset)
this
.public B path(@NonNull @NonNull Asset[] path)
this
.public abstract C build()
build
in class Operation.OperationBuilder<C extends PathPaymentStrictSendOperation,B extends PathPaymentStrictSendOperation.PathPaymentStrictSendOperationBuilder<C,B>>
public java.lang.String toString()
toString
in class Operation.OperationBuilder<C extends PathPaymentStrictSendOperation,B extends PathPaymentStrictSendOperation.PathPaymentStrictSendOperationBuilder<C,B>>