Package org.stellar.sdk.operations
Class ClawbackOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.ClawbackOperation
Represents Clawback operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClawbackOperation.ClawbackOperationBuilder<C extends ClawbackOperation,B extends ClawbackOperation.ClawbackOperationBuilder<C, B>> Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic ClawbackOperation.ClawbackOperationBuilder<?, ?> builder()booleanstatic ClawbackOperationfromXdr(ClawbackOp op) Construct a newClawbackOperationobject from theClawbackOpXDR object.@NonNull BigDecimalThe amount to be clawed back (max of 7 decimal places).@NonNull AssetgetAsset()Asset held by the destination account.@NonNull StringgetFrom()The account owning of the trustline.inthashCode()toString()Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newClawbackOperationobject from theClawbackOpXDR object.- Parameters:
op-ClawbackOpXDR object- Returns:
ClawbackOperationobject
-
builder
-
toBuilder
-
getFrom
The account owning of the trustline. -
getAsset
Asset held by the destination account. -
getAmount
The amount to be clawed back (max of 7 decimal places). -
toString
-
equals
-
hashCode
public int hashCode()
-