forked from thephpleague/omnipay-stripe
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* XOL-4975 upgrade to omnipay 3 * XOL-4975 fix issue with level3 * XOL-4975 fix travis errors * XOL-4975 fix lint errors
- Loading branch information
Showing
26 changed files
with
255 additions
and
246 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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
before_script: | ||
- composer install -n --dev --prefer-source | ||
- composer install --prefer-dist --no-interaction | ||
|
||
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text |
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
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,36 @@ | ||
<?php | ||
/** | ||
* Stripe Item | ||
*/ | ||
|
||
namespace Omnipay\Stripe; | ||
|
||
use Omnipay\Common\Item; | ||
|
||
/** | ||
* Class StripeItem | ||
* | ||
* @package Omnipay\Stripe | ||
*/ | ||
class StripeItem extends Item | ||
{ | ||
public function getTaxes() | ||
{ | ||
return $this->getParameter('taxes'); | ||
} | ||
|
||
public function setTaxes($value) | ||
{ | ||
$this->setParameter('taxes', $value); | ||
} | ||
|
||
public function getDiscount() | ||
{ | ||
return $this->getParameter('discount'); | ||
} | ||
|
||
public function setDiscount($value) | ||
{ | ||
$this->setParameter('discount', $value); | ||
} | ||
} |
Oops, something went wrong.