-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload Modulo WebJump\BraspagPagador v3.17.1
- Loading branch information
0 parents
commit bcf02e1
Showing
547 changed files
with
59,127 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<IfVersion < 2.4> | ||
order allow,deny | ||
deny from all | ||
</IfVersion> | ||
<IfVersion >= 2.4> | ||
Require all denied | ||
</IfVersion> | ||
|
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,46 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/4/ |
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,36 @@ | ||
# Contributing to Magento 2 code | ||
|
||
Contributions to the Magento 2 codebase are done using the fork & pull model. | ||
This contribution model has contributors maintaining their own copy of the forked codebase (which can easily be synced with the main copy). The forked repository is then used to submit a request to the base repository to “pull” a set of changes (hence the phrase “pull request”). | ||
|
||
Contributions can take the form of new components/features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes, optimizations or just good suggestions. | ||
|
||
The Magento 2 development team will review all issues and contributions submitted by the community of developers in the first in, first out order. During the review we might require clarifications from the contributor. If there is no response from the contributor for two weeks, the issue is closed. | ||
|
||
|
||
## Contribution requirements | ||
|
||
1. Contributions must adhere to [Magento coding standards](http://devdocs.magento.com/guides/v2.0/coding-standards/bk-coding-standards.html). | ||
2. Pull requests (PRs) must be accompanied by a meaningful description of their purpose. Comprehensive descriptions increase the chances of a pull request to be merged quickly and without additional clarification requests. | ||
3. Commits must be accompanied by meaningful commit messages. | ||
4. PRs which include bug fixing, must be accompanied with step-by-step description of how to reproduce the bug. | ||
3. PRs which include new logic or new features must be submitted along with: | ||
* Unit/integration test coverage (we will be releasing more information on writing test coverage in the near future). | ||
* Proposed [documentation](http://devdocs.magento.com) update. Documentation contributions can be submitted [here](https://github.com/magento/devdocs). | ||
4. For large features or changes, please [open an issue](https://github.com/magento/magento2/issues) and discuss first. This may prevent duplicate or unnecessary effort, and it may gain you some additional contributors. | ||
5. All automated tests are passed successfully (all builds on [Travis CI](https://travis-ci.org/magento/magento2) must be green). | ||
|
||
## Contribution process | ||
|
||
If you are a new GitHub user, we recommend that you create your own [free github account](https://github.com/signup/free). By doing that, you will be able to collaborate with the Magento 2 development team, “fork” the Magento 2 project and be able to easily send “pull requests”. | ||
|
||
1. Search current [listed issues](https://github.com/magento/magento2/issues) (open or closed) for similar proposals of intended contribution before starting work on a new contribution. | ||
2. Review the [Contributor License Agreement](https://magento.com/legaldocuments/mca) if this is your first time contributing. | ||
3. Create and test your work. | ||
4. Fork the Magento 2 repository according to [Fork a repository instructions](http://devdocs.magento.com/guides/v2.0/contributor-guide/contributing.html#fork) and when you are ready to send us a pull request – follow [Create a pull request instructions](http://devdocs.magento.com/guides/v2.0/contributor-guide/contributing.html#pull_request). | ||
5. Once your contribution is received, Magento 2 development team will review the contribution and collaborate with you as needed to improve the quality of the contribution. | ||
|
||
## Code of Conduct | ||
|
||
Please note that this project is released with a Contributor Code of Conduct. We expect you to agree to its terms when participating in this project. | ||
The full text is available in the repository [Wiki](https://github.com/magento/magento2/wiki/Magento-Code-of-Conduct). |
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,24 @@ | ||
<!--- Provide a general summary of the issue in the Title above --> | ||
<!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines--> | ||
|
||
### Preconditions | ||
<!--- Provide a more detailed information of environment you use --> | ||
<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. --> | ||
1. | ||
2. | ||
|
||
### Steps to reproduce | ||
<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant --> | ||
1. | ||
2. | ||
3. | ||
|
||
### Expected result | ||
<!--- Tell us what should happen --> | ||
1. | ||
|
||
### Actual result | ||
<!--- Tell us what happens instead --> | ||
1. [Screenshot, logs] | ||
|
||
<!--- (This may be platform independent comment) --> |
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,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,38 @@ | ||
<!--- | ||
Thank you for contributing to Magento 2 Braspag Module. | ||
To help us process this pull request we recommend that you add the following information: | ||
- Summary of the pull request, | ||
- Issue(s) related to the changes made, | ||
- Manual testing scenarios | ||
Fields marked with (*) are required. Please don't remove the template. | ||
--> | ||
|
||
<!--- Please provide a general summary of the Pull Request in the Title above --> | ||
|
||
### Description (*) | ||
<!--- | ||
Please provide a description of the changes proposed in the pull request. | ||
Letting us know what has changed and why it needed changing will help us validate this pull request. | ||
--> | ||
|
||
### Fixed Issues (if relevant) | ||
<!--- | ||
If relevant, please provide a list of fixed issues in the format webjump/magento2-module-braspagador#<issue_number>. | ||
There could be 1 or more issues linked here and it will help us find some more information about the reasoning behind this change. | ||
--> | ||
1. webjump/magento2-module-braspagador#<issue_number>: Issue title | ||
2. ... | ||
|
||
### Manual testing scenarios (*) | ||
<!--- | ||
Please provide a set of unambiguous steps to test the proposed code change. | ||
Giving us manual testing scenarios will help with the processing and validation process. | ||
--> | ||
1. ... | ||
2. ... | ||
|
||
### Contribution checklist (*) | ||
- [ ] Pull request has a meaningful description of its purpose | ||
- [ ] All commits are accompanied by meaningful commit messages | ||
- [ ] All new or changed code is covered with unit/integration tests (if applicable) | ||
- [ ] All automated tests passed successfully (all builds on Travis CI are green) |
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,61 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio | ||
|
||
*.iml | ||
|
||
## Directory-based project format: | ||
.idea/ | ||
# if you remove the above rule, at least ignore the following: | ||
|
||
# User-specific stuff: | ||
# .idea/workspace.xml | ||
# .idea/tasks.xml | ||
# .idea/dictionaries | ||
|
||
# Sensitive or high-churn files: | ||
# .idea/dataSources.ids | ||
# .idea/dataSources.xml | ||
# .idea/sqlDataSources.xml | ||
# .idea/dynamic.xml | ||
# .idea/uiDesigner.xml | ||
|
||
# Gradle: | ||
# .idea/gradle.xml | ||
# .idea/libraries | ||
|
||
# Mongo Explorer plugin: | ||
# .idea/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.ipr | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
|
||
/Test/Acceptance/vendor | ||
/Test/Acceptance/tests/_output | ||
/Test/Acceptance/composer.lock | ||
|
||
### Composer ### | ||
composer.phar | ||
/vendor/ | ||
/composer.lock | ||
/build/ | ||
|
||
Test/output/ | ||
Test/_Coverage |
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 @@ | ||
language: php | ||
|
||
php: | ||
- 7.1 | ||
- 7.2 | ||
|
||
env: | ||
global: | ||
- secure: "B5UNoXlXUHgDmPemSjx3plVayT8tN1TTGB4OHp0furhNucFnVRzS4Yvo45ulD8SjaD/IrDjYe1besl92+5MSEpkkocFs9u2AxlVd6P4UM1bO3VdiIiSneTT37PA4xOkoreVwV0teJ87igIIbTK7AxaXkIk0PBM4ujTs9H+YTCoFgbbaNgku0Aq6TJlzkcLtnxRVInCakKwjW9F6sCqYRYmrTXPL1IqWn5xpG+bQIZ9c5Q0kihMu1gJKng6KVs3NbABLsH/gaGtaUjkOvYrEUUSwahEmXKlFk+Fb2AlW1YzlZwrvIDMHTaYiIwjrcBhFisA20ZXRiaRe4/+neBw9pIHS7kXEs9LzeiAYowkQ9t2tV07P0Etu5Jo60OIl0KyrDxU03wvdF0Jy4hiyDYtdnPfhRITML61hHKbOd9u3cCklSeuXZ/eY+iTu2x9nD2q/OeAs7SbjkYVCT+N/Zc8iZBwRLfQBHy8yYAKs5uK7d4QJ4000na+aQal9TrMJaX4Rx0RhNlEV1pumwJi2PBAknmZPu8q0wukTrfcmdIHZlLbcE44g/k4uEyiRwmb6LsZpe4SFSDN701bkRIWJgwGQkJqsLLY1TLJ2NANLF4RRlW6LclQn5QhrPj4coWnn2DjRDwpdGC6nSY6IrYbizCzqr0mpSFF52tObW5omQ5HSZOJI=" | ||
- secure: "EgaXAnYUkhl2jEQytN9rXdqivoUsdpTathv4Nff6EnWCWNUEKd/uKPTYZoq8QFE4KHfPdEwU1BaDk/TG4calyRJ8Xj46VoOb07M1QqfzJhvx2Jo1aZYno6RI3aGMMlj+JiuhZXRTKZVWiYP3dR/al9WM+3WgqTfjA1SvF3lbu6hCNGjnmkaUdfWjECkrgICDYJHORMTokSE8hI5D8u4Vr/ifXPu2/MP94NF1EjaajDkkcQeihcCzDNmM9gmaxvB77CpmbzDaFyWGU1lCulQKqcgEsb8TbiDcv794wS34Szr31RawshsGBLe3jfIaFyeNDsLtmPklrNalQbmeYMpey6InAhOssWgFdBUwpBE3REBGl+urdcBLaF9gqJGd5DirKgvI/W2to4FtFdMXogUixUNCLLcaUyDVGjGD+q+KLGg8wHY9ZIZN5qwYlZiR37S8DyYpL/PMxjJ6zzzEeYXyA6ufq/i9rKYUbQ3zXbhGRmbstpjo2HIgpJ9/FhFixJLw8AQtuCWO0MTNCxAnAumxriu1OyE6dJFI0i8uD71IQNg1HnzHqpMWV10PF1cBTF+Lyf+PO8z7oOY2mkvHfGohAFU1WszAWQXe0TYp400SsDUGJ/z7mLqz6o8YGJlNmT6TVQcKOkcXmWWx1SgyJDRDQmz/IvpOjjCp3yQf2SZ6tcY=" | ||
- TEST_SUITE=unit | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
install: | ||
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then echo '{\"http-basic\":{\"repo.magento.com\":{\"username\":\"${MAGENTO_USERNAME}\",\"password\":\"${MAGENTO_PASSWORD}\"}}}' > auth.json; fi" | ||
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then composer install --prefer-dist -vvv; fi" | ||
|
||
script: | ||
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then php vendor/bin/phpunit --coverage-clover build/logs/clover.xml --coverage-text; fi" | ||
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then php vendor/bin/coverage-check build/logs/clover.xml 60; fi" |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* @author Webjump Core Team <[email protected]> | ||
* @copyright 2017 Webjump (http://www.webjump.com.br) | ||
* @license http://www.webjump.com.br Copyright | ||
* | ||
* @link http://www.webjump.com.br | ||
*/ | ||
|
||
namespace Webjump\BraspagPagador\Api; | ||
|
||
interface AntiFraudManagerInterface | ||
{ | ||
/** | ||
* @param string $customerId | ||
* @return mixed | ||
*/ | ||
public function getFingerPrintData($customerId); | ||
} |
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,27 @@ | ||
<?php | ||
/** | ||
* @author Webjump Core Team <[email protected]> | ||
* @copyright 2020 Webjump (http://www.webjump.com.br) | ||
* @license http://www.webjump.com.br Copyright | ||
* @link http://www.webjump.com.br | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Webjump\BraspagPagador\Api; | ||
|
||
use Webjump\BraspagPagador\Api\Data\Auth3DS20AddressInformationInterface; | ||
|
||
/** | ||
* Interface Auth3DS20GetAddressInterface | ||
* | ||
* @package Webjump\BraspagPagador\Api | ||
*/ | ||
interface Auth3DS20GetAddressInterface | ||
{ | ||
/** | ||
* @param \Magento\Quote\Api\Data\CartInterface $quote | ||
* @return Auth3DS20AddressInformationInterface | ||
*/ | ||
public function getAddressData(\Magento\Quote\Api\Data\CartInterface $quote): Auth3DS20AddressInformationInterface; | ||
} |
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,27 @@ | ||
<?php | ||
/** | ||
* @author Webjump Core Team <[email protected]> | ||
* @copyright 2020 Webjump (http://www.webjump.com.br) | ||
* @license http://www.webjump.com.br Copyright | ||
* @link http://www.webjump.com.br | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Webjump\BraspagPagador\Api; | ||
|
||
use Webjump\BraspagPagador\Data\Auth3DS20CartInformationInterface; | ||
|
||
/** | ||
* Interface Auth3DS20GetCartInterface | ||
* | ||
* @package Webjump\BraspagPagador\Api | ||
*/ | ||
interface Auth3DS20GetCartInterface | ||
{ | ||
/** | ||
* @param \Magento\Quote\Api\Data\CartInterface $quote | ||
* @return \Webjump\BraspagPagador\Api\Data\Auth3DS20CartInformationInterface[] | ||
*/ | ||
public function getCartData(\Magento\Quote\Api\Data\CartInterface $quote): array; | ||
} |
Oops, something went wrong.