From a3994aec69ded9800ee84950c40d281517503677 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Tue, 10 Dec 2024 18:00:11 +0300
Subject: [PATCH] chore: Publish v5.3.0 (#250)
Co-authored-by: mohnoor94 <5633664+mohnoor94@users.noreply.github.com>
---
code/README.md | 2 +-
code/pom.xml | 14 +++++------
.../sdk/rapid/models/TraderDetailsInner.kt | 25 ++++++++-----------
code/transformedSpecs.yaml | 14 +++++------
4 files changed, 24 insertions(+), 31 deletions(-)
diff --git a/code/README.md b/code/README.md
index e35bc0fe41..021f7f8528 100644
--- a/code/README.md
+++ b/code/README.md
@@ -5,7 +5,7 @@
com.expediagroup
rapid-sdk
- 5.2.0
+ 5.3.0
```
diff --git a/code/pom.xml b/code/pom.xml
index 9db399bdc3..20d04e3cc8 100644
--- a/code/pom.xml
+++ b/code/pom.xml
@@ -4,9 +4,9 @@
4.0.0
com.expediagroup
rapid-sdk
- 5.2.0
+ 5.3.0
EG rapid-sdk for Java
- EG rapid-sdk v5.2.0
+ EG rapid-sdk v5.3.0
https://github.com/ExpediaGroup/test-sdk
2022
jar
@@ -82,7 +82,7 @@
2.0.21
1.9.0
2.3.13
- 0.26.0
+ 0.26.1
2.0.16
1.7.0
3.2.7
@@ -131,7 +131,7 @@
com.fasterxml.jackson
jackson-bom
- 2.18.1
+ 2.18.2
pom
import
@@ -153,7 +153,7 @@
com.fasterxml.jackson.core
jackson-annotations
- 2.18.1
+ 2.18.2
@@ -744,13 +744,13 @@
com.ebay.ejmask
ejmask-api
- 1.0.3
+ 1.2.1
com.ebay.ejmask
ejmask-extensions
- 1.0.3
+ 1.2.1
diff --git a/code/src/main/kotlin/com/expediagroup/sdk/rapid/models/TraderDetailsInner.kt b/code/src/main/kotlin/com/expediagroup/sdk/rapid/models/TraderDetailsInner.kt
index d2ff0e80f6..b75cef173a 100644
--- a/code/src/main/kotlin/com/expediagroup/sdk/rapid/models/TraderDetailsInner.kt
+++ b/code/src/main/kotlin/com/expediagroup/sdk/rapid/models/TraderDetailsInner.kt
@@ -33,32 +33,23 @@ package com.expediagroup.sdk.rapid.models
import com.expediagroup.sdk.core.model.exception.client.PropertyConstraintViolationException
import com.expediagroup.sdk.rapid.models.TraderAddress
import com.fasterxml.jackson.annotation.JsonProperty
-import com.fasterxml.jackson.annotation.JsonSetter
-import com.fasterxml.jackson.annotation.Nulls
import org.hibernate.validator.messageinterpolation.ParameterMessageInterpolator
import javax.validation.Valid
import javax.validation.Validation
-import javax.validation.constraints.NotNull
/**
* Information of the professional entity that sells the property inventory or related services.
- * @param contactMessage The trader contact message.
* @param name The trader name.
* @param address
* @param businessRegisterName Name of the register where the trader is registered, and is related to the `business_register_number`
* @param businessRegisterNumber Business registration number
* @param selfCertification Certification that the trader has confirmed their commitment to only offer products or services that comply with the applicable rules of Union law.
+ * @param contactMessage The trader contact message.
* @param rightToWithdrawMessage The trader right to withdraw message.
* @param email The trader email address.
* @param phone The trader phone number.
*/
data class TraderDetailsInner(
- // The trader contact message.
- @JsonProperty("contact_message")
- @JsonSetter(nulls = Nulls.AS_EMPTY)
- @field:NotNull
- @field:Valid
- val contactMessage: kotlin.String? = "",
// The trader name.
@JsonProperty("name")
@field:Valid
@@ -78,6 +69,10 @@ data class TraderDetailsInner(
@JsonProperty("self_certification")
@field:Valid
val selfCertification: kotlin.Boolean? = null,
+ // The trader contact message.
+ @JsonProperty("contact_message")
+ @field:Valid
+ val contactMessage: kotlin.String? = null,
// The trader right to withdraw message.
@JsonProperty("right_to_withdraw_message")
@field:Valid
@@ -97,18 +92,16 @@ data class TraderDetailsInner(
}
class Builder(
- private var contactMessage: kotlin.String? = null,
private var name: kotlin.String? = null,
private var address: TraderAddress? = null,
private var businessRegisterName: kotlin.String? = null,
private var businessRegisterNumber: kotlin.String? = null,
private var selfCertification: kotlin.Boolean? = null,
+ private var contactMessage: kotlin.String? = null,
private var rightToWithdrawMessage: kotlin.String? = null,
private var email: kotlin.String? = null,
private var phone: kotlin.String? = null
) {
- fun contactMessage(contactMessage: kotlin.String) = apply { this.contactMessage = contactMessage }
-
fun name(name: kotlin.String?) = apply { this.name = name }
fun address(address: TraderAddress?) = apply { this.address = address }
@@ -119,6 +112,8 @@ data class TraderDetailsInner(
fun selfCertification(selfCertification: kotlin.Boolean?) = apply { this.selfCertification = selfCertification }
+ fun contactMessage(contactMessage: kotlin.String?) = apply { this.contactMessage = contactMessage }
+
fun rightToWithdrawMessage(rightToWithdrawMessage: kotlin.String?) = apply { this.rightToWithdrawMessage = rightToWithdrawMessage }
fun email(email: kotlin.String?) = apply { this.email = email }
@@ -128,12 +123,12 @@ data class TraderDetailsInner(
fun build(): TraderDetailsInner {
val instance =
TraderDetailsInner(
- contactMessage = contactMessage!!,
name = name,
address = address,
businessRegisterName = businessRegisterName,
businessRegisterNumber = businessRegisterNumber,
selfCertification = selfCertification,
+ contactMessage = contactMessage,
rightToWithdrawMessage = rightToWithdrawMessage,
email = email,
phone = phone
@@ -165,12 +160,12 @@ data class TraderDetailsInner(
fun toBuilder() =
Builder(
- contactMessage = contactMessage!!,
name = name,
address = address,
businessRegisterName = businessRegisterName,
businessRegisterNumber = businessRegisterNumber,
selfCertification = selfCertification,
+ contactMessage = contactMessage,
rightToWithdrawMessage = rightToWithdrawMessage,
email = email,
phone = phone
diff --git a/code/transformedSpecs.yaml b/code/transformedSpecs.yaml
index 8059a60935..6c7b114e26 100644
--- a/code/transformedSpecs.yaml
+++ b/code/transformedSpecs.yaml
@@ -5502,7 +5502,7 @@ paths:
required: true
schema:
type: string
- example: 2024-11-01
+ example: 2025-02-01
- name: checkout
in: query
description: >
@@ -5512,7 +5512,7 @@ paths:
required: true
schema:
type: string
- example: 2024-11-03
+ example: 2025-02-03
- name: currency
in: query
description: >
@@ -6747,7 +6747,7 @@ paths:
If specified must also specify `checkout`.
schema:
type: string
- example: 2024-11-01
+ example: 2025-02-01
- name: checkout
in: query
description: >
@@ -6760,7 +6760,7 @@ paths:
If specified must also specify `checkin`.
schema:
type: string
- example: 2024-11-03
+ example: 2025-02-03
- name: exclusion
in: query
description: >
@@ -8407,7 +8407,7 @@ paths:
schema:
type: string
format: date
- example: 2024-11-15
+ example: 2025-02-15
- name: end_date
in: query
description: >
@@ -8418,7 +8418,7 @@ paths:
schema:
type: string
format: date
- example: 2025-05-17
+ example: 2025-08-17
responses:
"200":
description: OK
@@ -18530,8 +18530,6 @@ components:
type: array
description: An array of traders.
items:
- required:
- - contact_message
type: object
properties:
name: