Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Release 2.6.1 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Rojas authored Mar 28, 2018
1 parent 30778c9 commit ef09dca
Show file tree
Hide file tree
Showing 22 changed files with 331 additions and 327 deletions.
8 changes: 6 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## Version 2.6.1 (2018-03-28)

* Updates user-agent header

## Version 2.6.0 (2018-03-27)

### Improvements: Orders API
Expand All @@ -8,8 +12,8 @@

### New features: Orders API

* For Catalog-backed line items, setting `CreateOrderRequestLineItem.base_price_money` will now override
the catalog item variation's price.
* For Catalog-backed line items, setting `CreateOrderRequestLineItem.base_price_money` will now override
the catalog item variation's price.
* `CreateOrderRequestModifier`s may now be created ad hoc using the new `name` and `base_price_money` fields.

## Version 2.5.3 (2018-01-06)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.squareup</groupId>
<artifactId>connect</artifactId>
<version>2.6.0</version>
<version>2.6.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -28,7 +28,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.squareup:connect:2.6.0"
compile "com.squareup:connect:2.6.1"
```

### Build and Install locally
Expand All @@ -47,7 +47,7 @@ At first generate the JAR by executing:

Then manually install the following JARs:

* target/connect-2.6.0.jar
* target/connect-2.6.1.jar
* target/lib/*.jar

## Getting Started
Expand Down
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 = 'com.squareup'
version = '2.6.0'
version = '2.6.1'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion docs/OrdersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description
BatchRetrieveOrders

Retrieves a set of [Order](#type-order)s by their IDs. If a provided Order ID does not exist, it is ignored instead of resulting in an error.
Retrieves a set of [Order](#type-order)s by their IDs. If a given Order ID does not exist, the ID is ignored instead of generating an error.

### Example
```java
Expand Down
2 changes: 1 addition & 1 deletion docs/V1SettlementEntry.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ SQUARE_CAPITAL_PAYMENT | &quot;SQUARE_CAPITAL_PAYMENT&quot;
SQUARE_CAPITAL_REVERSED_PAYMENT | &quot;SQUARE_CAPITAL_REVERSED_PAYMENT&quot;
SUBSCRIPTION_FEE | &quot;SUBSCRIPTION_FEE&quot;
SUBSCRIPTION_FEE_REFUND | &quot;SUBSCRIPTION_FEE_REFUND&quot;
INCENTED_PAYMENT | &quot;INCENTED_PAYMENT&quot;
OTHER | &quot;OTHER&quot;
INCENTED_PAYMENT | &quot;INCENTED_PAYMENT&quot;
RETURNED_ACH_ENTRY | &quot;RETURNED_ACH_ENTRY&quot;
RETURNED_SQUARE_275 | &quot;RETURNED_SQUARE_275&quot;
SQUARE_275 | &quot;SQUARE_275&quot;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>connect</artifactId>
<packaging>jar</packaging>
<name>connect</name>
<version>2.6.0</version>
<version>2.6.1</version>
<url>https://github.com/square/connect-java-sdk/</url>
<description>Java client library for the Square Connect API</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/squareup/connect/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public ApiClient() {
this.dateFormat = new RFC3339DateFormat();

// Set default User-Agent.
setUserAgent("Square-Connect-Java/2.5.3");
setUserAgent("Square-Connect-Java/2.6.1");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/squareup/connect/api/OrdersApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void setApiClient(ApiClient apiClient) {

/**
* BatchRetrieveOrders
* Retrieves a set of [Order](#type-order)s by their IDs. If a provided Order ID does not exist, it is ignored instead of resulting in an error.
* Retrieves a set of [Order](#type-order)s by their IDs. If a given Order ID does not exist, the ID is ignored instead of generating an error.
* @param locationId The ID of the orders&#39; associated location. (required)
* @param body An object containing the fields to POST for the request. See the corresponding object definition for field details. (required)
* @return BatchRetrieveOrdersResponse
Expand Down Expand Up @@ -90,7 +90,7 @@ public BatchRetrieveOrdersResponse batchRetrieveOrders(String locationId, BatchR

/**
* BatchRetrieveOrders
* Retrieves a set of [Order](#type-order)s by their IDs. If a provided Order ID does not exist, it is ignored instead of resulting in an error.
* Retrieves a set of [Order](#type-order)s by their IDs. If a given Order ID does not exist, the ID is ignored instead of generating an error.
* @param locationId The ID of the orders&#39; associated location. (required)
* @param body An object containing the fields to POST for the request. See the corresponding object definition for field details. (required)
* @return CompleteResponse<BatchRetrieveOrdersResponse>
Expand Down
Loading

0 comments on commit ef09dca

Please sign in to comment.