Package com.bennyapi.models.orders
Class FulfillmentDetails
-
- All Implemented Interfaces:
public final class FulfillmentDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFulfillmentDetails.BuilderA builder for FulfillmentDetails.
-
Method Summary
Modifier and Type Method Description final Optional<String>instructions()Special instructions for delivery or pickup final Optional<OffsetDateTime>scheduledTime()Scheduled time for delivery or pickup final Optional<Long>shippingCost()Shipping cost in cents final Optional<FulfillmentType>type()Type of delivery or pickup. final JsonField<String>_instructions()Returns the raw JSON value of instructions. final JsonField<OffsetDateTime>_scheduledTime()Returns the raw JSON value of scheduledTime. final JsonField<Long>_shippingCost()Returns the raw JSON value of shippingCost. final JsonField<FulfillmentType>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final FulfillmentDetails.BuildertoBuilder()final FulfillmentDetailsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FulfillmentDetails.Builderbuilder()Returns a mutable builder for constructing an instance of FulfillmentDetails. -
-
Method Detail
-
instructions
final Optional<String> instructions()
Special instructions for delivery or pickup
-
scheduledTime
final Optional<OffsetDateTime> scheduledTime()
Scheduled time for delivery or pickup
-
shippingCost
final Optional<Long> shippingCost()
Shipping cost in cents
-
type
final Optional<FulfillmentType> type()
Type of delivery or pickup.
-
_instructions
final JsonField<String> _instructions()
Returns the raw JSON value of instructions.
Unlike instructions, this method doesn't throw if the JSON field has an unexpected type.
-
_scheduledTime
final JsonField<OffsetDateTime> _scheduledTime()
Returns the raw JSON value of scheduledTime.
Unlike scheduledTime, this method doesn't throw if the JSON field has an unexpected type.
-
_shippingCost
final JsonField<Long> _shippingCost()
Returns the raw JSON value of shippingCost.
Unlike shippingCost, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<FulfillmentType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FulfillmentDetails.Builder toBuilder()
-
validate
final FulfillmentDetails validate()
-
builder
final static FulfillmentDetails.Builder builder()
Returns a mutable builder for constructing an instance of FulfillmentDetails.
-
-
-
-