Class FulfillmentDetails.Builder
-
- All Implemented Interfaces:
public final class FulfillmentDetails.BuilderA builder for FulfillmentDetails.
-
-
Method Summary
-
-
Method Detail
-
instructions
final FulfillmentDetails.Builder instructions(String instructions)
Special instructions for delivery or pickup
-
instructions
final FulfillmentDetails.Builder instructions(JsonField<String> instructions)
Sets Builder.instructions to an arbitrary JSON value.
You should usually call Builder.instructions with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scheduledTime
final FulfillmentDetails.Builder scheduledTime(OffsetDateTime scheduledTime)
Scheduled time for delivery or pickup
-
scheduledTime
final FulfillmentDetails.Builder scheduledTime(JsonField<OffsetDateTime> scheduledTime)
Sets Builder.scheduledTime to an arbitrary JSON value.
You should usually call Builder.scheduledTime with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
shippingCost
final FulfillmentDetails.Builder shippingCost(Long shippingCost)
Shipping cost in cents
-
shippingCost
final FulfillmentDetails.Builder shippingCost(JsonField<Long> shippingCost)
Sets Builder.shippingCost to an arbitrary JSON value.
You should usually call Builder.shippingCost with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FulfillmentDetails.Builder type(FulfillmentType type)
Type of delivery or pickup.
-
type
final FulfillmentDetails.Builder type(JsonField<FulfillmentType> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed FulfillmentType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FulfillmentDetails.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FulfillmentDetails.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FulfillmentDetails.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FulfillmentDetails.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FulfillmentDetails.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FulfillmentDetails build()
Returns an immutable instance of FulfillmentDetails.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-