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