Class Fulfillment.Builder
-
- All Implemented Interfaces:
public final class Fulfillment.BuilderA builder for Fulfillment.
-
-
Method Summary
Modifier and Type Method Description final Fulfillment.Builderid(String id)ID of the OrderFulfillment.final Fulfillment.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Fulfillment.BuilderassetTokenFilled(Double assetTokenFilled)Amount of dShare asset token filled for BUYorders.final Fulfillment.BuilderassetTokenFilled(JsonField<Double> assetTokenFilled)Sets Builder.assetTokenFilled to an arbitrary JSON value. final Fulfillment.BuilderassetTokenSpent(Double assetTokenSpent)Amount of dShare asset token spent for SELLorders.final Fulfillment.BuilderassetTokenSpent(JsonField<Double> assetTokenSpent)Sets Builder.assetTokenSpent to an arbitrary JSON value. final Fulfillment.BuilderchainId(Chain chainId)Blockchain that the transaction was run on. final Fulfillment.BuilderchainId(JsonField<Chain> chainId)Sets Builder.chainId to an arbitrary JSON value. final Fulfillment.BuilderorderId(String orderId)ID of the OrderthisOrderFulfillmentis for.final Fulfillment.BuilderorderId(JsonField<String> orderId)Sets Builder.orderId to an arbitrary JSON value. final Fulfillment.BuilderpaymentTokenFilled(Double paymentTokenFilled)Amount of payment token filled for SELLorders.final Fulfillment.BuilderpaymentTokenFilled(JsonField<Double> paymentTokenFilled)Sets Builder.paymentTokenFilled to an arbitrary JSON value. final Fulfillment.BuilderpaymentTokenSpent(Double paymentTokenSpent)Amount of payment token spent for BUYorders.final Fulfillment.BuilderpaymentTokenSpent(JsonField<Double> paymentTokenSpent)Sets Builder.paymentTokenSpent to an arbitrary JSON value. final Fulfillment.BuildertransactionDt(OffsetDateTime transactionDt)Time when transaction occurred. final Fulfillment.BuildertransactionDt(JsonField<OffsetDateTime> transactionDt)Sets Builder.transactionDt to an arbitrary JSON value. final Fulfillment.BuildertransactionHash(String transactionHash)Transaction hash for this fulfillment. final Fulfillment.BuildertransactionHash(JsonField<String> transactionHash)Sets Builder.transactionHash to an arbitrary JSON value. final Fulfillment.BuilderpaymentTokenFee(Double paymentTokenFee)Fee amount, in payment tokens. final Fulfillment.BuilderpaymentTokenFee(JsonField<Double> paymentTokenFee)Sets Builder.paymentTokenFee to an arbitrary JSON value. final Fulfillment.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Fulfillment.BuilderputAdditionalProperty(String key, JsonValue value)final Fulfillment.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Fulfillment.BuilderremoveAdditionalProperty(String key)final Fulfillment.BuilderremoveAllAdditionalProperties(Set<String> keys)final Fulfillmentbuild()Returns an immutable instance of Fulfillment. -
-
Method Detail
-
id
final Fulfillment.Builder id(String id)
ID of the
OrderFulfillment.
-
id
final Fulfillment.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
assetTokenFilled
final Fulfillment.Builder assetTokenFilled(Double assetTokenFilled)
Amount of dShare asset token filled for
BUYorders.
-
assetTokenFilled
final Fulfillment.Builder assetTokenFilled(JsonField<Double> assetTokenFilled)
Sets Builder.assetTokenFilled to an arbitrary JSON value.
You should usually call Builder.assetTokenFilled with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
assetTokenSpent
final Fulfillment.Builder assetTokenSpent(Double assetTokenSpent)
Amount of dShare asset token spent for
SELLorders.
-
assetTokenSpent
final Fulfillment.Builder assetTokenSpent(JsonField<Double> assetTokenSpent)
Sets Builder.assetTokenSpent to an arbitrary JSON value.
You should usually call Builder.assetTokenSpent with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chainId
final Fulfillment.Builder chainId(Chain chainId)
Blockchain that the transaction was run on.
-
chainId
final Fulfillment.Builder chainId(JsonField<Chain> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed Chain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderId
final Fulfillment.Builder orderId(String orderId)
ID of the
OrderthisOrderFulfillmentis for.
-
orderId
final Fulfillment.Builder orderId(JsonField<String> orderId)
Sets Builder.orderId to an arbitrary JSON value.
You should usually call Builder.orderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentTokenFilled
final Fulfillment.Builder paymentTokenFilled(Double paymentTokenFilled)
Amount of payment token filled for
SELLorders.
-
paymentTokenFilled
final Fulfillment.Builder paymentTokenFilled(JsonField<Double> paymentTokenFilled)
Sets Builder.paymentTokenFilled to an arbitrary JSON value.
You should usually call Builder.paymentTokenFilled with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentTokenSpent
final Fulfillment.Builder paymentTokenSpent(Double paymentTokenSpent)
Amount of payment token spent for
BUYorders.
-
paymentTokenSpent
final Fulfillment.Builder paymentTokenSpent(JsonField<Double> paymentTokenSpent)
Sets Builder.paymentTokenSpent to an arbitrary JSON value.
You should usually call Builder.paymentTokenSpent with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transactionDt
final Fulfillment.Builder transactionDt(OffsetDateTime transactionDt)
Time when transaction occurred.
-
transactionDt
final Fulfillment.Builder transactionDt(JsonField<OffsetDateTime> transactionDt)
Sets Builder.transactionDt to an arbitrary JSON value.
You should usually call Builder.transactionDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transactionHash
final Fulfillment.Builder transactionHash(String transactionHash)
Transaction hash for this fulfillment.
-
transactionHash
final Fulfillment.Builder transactionHash(JsonField<String> transactionHash)
Sets Builder.transactionHash to an arbitrary JSON value.
You should usually call Builder.transactionHash with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentTokenFee
final Fulfillment.Builder paymentTokenFee(Double paymentTokenFee)
Fee amount, in payment tokens.
-
paymentTokenFee
final Fulfillment.Builder paymentTokenFee(JsonField<Double> paymentTokenFee)
Sets Builder.paymentTokenFee to an arbitrary JSON value.
You should usually call Builder.paymentTokenFee with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Fulfillment.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Fulfillment.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Fulfillment.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Fulfillment.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Fulfillment.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Fulfillment build()
Returns an immutable instance of Fulfillment.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .assetTokenFilled() .assetTokenSpent() .chainId() .orderId() .paymentTokenFilled() .paymentTokenSpent() .transactionDt() .transactionHash()
-
-
-
-