You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
**If you have feedback about the new SDKs, or just want to talk to other Square Developers, request an invite to the new [slack community for Square Developers](https://squ.re/2GB8GHk)**
4
12
5
13
## ENUM to String Migration
6
-
The Java SDK no longer treats enums as explicit types. Instead, all enums are handled as static strings.
14
+
The Java SDK no longer treats enums as explicit types. Instead, all enums are handled as static strings.
7
15
Previously, you would use an enum constant to represent the related string value. For example:
8
16
```java
9
17
Money money =newMoney();
@@ -39,7 +47,7 @@ Add this dependency to your project's POM:
39
47
<dependency>
40
48
<groupId>com.squareup</groupId>
41
49
<artifactId>connect</artifactId>
42
-
<version>2.20190724.0</version>
50
+
<version>2.20190814.0</version>
43
51
<scope>compile</scope>
44
52
</dependency>
45
53
```
@@ -49,7 +57,7 @@ Add this dependency to your project's POM:
49
57
Add this dependency to your project's build file:
50
58
51
59
```groovy
52
-
compile "com.squareup:connect:2.20190724.0"
60
+
compile "com.squareup:connect:2.20190814.0"
53
61
```
54
62
55
63
### Option 3: Build and Install locally
@@ -91,7 +99,7 @@ At first generate the JAR by executing:
**orders** | [**List<Order>**](Order.md) | The requested orders. This will omit any requested orders that do not exist or are not charged. | [optional]
12
12
**errors** | [**List<Error>**](Error.md) | Any errors that occurred during the request. | [optional]
13
-
**unconvertibleTransactionIds** | **List<String>** | List of transaction ids within the requested set of ids that encountered transformation issues when being converted to an Order. | [optional]
**status** | **String** | The card payment's current state. It can be one of: `AUTHORIZED`, `CAPTURED`, `VOIDED`, `FAILED`. | [optional]
**entryMethod** | **String** | The method used to enter the card's details for the payment. Can be `KEYED`, `SWIPED`, `EMV`, `ON_FILE`, or `CONTACTLESS`. | [optional]
14
+
**cvvStatus** | **String** | Status code returned from the Card Verification Value (CVV) check. | [optional]
15
+
**avsStatus** | **String** | Status code returned from the Address Verification System (AVS) check. | [optional]
16
+
**authResultCode** | **String** | Status code returned by the card issuer that describes the payment's authorization status. | [optional]
17
+
**applicationIdentifier** | **String** | For EMV payments, identifies the EMV application used for the payment | [optional]
18
+
**applicationName** | **String** | For EMV payments, the human-readable name of the EMV application used for the payment. | [optional]
19
+
**applicationCryptogram** | **String** | For EMV payments, the cryptogram generated for the payment. | [optional]
20
+
**errors** | [**List<Error>**](Error.md) | Information on errors encountered during the request. | [optional]
Copy file name to clipboardexpand all lines: docs/ChargeRequest.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
### Description
5
5
6
-
Defines the parameters that can be included in the body of a request to the Charge endpoint.
6
+
Defines the parameters that can be included in the body of a request to the [Charge](#endpoint-charge) endpoint. Deprecated - recommend using [CreatePayment](#endpoint-payments-createpayment)
Copy file name to clipboardexpand all lines: docs/ChargeResponse.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
### Description
5
5
6
-
Defines the fields that are included in the response body of a request to the Charge endpoint. One of `errors` or `transaction` is present in a given response (never both).
6
+
Defines the fields that are included in the response body of a request to the [Charge](#endpoint-charge) endpoint. One of `errors` or `transaction` is present in a given response (never both).
0 commit comments