Skip to main content

A type used to specify a period of time using a specified time-measurement unit. Payment, return, and fulfillment business policies all use this type to specify time windows.

Whenever a container that uses this type is used in a request, both of these fields are required. Similarly, whenever a container that uses this type is returned in a response, both of these fields are always returned.

Types that use TimeDuration

DepositFulfillmentPolicyFulfillmentPolicyRequestInternationalReturnOverrideTypePaymentPolicyPaymentPolicyRequestReturnPolicyReturnPolicyRequestSetFulfillmentPolicyResponseSetPaymentPolicyResponseSetReturnPolicyResponse

Calls that use TimeDuration

Fields

Field
Type
Description
unit
These enum values represent the time measurement unit, such as DAY. A span of time is defined when you apply the value specified in the value field to the value specified for unit.

See TimeDurationUnitEnum for a complete list of possible time-measurement units.
value
An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field.