Skip to main content

A complex type that specifies a period of time using a specified time-measurement unit.

Type that uses TimeDuration

ReturnPolicyDetails

Call that uses TimeDuration

Fields

Field
Type
Description
unit
A time-measurement unit that specifies a singular period of time.

A span of time is defined when you apply the value specified in the value field to the value specified for unit.

Time-measurement units can be YEAR, MONTH, DAY, and so on. 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.