Skip to content

Commit 9ee13f0

Browse files
committed
[Auto Generated] 3.21.0
1 parent 3aa6742 commit 9ee13f0

15 files changed

+61
-205
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# CHANGE LOG (3.21.0) - 2.11.7
2+
3+
## Application Client
4+
5+
- [Breaking] [Removed] Webhook class from application client
6+
7+
8+
### Order
9+
10+
11+
12+
#### getOrders
13+
14+
- ##### What's New
15+
- [Added] property <code>items[].shipments[].affiliateShipmentId</code> of schema <code>ShipmentInfo</code> in response with status code 200
16+
17+
18+
#### getOrderById
19+
20+
- ##### What's New
21+
- [Added] property <code>order.shipments[].affiliateShipmentId</code> of schema <code>Shipments</code> in response with status code 200
22+
23+
24+
#### getPosOrderById
25+
26+
- ##### What's New
27+
- [Added] property <code>order.shipments[].affiliateShipmentId</code> of schema <code>Shipments</code> in response with status code 200
28+
29+
30+
#### getShipmentById
31+
32+
- ##### What's New
33+
- [Added] property <code>shipment.affiliateShipmentId</code> of schema <code>Shipments</code> in response with status code 200
34+
35+
136
# CHANGE LOG (3.20.0) - 2.11.6
237

338
## Application Client

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Get started with the Java Development SDK for Fynd Platform
1616
<dependency>
1717
<groupId>com.github.gofynd</groupId>
1818
<artifactId>fdk-client-java</artifactId>
19-
<version>3.20.0</version>
19+
<version>3.21.0</version>
2020
</dependency>
2121
```
2222

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.gofynd</groupId>
88
<artifactId>fynd-client-java</artifactId>
9-
<version>3.20.0</version>
9+
<version>3.21.0</version>
1010

1111
<parent>
1212
<groupId>org.springframework.boot</groupId>

src/main/java/com/sdk/application/ApplicationClient.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343

4444
import com.sdk.application.user.UserApplicationService;
4545

46-
import com.sdk.application.webhook.WebhookApplicationService;
47-
4846

4947
@Getter
5048
@Setter
@@ -83,8 +81,6 @@ public class ApplicationClient {
8381

8482
public UserApplicationService user;
8583

86-
public WebhookApplicationService webhook;
87-
8884

8985
public void setExtraHeader(String key, String value){
9086
this.config.getExtraHeaders().put(key, value);
@@ -137,8 +133,6 @@ private void initialiseConfigAndServices(ApplicationConfig config) {
137133

138134
this.user = new UserApplicationService(config);
139135

140-
this.webhook = new WebhookApplicationService(config);
141-
142136
}
143137
public Response request(String url, Map<String, String> queryParams, Map<String, String> headers, Object bodyObject, String method) throws IOException {
144138
List<Interceptor> interceptorList = new ArrayList<>();

src/main/java/com/sdk/application/ApplicationHeaderInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
3939
.addHeader("User-Agent", applicationConfig.getUserAgent())
4040
.addHeader("Accept-Language", "en-IN")
4141
.addHeader("Authorization", "Bearer "+bearerToken)
42-
.addHeader("x-fp-sdk-version", "3.20.0");
42+
.addHeader("x-fp-sdk-version", "3.21.0");
4343
}
4444
}

src/main/java/com/sdk/application/order/OrderApplicationModels.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2753,6 +2753,12 @@ public static class Shipments{
27532753

27542754

27552755

2756+
@JsonProperty("affiliate_shipment_id")
2757+
private String affiliateShipmentId;
2758+
2759+
2760+
2761+
27562762
@JsonProperty("fulfilling_store")
27572763
private FulfillingStore fulfillingStore;
27582764

@@ -3397,6 +3403,12 @@ public static class ShipmentInfo{
33973403

33983404

33993405

3406+
@JsonProperty("affiliate_shipment_id")
3407+
private String affiliateShipmentId;
3408+
3409+
3410+
3411+
34003412
@JsonProperty("shipment_status")
34013413
private ShipmentStatus shipmentStatus;
34023414

src/main/java/com/sdk/application/webhook/WebhookApplicationApiList.java

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/main/java/com/sdk/application/webhook/WebhookApplicationModels.java

Lines changed: 0 additions & 111 deletions
This file was deleted.

src/main/java/com/sdk/application/webhook/WebhookApplicationService.java

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/main/java/com/sdk/partner/AccessTokenInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public Response intercept(Chain chain) throws IOException {
2626
okhttp3.Request.Builder builder = original.newBuilder()
2727
.addHeader("Authorization", "Bearer "+ partnerConfig.getPartnerOauthClient().getToken())
2828
.addHeader("Content-Type", "application/x-www-form-urlencoded")
29-
.addHeader("x-fp-sdk-version", "3.20.0");
29+
.addHeader("x-fp-sdk-version", "3.21.0");
3030
if (!partnerConfig.getExtraHeaders().isEmpty()) {
3131
HashMap<String, String> extraHeaders = partnerConfig.getExtraHeaders();
3232
for(Map.Entry<String,String> entry:extraHeaders.entrySet()){

0 commit comments

Comments
 (0)