Skip to main content

An enumerated type that specifies the time-measurement unit that's used to express a time span.

Type that uses TimeDurationUnitEnum

TimeDuration

Calls that use TimeDurationUnitEnum

Enumerations

Value
Description
YEAR
This value indicates that the time measurement unit used is based on a number of years. This enum is not currently used by the Account API.
MONTH
This value indicates that the time measurement unit used is based on a number of months. This enum is not currently used by the Account API.
DAY
This value indicates that the time measurement unit used is based on a number of days. This enum is used for handling time in fulfillment business policies, for fullPaymentDueIn field for motor vehicle listing payment business policies, and for the return period for return business policies.
HOUR
This value indicates that the time measurement unit used is based on a number of hours. This enum is used for a motor vehicle deposit due date for motor vehicle listing payment business policies.
CALENDAR_DAY
This value indicates that the time measurement unit used is based on a number of calendar days, including Saturday and Sunday. This time measurement unit does not exclude holidays. This enum is not currently used by the Account API.
BUSINESS_DAY
This value indicates that the time measurement unit used is based on a number of business days or 'working days'. This generally excludes Sunday and all holidays (for the marketplace) in the time duration and, depending on the location, can include or exclude Saturday. This enum is not currently used by the Account API.
MINUTE
This value indicates that the time measurement unit used is based on a number of minutes. This enum is not currently used by the Account API.
SECOND
This value indicates that the time measurement unit used is based on a number of seconds. This enum is not currently used by the Account API.
MILLISECOND
This value indicates that the time measurement unit used is based on a number of milliseconds. This enum is not currently used by the Account API.

Got thoughts? Click the feedback button – your insights help us improve!