Skip to content

Commit

Permalink
rename order to payment. first step.
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Apr 2, 2015
1 parent d4ac3ef commit 99dee97
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Model/Order.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php
namespace Payum\Core\Model;

/**
* @deprecated since 0.14.3 use Payment instead
*/
class Order implements OrderInterface
{
/**
Expand Down
2 changes: 2 additions & 0 deletions Model/OrderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
namespace Payum\Core\Model;

/**
* @deprecated since 0.14.3 use PaymentInterface instead
*
* @method array getDetails
*/
interface OrderInterface extends DetailsAggregateInterface, DetailsAwareInterface
Expand Down
6 changes: 6 additions & 0 deletions Model/Payment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
namespace Payum\Core\Model;

class Payment extends Order implements PaymentInterface
{
}
6 changes: 6 additions & 0 deletions Model/PaymentInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
namespace Payum\Core\Model;

interface PaymentInterface extends OrderInterface
{
}

0 comments on commit 99dee97

Please sign in to comment.