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.
- Loading branch information
Showing
26 changed files
with
252 additions
and
243 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
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.