public class PathPaymentStrictReceiveOperation extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C extends PathPaymentStrictReceiveOperation,B extends PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<C,B>> |
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C,B>>
Modifier and Type | Method and Description |
---|---|
static PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<?,?> |
builder() |
boolean |
equals(java.lang.Object o) |
static PathPaymentStrictReceiveOperation |
fromXdr(PathPaymentStrictReceiveOp op)
Construct a new
PathPaymentStrictReceiveOperation object from the PathPaymentStrictReceiveOp XDR object. |
@NonNull java.math.BigDecimal |
getDestAmount()
The amount of destination asset the destination account receives (max of 7 decimal places).
|
@NonNull Asset |
getDestAsset()
The asset the destination account receives.
|
@NonNull java.lang.String |
getDestination()
Account that receives the payment.
|
@NonNull Asset[] |
getPath()
The assets (other than send asset and destination asset) involved in the offers the path takes.
|
@NonNull Asset |
getSendAsset()
The asset deducted from the sender's account.
|
@NonNull java.math.BigDecimal |
getSendMax()
The maximum amount of send asset to deduct (excluding fees) (max of 7 decimal places).
|
int |
hashCode() |
PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<?,?> |
toBuilder() |
java.lang.String |
toString() |
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
public static PathPaymentStrictReceiveOperation fromXdr(PathPaymentStrictReceiveOp op)
PathPaymentStrictReceiveOperation
object from the PathPaymentStrictReceiveOp
XDR object.op
- PathPaymentStrictReceiveOp
XDR objectPathPaymentStrictReceiveOperation
objectpublic static PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<?,?> builder()
public PathPaymentStrictReceiveOperation.PathPaymentStrictReceiveOperationBuilder<?,?> toBuilder()
@NonNull public @NonNull Asset getSendAsset()
@NonNull public @NonNull java.math.BigDecimal getSendMax()
@NonNull public @NonNull java.lang.String getDestination()
@NonNull public @NonNull Asset getDestAsset()
@NonNull public @NonNull java.math.BigDecimal getDestAmount()
@NonNull public @NonNull Asset[] getPath()
public java.lang.String toString()
toString
in class java.lang.Object