Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
myagmarsurensedjav committed Aug 17, 2023
1 parent 32e4784 commit d1905d2
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/Actions/CreatePayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use MyagmarsurenSedjav\SimplePayment\Contracts\Results\WithTransactionId;
use MyagmarsurenSedjav\SimplePayment\Exceptions\NothingToPay;
use MyagmarsurenSedjav\SimplePayment\Facades\SimplePayment;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\PendingPayment;

class CreatePayment
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/VerifyPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
use MyagmarsurenSedjav\SimplePayment\Events\PaymentWasMade;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;

class VerifyPayment
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/SimplePayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace MyagmarsurenSedjav\SimplePayment\Facades;

use Illuminate\Support\Facades\Facade;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\PendingPayment;
use MyagmarsurenSedjav\SimplePayment\SimplePaymentManager;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways;
namespace MyagmarsurenSedjav\SimplePayment\Methods;

use MyagmarsurenSedjav\SimplePayment\Actions\CreatePayment;
use MyagmarsurenSedjav\SimplePayment\Actions\VerifyPayment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Golomt;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Golomt;

use Illuminate\Support\Arr;
use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Golomt;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Golomt;

use Illuminate\Http\Client\PendingRequest;
use Illuminate\Support\Facades\Http;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Golomt;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Golomt;

use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;
use MyagmarsurenSedjav\SimplePayment\PendingPayment;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Golomt;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Golomt;

use Carbon\Carbon;
use MyagmarsurenSedjav\SimplePayment\Contracts\Results\ShouldRedirect;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Qpay;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Qpay;

use Illuminate\Support\Arr;
use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Qpay;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Qpay;

use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Qpay;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Qpay;

use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;
use MyagmarsurenSedjav\SimplePayment\PendingPayment;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace MyagmarsurenSedjav\SimplePayment\Gateways\Qpay;
namespace MyagmarsurenSedjav\SimplePayment\Methods\Qpay;

use Illuminate\View\View;
use MyagmarsurenSedjav\SimplePayment\Contracts\Results\ShouldRender;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use MyagmarsurenSedjav\SimplePayment\Contracts\Payable;
use MyagmarsurenSedjav\SimplePayment\Enums\PaymentStatus;
use MyagmarsurenSedjav\SimplePayment\Facades\SimplePayment;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Support\PaymentFactory;

/**
Expand Down
6 changes: 3 additions & 3 deletions src/SimplePaymentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use Closure;
use Illuminate\Support\Manager;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Gateways\Golomt\GolomtGateway;
use MyagmarsurenSedjav\SimplePayment\Gateways\Qpay\QpayGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\Golomt\GolomtGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\Qpay\QpayGateway;

class SimplePaymentManager extends Manager
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Actions/CreatePaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use MyagmarsurenSedjav\SimplePayment\Contracts\Results\WithTransactionId;
use MyagmarsurenSedjav\SimplePayment\Enums\PaymentStatus;
use MyagmarsurenSedjav\SimplePayment\Exceptions\NothingToPay;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;
use MyagmarsurenSedjav\SimplePayment\PendingPayment;
use MyagmarsurenSedjav\SimplePayment\Tests\Support\TestCanBePaidPartially;
Expand Down
2 changes: 1 addition & 1 deletion tests/Actions/VerifyPaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
use MyagmarsurenSedjav\SimplePayment\Enums\PaymentStatus;
use MyagmarsurenSedjav\SimplePayment\Events\PaymentWasMade;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;
use MyagmarsurenSedjav\SimplePayment\Tests\Support\TestPayable;

Expand Down
2 changes: 1 addition & 1 deletion tests/Http/BrowserReturnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
use MyagmarsurenSedjav\SimplePayment\Enums\PaymentStatus;
use MyagmarsurenSedjav\SimplePayment\Facades\SimplePayment;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;

it('should verify and render the result', function () {
Expand Down
2 changes: 1 addition & 1 deletion tests/Http/NotificationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use MyagmarsurenSedjav\SimplePayment\CheckedPayment;
use MyagmarsurenSedjav\SimplePayment\Facades\SimplePayment;
use MyagmarsurenSedjav\SimplePayment\Gateways\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Methods\AbstractGateway;
use MyagmarsurenSedjav\SimplePayment\Payment;

it('should verify the given payment', function () {
Expand Down

0 comments on commit d1905d2

Please sign in to comment.