Skip to content

Commit

Permalink
Merge pull request #34 from AppcentMobile/develop
Browse files Browse the repository at this point in the history
Fix: Priced Product issue
  • Loading branch information
erenalpaslan committed Jun 11, 2023
2 parents 36211d2 + 135379e commit a7ec993
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 115 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'mobi.appcent'
version = '1.0.3'
version = '1.0.4'

buildscript {
repositories {
Expand Down
4 changes: 2 additions & 2 deletions docs/PricedProduct.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PricedProduct
# Product

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pricedProductVariants** | [**List<PricedVariant>**](PricedVariant.md) | | [optional]
**ProductVariants** | [**List<PricedVariant>**](PricedVariant.md) | | [optional]
2 changes: 1 addition & 1 deletion docs/StoreProductsListRes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**products** | [**List<PricedProduct>**](PricedProduct.md) | | [optional]
**products** | [**List<Product>**](Product.md) | | [optional]
**count** | **Integer** | The total number of items available | [optional]
**offset** | **Integer** | The number of items skipped before these items | [optional]
**limit** | **Integer** | The number of items per page | [optional]
2 changes: 1 addition & 1 deletion docs/StoreProductsRes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**product** | [**PricedProduct**](PricedProduct.md) | | [optional]
**product** | [**Product**](Product.md) | | [optional]
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>mobi.appcent</groupId>
<artifactId>medusa-java-sdk</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
<name>medusa-java-sdk</name>

<repositories>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2023-02-24T12:45:51.835798768Z[GMT]")
public class StoreProductsListRes {
@SerializedName("products")
private List<PricedProduct> products = null;
private List<Product> products = null;

@SerializedName("count")
private Integer count = null;
Expand All @@ -37,14 +37,14 @@ public class StoreProductsListRes {
@SerializedName("limit")
private Integer limit = null;

public StoreProductsListRes products(List<PricedProduct> products) {
public StoreProductsListRes products(List<Product> products) {
this.products = products;
return this;
}

public StoreProductsListRes addProductsItem(PricedProduct productsItem) {
public StoreProductsListRes addProductsItem(Product productsItem) {
if (this.products == null) {
this.products = new ArrayList<PricedProduct>();
this.products = new ArrayList<Product>();
}
this.products.add(productsItem);
return this;
Expand All @@ -55,11 +55,11 @@ public StoreProductsListRes addProductsItem(PricedProduct productsItem) {
* @return products
**/
@Schema(description = "")
public List<PricedProduct> getProducts() {
public List<Product> getProducts() {
return products;
}

public void setProducts(List<PricedProduct> products) {
public void setProducts(List<Product> products) {
this.products = products;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2023-02-24T12:45:51.835798768Z[GMT]")
public class StoreProductsRes {
@SerializedName("product")
private PricedProduct product = null;
private Product product = null;

public StoreProductsRes product(PricedProduct product) {
public StoreProductsRes product(Product product) {
this.product = product;
return this;
}
Expand All @@ -36,11 +36,11 @@ public StoreProductsRes product(PricedProduct product) {
* @return product
**/
@Schema(description = "")
public PricedProduct getProduct() {
public Product getProduct() {
return product;
}

public void setProduct(PricedProduct product) {
public void setProduct(Product product) {
this.product = product;
}

Expand Down

0 comments on commit a7ec993

Please sign in to comment.