From 5b64775acc7d4c08a891fa0561bd87ab42c84995 Mon Sep 17 00:00:00 2001 From: rschneider <97682836+rainer-exxcellent@users.noreply.github.com> Date: Thu, 1 Jun 2023 11:16:47 +0200 Subject: [PATCH] feat(api): #202 API: Delivery Service Qualifier in Alternative Postal Address --- .../tractusx/bpdm/common/dto/AlternativePostalAddressDto.kt | 3 +++ .../common/dto/response/AlternativePostalAddressResponse.kt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/AlternativePostalAddressDto.kt b/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/AlternativePostalAddressDto.kt index 77efb8d65..13a333433 100644 --- a/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/AlternativePostalAddressDto.kt +++ b/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/AlternativePostalAddressDto.kt @@ -40,4 +40,7 @@ data class AlternativePostalAddressDto( @get:Schema(description = "The type of this specified delivery") val deliveryServiceType: DeliveryServiceType = DeliveryServiceType.PO_BOX, + + @get:Schema(description = "Delivery Service Qualifier") + val deliveryServiceQualifier: String = "", ) diff --git a/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/response/AlternativePostalAddressResponse.kt b/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/response/AlternativePostalAddressResponse.kt index 334359ca7..57b988195 100644 --- a/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/response/AlternativePostalAddressResponse.kt +++ b/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/response/AlternativePostalAddressResponse.kt @@ -40,4 +40,7 @@ data class AlternativePostalAddressResponse( @get:Schema(description = "The type of this specified delivery") val type: DeliveryServiceType = DeliveryServiceType.PO_BOX, + + @get:Schema(description = "Delivery Service Qualifier") + val deliveryServiceQualifier: String = "", )