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
DepositFulfillmentPolicyFulfillmentPolicyRequestInternationalReturnOverrideTypePaymentPolicyPaymentPolicyRequestReturnPolicyReturnPolicyRequestSetFulfillmentPolicyResponseSetPaymentPolicyResponseSetReturnPolicyResponseSubscription
Calls that use TimeDuration
POST
POST
Fields
unit
These enum values represent the time measurement unit, such as
See TimeDurationUnitEnum for a complete list of possible time-measurement units.
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.