Skip to content

Commit cb35cb6

Browse files
authored
Merge pull request #3 from wtx-labs/feature/release-096
Model update
2 parents 3b93504 + 7d5c721 commit cb35cb6

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[![Java Version](https://img.shields.io/badge/Java-8%2B-blue)](https://www.java.com)
55
[![Maven Central](https://img.shields.io/maven-central/v/pl.wtx.woocommerce/woocommerce-api-client?label=Maven%20Central&logo=apache-maven&color=blue)](https://mvnrepository.com/artifact/pl.wtx.woocommerce/woocommerce-api-client)
66

7-
87
A lightweight Java client library for WooCommerce REST API integration. Built for Java developers who need to integrate their applications with WooCommerce e-commerce platform. 🚀
98

109
This API client provides a type-safe Java interface for WooCommerce REST API v3, enabling seamless management of:
@@ -88,7 +87,7 @@ You can add the library to your project by including the dependency from Maven C
8887
<dependency>
8988
<groupId>pl.wtx.woocommerce</groupId>
9089
<artifactId>woocommerce-api-client</artifactId>
91-
<version>0.9.5</version>
90+
<version>0.9.6</version>
9291
</dependency>
9392
```
9493

src/main/java/pl/wtx/woocommerce/api/client/model/Product.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public class Product {
188188
public static final String SERIALIZED_NAME_TOTAL_SALES = "total_sales";
189189
@SerializedName(SERIALIZED_NAME_TOTAL_SALES)
190190
@javax.annotation.Nullable
191-
private Integer totalSales;
191+
private Long totalSales;
192192

193193
public static final String SERIALIZED_NAME_VIRTUAL = "virtual";
194194
@SerializedName(SERIALIZED_NAME_VIRTUAL)
@@ -863,7 +863,7 @@ public void setPurchasable(@javax.annotation.Nullable Boolean purchasable) {
863863
}
864864

865865

866-
public Product totalSales(@javax.annotation.Nullable Integer totalSales) {
866+
public Product totalSales(@javax.annotation.Nullable Long totalSales) {
867867
this.totalSales = totalSales;
868868
return this;
869869
}
@@ -873,11 +873,11 @@ public Product totalSales(@javax.annotation.Nullable Integer totalSales) {
873873
* @return totalSales
874874
*/
875875
@javax.annotation.Nullable
876-
public Integer getTotalSales() {
876+
public Long getTotalSales() {
877877
return totalSales;
878878
}
879879

880-
public void setTotalSales(@javax.annotation.Nullable Integer totalSales) {
880+
public void setTotalSales(@javax.annotation.Nullable Long totalSales) {
881881
this.totalSales = totalSales;
882882
}
883883

0 commit comments

Comments
 (0)