Skip to content
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

Implement changes of Saferpay API 1.19 #55

Closed
wants to merge 9 commits into from

Conversation

codesource
Copy link
Contributor

@codesource codesource commented Apr 28, 2022

Resolves: #36

@sprain
Copy link
Contributor

sprain commented Apr 29, 2022

Thank you very much! I will have a look at this asap.

* @var string|null
* @SerializedName("Gender")
*/
private $gender;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible improvement: Add allowed gender values as class constants.
MALE, FEMALE, DIVERSE, COMPANY.

Comment on lines +105 to +108
/**
* @param bool|null $hasAccount
* @return PayerProfile
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method docblocks can be removed everywhere as the code is self-documenting due to type hints.

@sprain
Copy link
Contributor

sprain commented May 3, 2022

Tests fail due coding standards.
Running vendor/bin/php-cs-fixer --no-interaction --diff -v fix lib/ should fix it.

@sprain
Copy link
Contributor

sprain commented May 4, 2022

Continued in #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement changes of Saferpay API 1.19
2 participants