Skip to content

Commit

Permalink
Merge pull request #50 from cfreear/master
Browse files Browse the repository at this point in the history
Deprecate fetchCharge as per #48
  • Loading branch information
delatbabel committed Jun 1, 2016
2 parents 88badbd + 719ea48 commit cb2d26a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ public function void(array $parameters = array())
}

/**
* @deprecated 2.3.3:3.0.0 duplicate of \Omnipay\Stripe\Gateway::fetchTransaction()
* @see \Omnipay\Stripe\Gateway::fetchTransaction()
* @param array $parameters
*
* @return \Omnipay\Stripe\Message\FetchChargeRequest
*/
public function fetchCharge(array $parameters = array())
Expand Down
4 changes: 3 additions & 1 deletion src/Message/FetchChargeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

/**
* Stripe Fetch Charge Request.
*
*
* @deprecated 2.3.3:3.0.0 functionality provided by \Omnipay\Stripe\Message\FetchTransactionRequest
* @see \Omnipay\Stripe\Message\FetchTransactionRequest
* @link https://stripe.com/docs/api#retrieve_charge
*/
class FetchChargeRequest extends AbstractRequest
Expand Down
4 changes: 3 additions & 1 deletion src/Message/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public function isSuccessful()

/**
* Get the charge reference from the response of FetchChargeRequest.
*
*
* @deprecated 2.3.3:3.0.0 duplicate of \Omnipay\Stripe\Message\Response::getTransactionReference()
* @see \Omnipay\Stripe\Message\Response::getTransactionReference()
* @return array|null
*/
public function getChargeReference()
Expand Down

0 comments on commit cb2d26a

Please sign in to comment.