Skip to content

Commit

Permalink
Update to 1.0.4
Browse files Browse the repository at this point in the history
Blobs now have a `URL` field.
  • Loading branch information
olivere committed Sep 21, 2016
1 parent 9504445 commit 1032b04
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/meplato/mall/catalogs/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @copyright 2014-2016 Meplato GmbH, Switzerland.
* @author Meplato API Team <[email protected]>
* @version 1.0.3
* @version 1.0.4
* @license Copyright (c) 2015 Meplato GmbH, Switzerland. All rights reserved.
* @see <a href="https://developer.meplato.com/mall/#terms">Terms of Service</a>
* @see <a href="https://developer.meplato.com/mall/">External documentation</a>
Expand All @@ -41,7 +41,7 @@ public class Service {
/** API title. */
public static String TITLE = "Meplato Mall API";
/** API version. */
public static String VERSION = "1.0.3";
public static String VERSION = "1.0.4";
/** User Agent. */
public static String USER_AGENT = "meplato-java-client/2.0";
/** Default base URL of the API endpoints. */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/meplato/mall/mlt/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @copyright 2014-2016 Meplato GmbH, Switzerland.
* @author Meplato API Team <[email protected]>
* @version 1.0.3
* @version 1.0.4
* @license Copyright (c) 2015-2016 Meplato GmbH, Switzerland. All rights reserved.
* @see <a href="https://developer.meplato.com/mall/#terms">Terms of Service</a>
* @see <a href="https://developer.meplato.com/mall/">External documentation</a>
Expand All @@ -41,7 +41,7 @@ public class Service {
/** API title. */
public static String TITLE = "Meplato Mall API";
/** API version. */
public static String VERSION = "1.0.3";
public static String VERSION = "1.0.4";
/** User Agent. */
public static String USER_AGENT = "meplato-java-client/2.0";
/** Default base URL of the API endpoints. */
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/meplato/mall/products/Blob.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class Blob {
private String source;
@SerializedName("text")
private String text;
@SerializedName("url")
private String url;

/**
* Create new instance of Blob.
Expand Down Expand Up @@ -99,5 +101,19 @@ public String getText() {
public void setText(String text) {
this.text = text;
}

/**
* URL is the URL to the blob.
*/
public String getUrl() {
return this.url;
}

/**
* URL is the URL to the blob.
*/
public void setUrl(String url) {
this.url = url;
}
}

4 changes: 2 additions & 2 deletions src/main/java/com/meplato/mall/products/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @copyright 2014-2016 Meplato GmbH, Switzerland.
* @author Meplato API Team <[email protected]>
* @version 1.0.3
* @version 1.0.4
* @license Copyright (c) 2015-2016 Meplato GmbH, Switzerland. All rights reserved.
* @see <a href="https://developer.meplato.com/mall/#terms">Terms of Service</a>
* @see <a href="https://developer.meplato.com/mall/">External documentation</a>
Expand All @@ -41,7 +41,7 @@ public class Service {
/** API title. */
public static String TITLE = "Meplato Mall API";
/** API version. */
public static String VERSION = "1.0.3";
public static String VERSION = "1.0.4";
/** User Agent. */
public static String USER_AGENT = "meplato-java-client/2.0";
/** Default base URL of the API endpoints. */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/meplato/mall/vendors/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @copyright 2014-2016 Meplato GmbH, Switzerland.
* @author Meplato API Team <[email protected]>
* @version 1.0.3
* @version 1.0.4
* @license Copyright (c) 2015-2016 Meplato GmbH, Switzerland. All rights reserved.
* @see <a href="https://developer.meplato.com/mall/#terms">Terms of Service</a>
* @see <a href="https://developer.meplato.com/mall/">External documentation</a>
Expand All @@ -41,7 +41,7 @@ public class Service {
/** API title. */
public static String TITLE = "Meplato Mall API";
/** API version. */
public static String VERSION = "1.0.3";
public static String VERSION = "1.0.4";
/** User Agent. */
public static String USER_AGENT = "meplato-java-client/2.0";
/** Default base URL of the API endpoints. */
Expand Down

0 comments on commit 1032b04

Please sign in to comment.