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