Skip to content

Commit a3994ae

Browse files
chore: Publish v5.3.0 (#250)
Co-authored-by: mohnoor94 <[email protected]>
1 parent e8848ca commit a3994ae

File tree

4 files changed

+24
-31
lines changed

4 files changed

+24
-31
lines changed

code/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<dependency>
66
<groupId>com.expediagroup</groupId>
77
<artifactId>rapid-sdk</artifactId>
8-
<version>5.2.0</version>
8+
<version>5.3.0</version>
99
</dependency>
1010
```
1111

code/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.expediagroup</groupId>
66
<artifactId>rapid-sdk</artifactId>
7-
<version>5.2.0</version>
7+
<version>5.3.0</version>
88
<name>EG rapid-sdk for Java</name>
9-
<description>EG rapid-sdk v5.2.0</description>
9+
<description>EG rapid-sdk v5.3.0</description>
1010
<url>https://github.com/ExpediaGroup/test-sdk</url>
1111
<inceptionYear>2022</inceptionYear>
1212
<packaging>jar</packaging>
@@ -82,7 +82,7 @@
8282
<kotlin.version>2.0.21</kotlin.version>
8383
<kotlinx.coroutines.version>1.9.0</kotlinx.coroutines.version>
8484
<ktor.version>2.3.13</ktor.version>
85-
<kotlin-atomic.version>0.26.0</kotlin-atomic.version>
85+
<kotlin-atomic.version>0.26.1</kotlin-atomic.version>
8686
<slf4j.version>2.0.16</slf4j.version>
8787
<maven.nexus-staging.plugin.version>1.7.0</maven.nexus-staging.plugin.version>
8888
<maven.gpg.plugin.version>3.2.7</maven.gpg.plugin.version>
@@ -131,7 +131,7 @@
131131
<dependency>
132132
<groupId>com.fasterxml.jackson</groupId>
133133
<artifactId>jackson-bom</artifactId>
134-
<version>2.18.1</version>
134+
<version>2.18.2</version>
135135
<type>pom</type>
136136
<scope>import</scope>
137137
</dependency>
@@ -153,7 +153,7 @@
153153
<dependency>
154154
<groupId>com.fasterxml.jackson.core</groupId>
155155
<artifactId>jackson-annotations</artifactId>
156-
<version>2.18.1</version>
156+
<version>2.18.2</version>
157157
</dependency>
158158
</dependencies>
159159
</dependencyManagement>
@@ -744,13 +744,13 @@
744744
<dependency>
745745
<groupId>com.ebay.ejmask</groupId>
746746
<artifactId>ejmask-api</artifactId>
747-
<version>1.0.3</version>
747+
<version>1.2.1</version>
748748
</dependency>
749749

750750
<dependency>
751751
<groupId>com.ebay.ejmask</groupId>
752752
<artifactId>ejmask-extensions</artifactId>
753-
<version>1.0.3</version>
753+
<version>1.2.1</version>
754754
</dependency>
755755
</dependencies>
756756

code/src/main/kotlin/com/expediagroup/sdk/rapid/models/TraderDetailsInner.kt

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,32 +33,23 @@ package com.expediagroup.sdk.rapid.models
3333
import com.expediagroup.sdk.core.model.exception.client.PropertyConstraintViolationException
3434
import com.expediagroup.sdk.rapid.models.TraderAddress
3535
import com.fasterxml.jackson.annotation.JsonProperty
36-
import com.fasterxml.jackson.annotation.JsonSetter
37-
import com.fasterxml.jackson.annotation.Nulls
3836
import org.hibernate.validator.messageinterpolation.ParameterMessageInterpolator
3937
import javax.validation.Valid
4038
import javax.validation.Validation
41-
import javax.validation.constraints.NotNull
4239

4340
/**
4441
* Information of the professional entity that sells the property inventory or related services.
45-
* @param contactMessage The trader contact message.
4642
* @param name The trader name.
4743
* @param address
4844
* @param businessRegisterName Name of the register where the trader is registered, and is related to the `business_register_number`
4945
* @param businessRegisterNumber Business registration number
5046
* @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.
47+
* @param contactMessage The trader contact message.
5148
* @param rightToWithdrawMessage The trader right to withdraw message.
5249
* @param email The trader email address.
5350
* @param phone The trader phone number.
5451
*/
5552
data class TraderDetailsInner(
56-
// The trader contact message.
57-
@JsonProperty("contact_message")
58-
@JsonSetter(nulls = Nulls.AS_EMPTY)
59-
@field:NotNull
60-
@field:Valid
61-
val contactMessage: kotlin.String? = "",
6253
// The trader name.
6354
@JsonProperty("name")
6455
@field:Valid
@@ -78,6 +69,10 @@ data class TraderDetailsInner(
7869
@JsonProperty("self_certification")
7970
@field:Valid
8071
val selfCertification: kotlin.Boolean? = null,
72+
// The trader contact message.
73+
@JsonProperty("contact_message")
74+
@field:Valid
75+
val contactMessage: kotlin.String? = null,
8176
// The trader right to withdraw message.
8277
@JsonProperty("right_to_withdraw_message")
8378
@field:Valid
@@ -97,18 +92,16 @@ data class TraderDetailsInner(
9792
}
9893

9994
class Builder(
100-
private var contactMessage: kotlin.String? = null,
10195
private var name: kotlin.String? = null,
10296
private var address: TraderAddress? = null,
10397
private var businessRegisterName: kotlin.String? = null,
10498
private var businessRegisterNumber: kotlin.String? = null,
10599
private var selfCertification: kotlin.Boolean? = null,
100+
private var contactMessage: kotlin.String? = null,
106101
private var rightToWithdrawMessage: kotlin.String? = null,
107102
private var email: kotlin.String? = null,
108103
private var phone: kotlin.String? = null
109104
) {
110-
fun contactMessage(contactMessage: kotlin.String) = apply { this.contactMessage = contactMessage }
111-
112105
fun name(name: kotlin.String?) = apply { this.name = name }
113106

114107
fun address(address: TraderAddress?) = apply { this.address = address }
@@ -119,6 +112,8 @@ data class TraderDetailsInner(
119112

120113
fun selfCertification(selfCertification: kotlin.Boolean?) = apply { this.selfCertification = selfCertification }
121114

115+
fun contactMessage(contactMessage: kotlin.String?) = apply { this.contactMessage = contactMessage }
116+
122117
fun rightToWithdrawMessage(rightToWithdrawMessage: kotlin.String?) = apply { this.rightToWithdrawMessage = rightToWithdrawMessage }
123118

124119
fun email(email: kotlin.String?) = apply { this.email = email }
@@ -128,12 +123,12 @@ data class TraderDetailsInner(
128123
fun build(): TraderDetailsInner {
129124
val instance =
130125
TraderDetailsInner(
131-
contactMessage = contactMessage!!,
132126
name = name,
133127
address = address,
134128
businessRegisterName = businessRegisterName,
135129
businessRegisterNumber = businessRegisterNumber,
136130
selfCertification = selfCertification,
131+
contactMessage = contactMessage,
137132
rightToWithdrawMessage = rightToWithdrawMessage,
138133
email = email,
139134
phone = phone
@@ -165,12 +160,12 @@ data class TraderDetailsInner(
165160

166161
fun toBuilder() =
167162
Builder(
168-
contactMessage = contactMessage!!,
169163
name = name,
170164
address = address,
171165
businessRegisterName = businessRegisterName,
172166
businessRegisterNumber = businessRegisterNumber,
173167
selfCertification = selfCertification,
168+
contactMessage = contactMessage,
174169
rightToWithdrawMessage = rightToWithdrawMessage,
175170
email = email,
176171
phone = phone

code/transformedSpecs.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5502,7 +5502,7 @@ paths:
55025502
required: true
55035503
schema:
55045504
type: string
5505-
example: 2024-11-01
5505+
example: 2025-02-01
55065506
- name: checkout
55075507
in: query
55085508
description: >
@@ -5512,7 +5512,7 @@ paths:
55125512
required: true
55135513
schema:
55145514
type: string
5515-
example: 2024-11-03
5515+
example: 2025-02-03
55165516
- name: currency
55175517
in: query
55185518
description: >
@@ -6747,7 +6747,7 @@ paths:
67476747
If specified must also specify `checkout`.
67486748
schema:
67496749
type: string
6750-
example: 2024-11-01
6750+
example: 2025-02-01
67516751
- name: checkout
67526752
in: query
67536753
description: >
@@ -6760,7 +6760,7 @@ paths:
67606760
If specified must also specify `checkin`.<br>
67616761
schema:
67626762
type: string
6763-
example: 2024-11-03
6763+
example: 2025-02-03
67646764
- name: exclusion
67656765
in: query
67666766
description: >
@@ -8407,7 +8407,7 @@ paths:
84078407
schema:
84088408
type: string
84098409
format: date
8410-
example: 2024-11-15
8410+
example: 2025-02-15
84118411
- name: end_date
84128412
in: query
84138413
description: >
@@ -8418,7 +8418,7 @@ paths:
84188418
schema:
84198419
type: string
84208420
format: date
8421-
example: 2025-05-17
8421+
example: 2025-08-17
84228422
responses:
84238423
"200":
84248424
description: OK
@@ -18530,8 +18530,6 @@ components:
1853018530
type: array
1853118531
description: An array of traders.
1853218532
items:
18533-
required:
18534-
- contact_message
1853518533
type: object
1853618534
properties:
1853718535
name:

0 commit comments

Comments
 (0)