from Decimal
Construct an AmountTransfer object from an indicative/displayable BigDecimal source, applying rounding as specified. The token size is determined from the token type and is the same as for Amount of the same token.
Parameters
is the signed amount to transfer between source and destination in displayable units. Positive values mean transfers from source to destination. Negative values mean transfers from destination to source.
defines the asset being represented in the transfer. The token should implement TokenizableAssetInfo if custom conversion logic is required.
The payer of the transfer if displayQuantityDelta is positive, the payee if displayQuantityDelta is negative
The payee of the transfer if displayQuantityDelta is positive, the payer if displayQuantityDelta is negative
The mode of rounding to apply after scaling to integer token units.