Skip to content

Commit 30222ee

Browse files
committed
fix!: Priced product issue
1 parent 2a0c049 commit 30222ee

File tree

9 files changed

+20
-115
lines changed

9 files changed

+20
-115
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'mobi.appcent'
5-
version = '1.0.3'
5+
version = '1.0.4'
66

77
buildscript {
88
repositories {

docs/PricedProduct.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# PricedProduct
1+
# Product
22

33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**pricedProductVariants** | [**List<PricedVariant>**](PricedVariant.md) | | [optional]
6+
**ProductVariants** | [**List<PricedVariant>**](PricedVariant.md) | | [optional]

docs/StoreProductsListRes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**products** | [**List<PricedProduct>**](PricedProduct.md) | | [optional]
6+
**products** | [**List<Product>**](Product.md) | | [optional]
77
**count** | **Integer** | The total number of items available | [optional]
88
**offset** | **Integer** | The number of items skipped before these items | [optional]
99
**limit** | **Integer** | The number of items per page | [optional]

docs/StoreProductsRes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**product** | [**PricedProduct**](PricedProduct.md) | | [optional]
6+
**product** | [**Product**](Product.md) | | [optional]

pom.xml

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

55
<groupId>mobi.appcent</groupId>
66
<artifactId>medusa-java-sdk</artifactId>
7-
<version>1.0.3</version>
7+
<version>1.0.4</version>
88
<name>medusa-java-sdk</name>
99

1010
<repositories>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package mobi.appcent.medusa.store;/**
2+
* Created by erenalpaslan on 11.06.2023
3+
*/public class Main {
4+
}

src/main/java/mobi/appcent/medusa/store/model/response/PricedProduct.java

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

src/main/java/mobi/appcent/medusa/store/model/response/StoreProductsListRes.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2023-02-24T12:45:51.835798768Z[GMT]")
2727
public class StoreProductsListRes {
2828
@SerializedName("products")
29-
private List<PricedProduct> products = null;
29+
private List<Product> products = null;
3030

3131
@SerializedName("count")
3232
private Integer count = null;
@@ -37,14 +37,14 @@ public class StoreProductsListRes {
3737
@SerializedName("limit")
3838
private Integer limit = null;
3939

40-
public StoreProductsListRes products(List<PricedProduct> products) {
40+
public StoreProductsListRes products(List<Product> products) {
4141
this.products = products;
4242
return this;
4343
}
4444

45-
public StoreProductsListRes addProductsItem(PricedProduct productsItem) {
45+
public StoreProductsListRes addProductsItem(Product productsItem) {
4646
if (this.products == null) {
47-
this.products = new ArrayList<PricedProduct>();
47+
this.products = new ArrayList<Product>();
4848
}
4949
this.products.add(productsItem);
5050
return this;
@@ -55,11 +55,11 @@ public StoreProductsListRes addProductsItem(PricedProduct productsItem) {
5555
* @return products
5656
**/
5757
@Schema(description = "")
58-
public List<PricedProduct> getProducts() {
58+
public List<Product> getProducts() {
5959
return products;
6060
}
6161

62-
public void setProducts(List<PricedProduct> products) {
62+
public void setProducts(List<Product> products) {
6363
this.products = products;
6464
}
6565

src/main/java/mobi/appcent/medusa/store/model/response/StoreProductsRes.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2023-02-24T12:45:51.835798768Z[GMT]")
2525
public class StoreProductsRes {
2626
@SerializedName("product")
27-
private PricedProduct product = null;
27+
private Product product = null;
2828

29-
public StoreProductsRes product(PricedProduct product) {
29+
public StoreProductsRes product(Product product) {
3030
this.product = product;
3131
return this;
3232
}
@@ -36,11 +36,11 @@ public StoreProductsRes product(PricedProduct product) {
3636
* @return product
3737
**/
3838
@Schema(description = "")
39-
public PricedProduct getProduct() {
39+
public Product getProduct() {
4040
return product;
4141
}
4242

43-
public void setProduct(PricedProduct product) {
43+
public void setProduct(Product product) {
4444
this.product = product;
4545
}
4646

0 commit comments

Comments
 (0)