Class Fulfillment
-
- All Implemented Interfaces:
public final class FulfillmentInformation about a fulfillment of an
Order. An order may be fulfilled in multiple transactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFulfillment.BuilderA builder for Fulfillment.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the OrderFulfillment.final DoubleassetTokenFilled()Amount of dShare asset token filled for BUYorders.final DoubleassetTokenSpent()Amount of dShare asset token spent for SELLorders.final ChainchainId()Blockchain that the transaction was run on. final StringorderId()ID of the OrderthisOrderFulfillmentis for.final DoublepaymentTokenFilled()Amount of payment token filled for SELLorders.final DoublepaymentTokenSpent()Amount of payment token spent for BUYorders.final OffsetDateTimetransactionDt()Time when transaction occurred. final StringtransactionHash()Transaction hash for this fulfillment. final Optional<String>alloyId()The AlloyID associated with theOrderfinal Optional<Double>paymentTokenFee()Fee amount, in payment tokens. final Optional<String>stockId()The StockID associated with theOrderfinal JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Double>_assetTokenFilled()Returns the raw JSON value of assetTokenFilled. final JsonField<Double>_assetTokenSpent()Returns the raw JSON value of assetTokenSpent. final JsonField<Chain>_chainId()Returns the raw JSON value of chainId. final JsonField<String>_orderId()Returns the raw JSON value of orderId. final JsonField<Double>_paymentTokenFilled()Returns the raw JSON value of paymentTokenFilled. final JsonField<Double>_paymentTokenSpent()Returns the raw JSON value of paymentTokenSpent. final JsonField<OffsetDateTime>_transactionDt()Returns the raw JSON value of transactionDt. final JsonField<String>_transactionHash()Returns the raw JSON value of transactionHash. final JsonField<String>_alloyId()Returns the raw JSON value of alloyId. final JsonField<Double>_paymentTokenFee()Returns the raw JSON value of paymentTokenFee. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final Map<String, JsonValue>_additionalProperties()final Fulfillment.BuildertoBuilder()final Fulfillmentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Fulfillment.Builderbuilder()Returns a mutable builder for constructing an instance of Fulfillment. -
-
Method Detail
-
assetTokenFilled
final Double assetTokenFilled()
Amount of dShare asset token filled for
BUYorders.
-
assetTokenSpent
final Double assetTokenSpent()
Amount of dShare asset token spent for
SELLorders.
-
paymentTokenFilled
final Double paymentTokenFilled()
Amount of payment token filled for
SELLorders.
-
paymentTokenSpent
final Double paymentTokenSpent()
Amount of payment token spent for
BUYorders.
-
transactionDt
final OffsetDateTime transactionDt()
Time when transaction occurred.
-
transactionHash
final String transactionHash()
Transaction hash for this fulfillment.
-
paymentTokenFee
final Optional<Double> paymentTokenFee()
Fee amount, in payment tokens.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_assetTokenFilled
final JsonField<Double> _assetTokenFilled()
Returns the raw JSON value of assetTokenFilled.
Unlike assetTokenFilled, this method doesn't throw if the JSON field has an unexpected type.
-
_assetTokenSpent
final JsonField<Double> _assetTokenSpent()
Returns the raw JSON value of assetTokenSpent.
Unlike assetTokenSpent, this method doesn't throw if the JSON field has an unexpected type.
-
_chainId
final JsonField<Chain> _chainId()
Returns the raw JSON value of chainId.
Unlike chainId, this method doesn't throw if the JSON field has an unexpected type.
-
_orderId
final JsonField<String> _orderId()
Returns the raw JSON value of orderId.
Unlike orderId, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenFilled
final JsonField<Double> _paymentTokenFilled()
Returns the raw JSON value of paymentTokenFilled.
Unlike paymentTokenFilled, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenSpent
final JsonField<Double> _paymentTokenSpent()
Returns the raw JSON value of paymentTokenSpent.
Unlike paymentTokenSpent, this method doesn't throw if the JSON field has an unexpected type.
-
_transactionDt
final JsonField<OffsetDateTime> _transactionDt()
Returns the raw JSON value of transactionDt.
Unlike transactionDt, this method doesn't throw if the JSON field has an unexpected type.
-
_transactionHash
final JsonField<String> _transactionHash()
Returns the raw JSON value of transactionHash.
Unlike transactionHash, this method doesn't throw if the JSON field has an unexpected type.
-
_alloyId
final JsonField<String> _alloyId()
Returns the raw JSON value of alloyId.
Unlike alloyId, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenFee
final JsonField<Double> _paymentTokenFee()
Returns the raw JSON value of paymentTokenFee.
Unlike paymentTokenFee, this method doesn't throw if the JSON field has an unexpected type.
-
_stockId
final JsonField<String> _stockId()
Returns the raw JSON value of stockId.
Unlike stockId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Fulfillment.Builder toBuilder()
-
validate
final Fulfillment validate()
-
builder
final static Fulfillment.Builder builder()
Returns a mutable builder for constructing an instance of Fulfillment.
The following fields are required:
.id() .assetTokenFilled() .assetTokenSpent() .chainId() .orderId() .paymentTokenFilled() .paymentTokenSpent() .transactionDt() .transactionHash()
-
-
-
-