-
Notifications
You must be signed in to change notification settings - Fork 15
Url encoded headers #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
4b4e10c
Url encoded headers
aleksanderkakol b6f35a6
fixer
aleksanderkakol f5ee7b9
fixer
aleksanderkakol da2d34e
composer
aleksanderkakol dabd36b
composer
aleksanderkakol db95103
composer
aleksanderkakol 6a2ac74
composer
aleksanderkakol 3a6465e
composer
aleksanderkakol 6625f5a
composer
aleksanderkakol 17328d1
composer
aleksanderkakol 9d8c501
composer
aleksanderkakol c35978b
composer
aleksanderkakol 430ccb8
Blik alias notification
aleksanderkakol de9b461
fixer
aleksanderkakol d0d4960
fixer
aleksanderkakol b8f3a1e
fixer
aleksanderkakol f97bec3
fixer
aleksanderkakol 3c0dea6
CR
aleksanderkakol 2e805ba
CR
aleksanderkakol 6963432
CR
aleksanderkakol 9d0e803
CR
aleksanderkakol 070ec41
fixer
aleksanderkakol b8cbd4d
fixer
aleksanderkakol 1914fb7
fixer
aleksanderkakol b76c27a
Reverting changes based on invalid documentation
KamilBalwierz 1cc9117
code style adherence
KamilBalwierz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,11 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Fields\Notification\BlikAlias; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Field; | ||
|
|
||
| class Event extends Field | ||
| { | ||
| protected $name = __CLASS__; | ||
| protected $type = self::STRING; | ||
| } |
11 changes: 11 additions & 0 deletions
11
src/Model/Fields/Notification/BlikAlias/ExpirationDate.php
This file contains hidden or 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,11 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Fields\Notification\BlikAlias; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Field; | ||
|
|
||
| class ExpirationDate extends Field | ||
| { | ||
| protected $name = __CLASS__; | ||
| protected $type = self::STRING; | ||
| } |
This file contains hidden or 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,11 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Fields\Notification\BlikAlias; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Field; | ||
|
|
||
| class Id extends Field | ||
| { | ||
| protected $name = __CLASS__; | ||
| protected $type = self::INT; | ||
| } |
This file contains hidden or 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,11 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Fields\Notification\BlikAlias; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Field; | ||
|
|
||
| class Type extends Field | ||
| { | ||
| protected $name = __CLASS__; | ||
| protected $type = self::STRING; | ||
| } |
This file contains hidden or 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,11 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Fields\Notification\BlikAlias; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Field; | ||
|
|
||
| class Value extends Field | ||
| { | ||
| protected $name = __CLASS__; | ||
| protected $type = self::STRING; | ||
| } |
This file contains hidden or 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,44 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Objects\NotificationBody; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Notification\BlikAlias\ExpirationDate; | ||
| use Tpay\OpenApi\Model\Fields\Notification\BlikAlias\Type; | ||
| use Tpay\OpenApi\Model\Fields\Notification\BlikAlias\Value; | ||
| use Tpay\OpenApi\Model\Objects\Objects; | ||
|
|
||
| class BlikAliasRegister extends Objects | ||
| { | ||
| const OBJECT_FIELDS = [ | ||
| 'value' => Value::class, | ||
| 'type' => Type::class, | ||
| 'expirationDate' => ExpirationDate::class, | ||
| ]; | ||
|
|
||
| /** @var Value */ | ||
| public $value; | ||
|
|
||
| /** @var Type */ | ||
| public $type; | ||
|
|
||
| /** @var ExpirationDate */ | ||
| public $expirationDate; | ||
|
|
||
| public function getRequiredFields() | ||
| { | ||
| return [ | ||
| $this->value, | ||
| $this->type, | ||
| $this->expirationDate, | ||
| ]; | ||
| } | ||
|
|
||
| public function toArray() | ||
| { | ||
| return [ | ||
| 'value' => $this->value->getValue(), | ||
| 'type' => $this->type->getValue(), | ||
| 'expirationDate' => $this->expirationDate->getValue(), | ||
| ]; | ||
| } | ||
| } |
37 changes: 37 additions & 0 deletions
37
src/Model/Objects/NotificationBody/BlikAliasUnregister.php
This file contains hidden or 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,37 @@ | ||
| <?php | ||
|
|
||
| namespace Tpay\OpenApi\Model\Objects\NotificationBody; | ||
|
|
||
| use Tpay\OpenApi\Model\Fields\Notification\BlikAlias\Type; | ||
| use Tpay\OpenApi\Model\Fields\Notification\BlikAlias\Value; | ||
| use Tpay\OpenApi\Model\Objects\Objects; | ||
|
|
||
| class BlikAliasUnregister extends Objects | ||
| { | ||
| const OBJECT_FIELDS = [ | ||
| 'value' => Value::class, | ||
| 'type' => Type::class, | ||
| ]; | ||
|
|
||
| /** @var Value */ | ||
| public $value; | ||
|
|
||
| /** @var Type */ | ||
| public $type; | ||
|
|
||
| public function getRequiredFields() | ||
| { | ||
| return [ | ||
| $this->value, | ||
| $this->type, | ||
| ]; | ||
| } | ||
|
|
||
| public function toArray() | ||
| { | ||
| return [ | ||
| 'value' => $this->value->getValue(), | ||
| 'type' => $this->type->getValue(), | ||
| ]; | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.