DocumentUserMetadataPeriodDto

data class DocumentUserMetadataPeriodDto(val unit: PeriodUnitEnum? = null, val duration: Int? = null)

The details about the document's warranty or return period. These fields can only be edited if the document date is known.

Parameters

unit
duration

Number of period units which defines the total period duration. This parameter should be used together with the 'unit' parameter. Document must have the ''documentDate'' set or it should be supplied as another edit parameter within the same request.

Constructors

Link copied to clipboard
constructor(unit: PeriodUnitEnum? = null, duration: Int? = null)

Properties

Link copied to clipboard
@SerializedName(value = "duration")
val duration: Int? = null
Link copied to clipboard
@SerializedName(value = "unit")
val unit: PeriodUnitEnum? = null