Class OrderFeeAmount.Builder
-
- All Implemented Interfaces:
public final class OrderFeeAmount.BuilderA builder for OrderFeeAmount.
-
-
Method Summary
-
-
Method Detail
-
feeInEth
final OrderFeeAmount.Builder feeInEth(Double feeInEth)
The quantity of the fee paid via payment token in ETH.
-
feeInEth
final OrderFeeAmount.Builder feeInEth(JsonField<Double> feeInEth)
Sets Builder.feeInEth to an arbitrary JSON value.
You should usually call Builder.feeInEth with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
feeInWei
final OrderFeeAmount.Builder feeInWei(String feeInWei)
The quantity of the fee paid via payment token in wei.
-
feeInWei
final OrderFeeAmount.Builder feeInWei(JsonField<String> feeInWei)
Sets Builder.feeInWei to an arbitrary JSON value.
You should usually call Builder.feeInWei with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final OrderFeeAmount.Builder type(OrderFeeAmount.Type type)
Type of fee.
-
type
final OrderFeeAmount.Builder type(JsonField<OrderFeeAmount.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OrderFeeAmount.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OrderFeeAmount.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OrderFeeAmount.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OrderFeeAmount.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OrderFeeAmount.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OrderFeeAmount build()
Returns an immutable instance of OrderFeeAmount.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.feeInEth() .feeInWei() .type()
-
-
-
-