-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minor improvements in the documentation and trk * Improve documentation about the Response * Improve refund transaction funcitonality * Version bump for stable release * Code optimization
- Loading branch information
1 parent
44ecfab
commit 847ae00
Showing
7 changed files
with
40 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Response for the SumUp Ecommerce SDK for PHP | ||
|
||
## \SumUp\HttpClients\Response | ||
|
||
The `\SumUp\HttpClients\Response` object is the main object that is returned from every successful service call. | ||
|
||
## Instance Methods | ||
|
||
### getHttpResponseCode() | ||
|
||
```php | ||
public function getHttpResponseCode(): int | ||
``` | ||
|
||
Returns the HTTP response code. | ||
|
||
### getBody() | ||
|
||
```php | ||
public function getBody(): mixed | ||
``` | ||
|
||
Returns different object according to the service's response. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters