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

Commit b9e079c

Browse files
authored
Release/2.20190814.0 (#74)
* Release 2.20190814.0
1 parent 01df84d commit b9e079c

File tree

183 files changed

+9270
-882
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+9270
-882
lines changed

CHANGES.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## Version 2.20190814.0 (2019-08-15)
4+
5+
* **New functionality**: All SDKs have been updated to support the Sandbox v2 BETA release
6+
* **Deprecated functionality**: All Transactions API functionality is deprecated in favor of Payments API and Refunds API functionality.
7+
* **New functionality**: All SDKs have been updated to support the Payments API GA.
8+
* **New functionality**: All SDKs have been updated to support the Refunds API GA.
9+
* **New functionality**: All SDKs have been updated to support Orders API updates:
10+
* Pickup Fulfillments, SearchOrders, and ServiceCharges move from BETA to GA.
11+
* New BETA endpoint: Orders.UpdateOrder — use the UpdateOrder endpoint to update existing orders.
12+
* New BETA functionality: Create shipment-type fulfillments.
13+
* **New functionality**: Locations.RetrieveLocation — use the RetrieveLocation endpoint to load details for a specific Location.
14+
315
## Version 2.20190724.0 (2019-07-24)
416

517
* **BETA releases**:

README.md

+93-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
# Square Connect Java SDK [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.squareup/connect/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.squareup/connect)
1+
![Square logo]
2+
3+
# Square Connect Java SDK
4+
5+
---
6+
7+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.squareup/connect/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.squareup/connect)
8+
[![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
9+
==================
210

311
**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)**
412

513
## 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.
715
Previously, you would use an enum constant to represent the related string value. For example:
816
```java
917
Money money = new Money();
@@ -39,7 +47,7 @@ Add this dependency to your project's POM:
3947
<dependency>
4048
<groupId>com.squareup</groupId>
4149
<artifactId>connect</artifactId>
42-
<version>2.20190724.0</version>
50+
<version>2.20190814.0</version>
4351
<scope>compile</scope>
4452
</dependency>
4553
```
@@ -49,7 +57,7 @@ Add this dependency to your project's POM:
4957
Add this dependency to your project's build file:
5058

5159
```groovy
52-
compile "com.squareup:connect:2.20190724.0"
60+
compile "com.squareup:connect:2.20190814.0"
5361
```
5462

5563
### Option 3: Build and Install locally
@@ -91,7 +99,7 @@ At first generate the JAR by executing:
9199

92100
Then manually install the following JARs:
93101

94-
* target/connect-2.20190724.0.jar
102+
* target/connect-2.20190814.0.jar
95103
* target/lib/*.jar
96104

97105
## Getting Started
@@ -133,6 +141,36 @@ public class Example {
133141
}
134142
```
135143

144+
### How to configure sandbox environment
145+
```java
146+
147+
import com.squareup.connect.ApiClient;
148+
import com.squareup.connect.ApiException;
149+
import com.squareup.connect.Configuration;
150+
import com.squareup.connect.api.LocationsApi;
151+
import com.squareup.connect.auth.OAuth;
152+
import com.squareup.connect.models.Location;
153+
154+
import java.io.File;
155+
import java.util.*;
156+
157+
public class Example {
158+
159+
public static void main(String[] args) {
160+
ApiClient apiClient = Configuration.getDefaultApiClient();
161+
// Set sandbox url
162+
apiClient.setBasePath('https://connect.squareupsandbox.com');
163+
164+
// Configure OAuth2 access token for authorization: oauth2
165+
OAuth oauth2 = (OAuth) apiClient.getAuthentication("oauth2");
166+
// Set your sandbox token
167+
oauth2.setAccessToken("YOUR_SANDBOX_ACCESS_TOKEN");
168+
169+
LocationsApi locationsApi = new LocationsApi();
170+
}
171+
}
172+
```
173+
136174
## Documentation for API Endpoints
137175

138176
All URIs are relative to *https://connect.squareup.com*
@@ -190,7 +228,18 @@ Class | Method | HTTP request | Description
190228
*OAuthApi* | [**revokeToken**](docs/OAuthApi.md#revokeToken) | **POST** /oauth2/revoke | RevokeToken
191229
*OrdersApi* | [**batchRetrieveOrders**](docs/OrdersApi.md#batchRetrieveOrders) | **POST** /v2/locations/{location_id}/orders/batch-retrieve | BatchRetrieveOrders
192230
*OrdersApi* | [**createOrder**](docs/OrdersApi.md#createOrder) | **POST** /v2/locations/{location_id}/orders | CreateOrder
231+
*OrdersApi* | [**payOrder**](docs/OrdersApi.md#payOrder) | **POST** /v2/orders/{order_id}/pay | PayOrder
193232
*OrdersApi* | [**searchOrders**](docs/OrdersApi.md#searchOrders) | **POST** /v2/orders/search | SearchOrders
233+
*OrdersApi* | [**updateOrder**](docs/OrdersApi.md#updateOrder) | **PUT** /v2/locations/{location_id}/orders/{order_id} | UpdateOrder
234+
*PaymentsApi* | [**cancelPayment**](docs/PaymentsApi.md#cancelPayment) | **POST** /v2/payments/{payment_id}/cancel | CancelPayment
235+
*PaymentsApi* | [**cancelPaymentByIdempotencyKey**](docs/PaymentsApi.md#cancelPaymentByIdempotencyKey) | **POST** /v2/payments/cancel | CancelPaymentByIdempotencyKey
236+
*PaymentsApi* | [**completePayment**](docs/PaymentsApi.md#completePayment) | **POST** /v2/payments/{payment_id}/complete | CompletePayment
237+
*PaymentsApi* | [**createPayment**](docs/PaymentsApi.md#createPayment) | **POST** /v2/payments | CreatePayment
238+
*PaymentsApi* | [**getPayment**](docs/PaymentsApi.md#getPayment) | **GET** /v2/payments/{payment_id} | GetPayment
239+
*PaymentsApi* | [**listPayments**](docs/PaymentsApi.md#listPayments) | **GET** /v2/payments | ListPayments
240+
*RefundsApi* | [**getPaymentRefund**](docs/RefundsApi.md#getPaymentRefund) | **GET** /v2/refunds/{refund_id} | GetPaymentRefund
241+
*RefundsApi* | [**listPaymentRefunds**](docs/RefundsApi.md#listPaymentRefunds) | **GET** /v2/refunds | ListPaymentRefunds
242+
*RefundsApi* | [**refundPayment**](docs/RefundsApi.md#refundPayment) | **POST** /v2/refunds | RefundPayment
194243
*ReportingApi* | [**listAdditionalRecipientReceivableRefunds**](docs/ReportingApi.md#listAdditionalRecipientReceivableRefunds) | **GET** /v2/locations/{location_id}/additional-recipient-receivable-refunds | ListAdditionalRecipientReceivableRefunds
195244
*ReportingApi* | [**listAdditionalRecipientReceivables**](docs/ReportingApi.md#listAdditionalRecipientReceivables) | **GET** /v2/locations/{location_id}/additional-recipient-receivables | ListAdditionalRecipientReceivables
196245
*TransactionsApi* | [**captureTransaction**](docs/TransactionsApi.md#captureTransaction) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/capture | CaptureTransaction
@@ -277,6 +326,7 @@ Class | Method | HTTP request | Description
277326
- [AdditionalRecipientReceivable](docs/AdditionalRecipientReceivable.md)
278327
- [AdditionalRecipientReceivableRefund](docs/AdditionalRecipientReceivableRefund.md)
279328
- [Address](docs/Address.md)
329+
- [BalancePaymentDetails](docs/BalancePaymentDetails.md)
280330
- [BatchChangeInventoryRequest](docs/BatchChangeInventoryRequest.md)
281331
- [BatchChangeInventoryResponse](docs/BatchChangeInventoryResponse.md)
282332
- [BatchDeleteCatalogObjectsRequest](docs/BatchDeleteCatalogObjectsRequest.md)
@@ -294,10 +344,15 @@ Class | Method | HTTP request | Description
294344
- [BreakType](docs/BreakType.md)
295345
- [BusinessHours](docs/BusinessHours.md)
296346
- [BusinessHoursPeriod](docs/BusinessHoursPeriod.md)
347+
- [CancelPaymentByIdempotencyKeyRequest](docs/CancelPaymentByIdempotencyKeyRequest.md)
348+
- [CancelPaymentByIdempotencyKeyResponse](docs/CancelPaymentByIdempotencyKeyResponse.md)
349+
- [CancelPaymentRequest](docs/CancelPaymentRequest.md)
350+
- [CancelPaymentResponse](docs/CancelPaymentResponse.md)
297351
- [CaptureTransactionRequest](docs/CaptureTransactionRequest.md)
298352
- [CaptureTransactionResponse](docs/CaptureTransactionResponse.md)
299353
- [Card](docs/Card.md)
300354
- [CardBrand](docs/CardBrand.md)
355+
- [CardPaymentDetails](docs/CardPaymentDetails.md)
301356
- [CatalogCategory](docs/CatalogCategory.md)
302357
- [CatalogDiscount](docs/CatalogDiscount.md)
303358
- [CatalogDiscountType](docs/CatalogDiscountType.md)
@@ -342,6 +397,8 @@ Class | Method | HTTP request | Description
342397
- [ChargeRequestAdditionalRecipient](docs/ChargeRequestAdditionalRecipient.md)
343398
- [ChargeResponse](docs/ChargeResponse.md)
344399
- [Checkout](docs/Checkout.md)
400+
- [CompletePaymentRequest](docs/CompletePaymentRequest.md)
401+
- [CompletePaymentResponse](docs/CompletePaymentResponse.md)
345402
- [Coordinates](docs/Coordinates.md)
346403
- [Country](docs/Country.md)
347404
- [CreateBreakTypeRequest](docs/CreateBreakTypeRequest.md)
@@ -360,6 +417,8 @@ Class | Method | HTTP request | Description
360417
- [CreateOrderRequestModifier](docs/CreateOrderRequestModifier.md)
361418
- [CreateOrderRequestTax](docs/CreateOrderRequestTax.md)
362419
- [CreateOrderResponse](docs/CreateOrderResponse.md)
420+
- [CreatePaymentRequest](docs/CreatePaymentRequest.md)
421+
- [CreatePaymentResponse](docs/CreatePaymentResponse.md)
363422
- [CreateRefundRequest](docs/CreateRefundRequest.md)
364423
- [CreateRefundResponse](docs/CreateRefundResponse.md)
365424
- [CreateShiftRequest](docs/CreateShiftRequest.md)
@@ -398,6 +457,10 @@ Class | Method | HTTP request | Description
398457
- [GetBreakTypeResponse](docs/GetBreakTypeResponse.md)
399458
- [GetEmployeeWageRequest](docs/GetEmployeeWageRequest.md)
400459
- [GetEmployeeWageResponse](docs/GetEmployeeWageResponse.md)
460+
- [GetPaymentRefundRequest](docs/GetPaymentRefundRequest.md)
461+
- [GetPaymentRefundResponse](docs/GetPaymentRefundResponse.md)
462+
- [GetPaymentRequest](docs/GetPaymentRequest.md)
463+
- [GetPaymentResponse](docs/GetPaymentResponse.md)
401464
- [GetShiftRequest](docs/GetShiftRequest.md)
402465
- [GetShiftResponse](docs/GetShiftResponse.md)
403466
- [InventoryAdjustment](docs/InventoryAdjustment.md)
@@ -425,6 +488,10 @@ Class | Method | HTTP request | Description
425488
- [ListEmployeesResponse](docs/ListEmployeesResponse.md)
426489
- [ListLocationsRequest](docs/ListLocationsRequest.md)
427490
- [ListLocationsResponse](docs/ListLocationsResponse.md)
491+
- [ListPaymentRefundsRequest](docs/ListPaymentRefundsRequest.md)
492+
- [ListPaymentRefundsResponse](docs/ListPaymentRefundsResponse.md)
493+
- [ListPaymentsRequest](docs/ListPaymentsRequest.md)
494+
- [ListPaymentsResponse](docs/ListPaymentsResponse.md)
428495
- [ListRefundsRequest](docs/ListRefundsRequest.md)
429496
- [ListRefundsResponse](docs/ListRefundsResponse.md)
430497
- [ListTransactionsRequest](docs/ListTransactionsRequest.md)
@@ -440,6 +507,8 @@ Class | Method | HTTP request | Description
440507
- [MeasurementUnitCustom](docs/MeasurementUnitCustom.md)
441508
- [MeasurementUnitGeneric](docs/MeasurementUnitGeneric.md)
442509
- [MeasurementUnitLength](docs/MeasurementUnitLength.md)
510+
- [MeasurementUnitTime](docs/MeasurementUnitTime.md)
511+
- [MeasurementUnitUnitType](docs/MeasurementUnitUnitType.md)
443512
- [MeasurementUnitVolume](docs/MeasurementUnitVolume.md)
444513
- [MeasurementUnitWeight](docs/MeasurementUnitWeight.md)
445514
- [ModelBreak](docs/ModelBreak.md)
@@ -452,9 +521,12 @@ Class | Method | HTTP request | Description
452521
- [OrderFulfillmentPickupDetails](docs/OrderFulfillmentPickupDetails.md)
453522
- [OrderFulfillmentPickupDetailsScheduleType](docs/OrderFulfillmentPickupDetailsScheduleType.md)
454523
- [OrderFulfillmentRecipient](docs/OrderFulfillmentRecipient.md)
524+
- [OrderFulfillmentShipmentDetails](docs/OrderFulfillmentShipmentDetails.md)
455525
- [OrderFulfillmentState](docs/OrderFulfillmentState.md)
456526
- [OrderFulfillmentType](docs/OrderFulfillmentType.md)
457527
- [OrderLineItem](docs/OrderLineItem.md)
528+
- [OrderLineItemAppliedDiscount](docs/OrderLineItemAppliedDiscount.md)
529+
- [OrderLineItemAppliedTax](docs/OrderLineItemAppliedTax.md)
458530
- [OrderLineItemDiscount](docs/OrderLineItemDiscount.md)
459531
- [OrderLineItemDiscountScope](docs/OrderLineItemDiscountScope.md)
460532
- [OrderLineItemDiscountType](docs/OrderLineItemDiscountType.md)
@@ -475,8 +547,15 @@ Class | Method | HTTP request | Description
475547
- [OrderServiceChargeCalculationPhase](docs/OrderServiceChargeCalculationPhase.md)
476548
- [OrderSource](docs/OrderSource.md)
477549
- [OrderState](docs/OrderState.md)
550+
- [PayOrderRequest](docs/PayOrderRequest.md)
551+
- [PayOrderResponse](docs/PayOrderResponse.md)
552+
- [Payment](docs/Payment.md)
553+
- [PaymentRefund](docs/PaymentRefund.md)
554+
- [ProcessingFee](docs/ProcessingFee.md)
478555
- [Product](docs/Product.md)
479556
- [Refund](docs/Refund.md)
557+
- [RefundPaymentRequest](docs/RefundPaymentRequest.md)
558+
- [RefundPaymentResponse](docs/RefundPaymentResponse.md)
480559
- [RefundStatus](docs/RefundStatus.md)
481560
- [RegisterDomainRequest](docs/RegisterDomainRequest.md)
482561
- [RegisterDomainResponse](docs/RegisterDomainResponse.md)
@@ -497,6 +576,8 @@ Class | Method | HTTP request | Description
497576
- [RetrieveInventoryCountResponse](docs/RetrieveInventoryCountResponse.md)
498577
- [RetrieveInventoryPhysicalCountRequest](docs/RetrieveInventoryPhysicalCountRequest.md)
499578
- [RetrieveInventoryPhysicalCountResponse](docs/RetrieveInventoryPhysicalCountResponse.md)
579+
- [RetrieveLocationRequest](docs/RetrieveLocationRequest.md)
580+
- [RetrieveLocationResponse](docs/RetrieveLocationResponse.md)
500581
- [RetrieveTransactionRequest](docs/RetrieveTransactionRequest.md)
501582
- [RetrieveTransactionResponse](docs/RetrieveTransactionResponse.md)
502583
- [RevokeTokenRequest](docs/RevokeTokenRequest.md)
@@ -551,6 +632,8 @@ Class | Method | HTTP request | Description
551632
- [UpdateItemModifierListsResponse](docs/UpdateItemModifierListsResponse.md)
552633
- [UpdateItemTaxesRequest](docs/UpdateItemTaxesRequest.md)
553634
- [UpdateItemTaxesResponse](docs/UpdateItemTaxesResponse.md)
635+
- [UpdateOrderRequest](docs/UpdateOrderRequest.md)
636+
- [UpdateOrderResponse](docs/UpdateOrderResponse.md)
554637
- [UpdateShiftRequest](docs/UpdateShiftRequest.md)
555638
- [UpdateShiftResponse](docs/UpdateShiftResponse.md)
556639
- [UpdateWorkweekConfigRequest](docs/UpdateWorkweekConfigRequest.md)
@@ -819,3 +902,8 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
819902

820903
821904

905+
906+
907+
908+
[//]: # "Link anchor definitions"
909+
[Square Logo]: https://docs.connect.squareup.com/images/github/github-square-logo.svg

build.gradle

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

44
group = 'com.squareup'
5-
version = '2.20190724.0'
5+
version = '2.20190814.0'
66

77
buildscript {
88
repositories {

docs/BalancePaymentDetails.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# BalancePaymentDetails
3+
4+
### Description
5+
6+
Reflects the current status of a balance payment.
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**accountId** | **String** | ID for the account used to fund the payment. | [optional]
12+
**status** | **String** | The balance payment’s current state. Can be &#x60;COMPLETED&#x60; or &#x60;FAILED&#x60;. | [optional]
13+
14+
15+

docs/BatchRetrieveOrdersResponse.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**orders** | [**List&lt;Order&gt;**](Order.md) | The requested orders. This will omit any requested orders that do not exist or are not charged. | [optional]
1212
**errors** | [**List&lt;Error&gt;**](Error.md) | Any errors that occurred during the request. | [optional]
13-
**unconvertibleTransactionIds** | **List&lt;String&gt;** | List of transaction ids within the requested set of ids that encountered transformation issues when being converted to an Order. | [optional]
1413

1514

1615

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# CancelPaymentByIdempotencyKeyRequest
3+
4+
### Description
5+
6+
Specifies idempotency key of a payment to cancel.
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**idempotencyKey** | **String** | &#x60;idempotency_key&#x60; identifying the payment to be canceled. |
12+
13+
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# CancelPaymentByIdempotencyKeyResponse
3+
4+
### Description
5+
6+
Return value from the [CancelPaymentByIdempotencyKey](#endpoint-payments-cancelpaymentbyidempotencykey) endpoint. On success, `errors` will be empty.
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**errors** | [**List&lt;Error&gt;**](Error.md) | Any errors that occurred during the request. | [optional]
12+
13+
14+

docs/CancelPaymentRequest.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# CancelPaymentRequest
3+
4+
### Description
5+
6+
Cancels a payment before it has been completed. Note: only payments created with `autocomplete` set to false can be canceled.
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
12+
13+

docs/CancelPaymentResponse.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# CancelPaymentResponse
3+
4+
### Description
5+
6+
Return value from the [CancelPayment](#endpoint-payments-cancelpayment) endpoint.
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**errors** | [**List&lt;Error&gt;**](Error.md) | Information on errors encountered during the request. | [optional]
12+
**payment** | [**Payment**](Payment.md) | The successfully canceled &#x60;Payment&#x60; object. | [optional]
13+
14+
15+

docs/CaptureTransactionResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
### Description
55

6-
Defines the fields that are included in the response body of a request to the CaptureTransaction endpoint.
6+
Defines the fields that are included in the response body of a request to the [CaptureTransaction](#endpoint-capturetransaction) endpoint.
77

88
## Properties
99
Name | Type | Description | Notes

docs/CardPaymentDetails.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
# CardPaymentDetails
3+
4+
### Description
5+
6+
Reflects the current status of a card payment.
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**status** | **String** | The card payment&#39;s current state. It can be one of: &#x60;AUTHORIZED&#x60;, &#x60;CAPTURED&#x60;, &#x60;VOIDED&#x60;, &#x60;FAILED&#x60;. | [optional]
12+
**card** | [**Card**](Card.md) | The credit card&#39;s non-confidential details. | [optional]
13+
**entryMethod** | **String** | The method used to enter the card&#39;s details for the payment. Can be &#x60;KEYED&#x60;, &#x60;SWIPED&#x60;, &#x60;EMV&#x60;, &#x60;ON_FILE&#x60;, or &#x60;CONTACTLESS&#x60;. | [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&#39;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&lt;Error&gt;**](Error.md) | Information on errors encountered during the request. | [optional]
21+
22+
23+

docs/ChargeRequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
### Description
55

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)
77

88
## Properties
99
Name | Type | Description | Notes

docs/ChargeResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
### Description
55

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).
77

88
## Properties
99
Name | Type | Description | Notes

0 commit comments

Comments
 (0)