Skip to content

Commit

Permalink
Generated PR for Release: 26.0.0.20230419
Browse files Browse the repository at this point in the history
  • Loading branch information
autobot committed Apr 18, 2023
1 parent a665cac commit b82b9bd
Show file tree
Hide file tree
Showing 1,625 changed files with 109,242 additions and 6,834 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
SQUARE_ENVIRONMENT: sandbox
SQUARE_ACCESS_TOKEN: ${{ secrets.SQUARE_SANDBOX_TOKEN }}

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

strategy:
matrix:
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ All environment variables:
* [Mobile Authorization]
* [OAuth]

### Webhook Subscriptions
* [Webhook Subscriptions]
## Deprecated APIs

The following Square APIs are [deprecated](https://developer.squareup.com/docs/build-basics/api-lifecycle):
Expand Down Expand Up @@ -180,9 +182,10 @@ The following Square APIs are [deprecated](https://developer.squareup.com/docs/b
[Team]: doc/apis/team.md
[Sites]: doc/apis/sites.md
[Snippets]: doc/apis/snippets.md
[Cards]: doc/api/cards.md
[Payouts]: doc/api/payouts.md
[Gift Cards]: doc/api/gift-cards.md
[Gift Card Activities]: doc/api/gift-card-activities.md
[Cards]: doc/apis/cards.md
[Payouts]: doc/apis/payouts.md
[Gift Cards]: doc/apis/gift-cards.md
[Gift Card Activities]: doc/apis/gift-card-activities.md
[Employees]: doc/apis/employees.md
[Transactions]: doc/apis/transactions.md
[Webhook Subscriptions]: doc/api/webhook-subscriptions.md
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "square/square",
"description": "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.",
"version": "25.2.0.20230315",
"version": "26.0.0.20230419",
"type": "library",
"keywords": [
"Square",
Expand All @@ -20,15 +20,15 @@
}
],
"require": {
"php": ">=7.2 <8.2",
"php": "^7.2 || ^8.0",
"ext-json": "*",
"apimatic/unirest-php": "^4.0.0",
"apimatic/core-interfaces": "~0.1.0",
"apimatic/core": "~0.2.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phan/phan": "5.3.1",
"phan/phan": "5.4.2",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5"
},
"autoload": {
Expand Down
13 changes: 6 additions & 7 deletions doc/apis/apple-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ function registerDomain(RegisterDomainRequest $body): ApiResponse
## Example Usage

```php
$body_domainName = 'example.com';
$body = new Models\RegisterDomainRequest(
$body_domainName
);
$body = RegisterDomainRequestBuilder::init(
'example.com'
)->build();

$apiResponse = $applePayApi->registerDomain($body);

Expand All @@ -53,8 +52,8 @@ if ($apiResponse->isSuccess()) {
$errors = $apiResponse->getErrors();
}

// Get more response info...
// $statusCode = $apiResponse->getStatusCode();
// $headers = $apiResponse->getHeaders();
// Getting more response information
var_dump($apiResponse->getStatusCode());
var_dump($apiResponse->getHeaders());
```

18 changes: 9 additions & 9 deletions doc/apis/bank-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ if ($apiResponse->isSuccess()) {
$errors = $apiResponse->getErrors();
}

// Get more response info...
// $statusCode = $apiResponse->getStatusCode();
// $headers = $apiResponse->getHeaders();
// Getting more response information
var_dump($apiResponse->getStatusCode());
var_dump($apiResponse->getHeaders());
```


Expand Down Expand Up @@ -83,9 +83,9 @@ if ($apiResponse->isSuccess()) {
$errors = $apiResponse->getErrors();
}

// Get more response info...
// $statusCode = $apiResponse->getStatusCode();
// $headers = $apiResponse->getHeaders();
// Getting more response information
var_dump($apiResponse->getStatusCode());
var_dump($apiResponse->getHeaders());
```


Expand Down Expand Up @@ -121,8 +121,8 @@ if ($apiResponse->isSuccess()) {
$errors = $apiResponse->getErrors();
}

// Get more response info...
// $statusCode = $apiResponse->getStatusCode();
// $headers = $apiResponse->getHeaders();
// Getting more response information
var_dump($apiResponse->getStatusCode());
var_dump($apiResponse->getHeaders());
```

Loading

0 comments on commit b82b9bd

Please sign in to comment.