Permalink
Browse files

Change CreditCard to Marchant_Billing_CreditCard

  • Loading branch information...
1 parent b7c5e16 commit f7034a8cad7240df9ca7739fe9cfab17531fbbf6 @akDeveloper akDeveloper committed Aug 28, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/merchant/billing/gateways/Bogus.php
@@ -20,7 +20,7 @@ class Merchant_Billing_Bogus extends Merchant_Billing_Gateway {
protected $homepage_url = 'http://example.com';
protected $display_name = 'Bogus';
- public function authorize($money, CreditCard $creditcard, $options = array()) {
+ public function authorize($money, Merchant_Billing_CreditCard $creditcard, $options = array()) {
switch ($creditcard->number) {
case '1':
return new Response(true, self::SUCCESS_MESSAGE, array('authorized_amount'=>$money), array('test'=>true, 'authorization' => self::AUTHORIZATION ));
@@ -34,7 +34,7 @@ public function authorize($money, CreditCard $creditcard, $options = array()) {
}
}
- public function purchase($money, CreditCard $creditcard, $options = array()) {
+ public function purchase($money, Merchant_Billing_CreditCard $creditcard, $options = array()) {
switch ($creditcard->number) {
case '1':
return new Response(true, self::SUCCESS_MESSAGE, array('paid_amount'=>$money), array('test'=>true));
@@ -90,7 +90,7 @@ public function void($ident, $options = array()) {
}
}
- public function store(CreditCard $creditcard, $options = array()) {
+ public function store(Merchant_Billing_CreditCard $creditcard, $options = array()) {
switch ($creditcard->number) {
case '1':
return new Response(true, self::SUCCESS_MESSAGE, array('billingid' => '1'), array('test' => true, 'authorization' => self::AUTHORIZATION) );

0 comments on commit f7034a8

Please sign in to comment.