Skip to content

Commit

Permalink
Move PaymentResourceBase
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporylie committed Jul 30, 2024
1 parent 8855909 commit 2093285
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/Resource/Checkout/v3/CreateCheckoutSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use zaporylie\Vipps\Model\Checkout\v3\CreateCheckoutSessionRequest;
use zaporylie\Vipps\Model\Checkout\v3\CreateCheckoutSessionResponse;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

/**
Expand Down
4 changes: 1 addition & 3 deletions src/Resource/Checkout/v3/GetCheckoutSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

namespace zaporylie\Vipps\Resource\Checkout\v3;

use zaporylie\Vipps\Model\Checkout\v3\CreateCheckoutSessionRequest;
use zaporylie\Vipps\Model\Checkout\v3\CreateCheckoutSessionResponse;
use zaporylie\Vipps\Model\Checkout\v3\GetCheckoutSessionResponse;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

/**
Expand Down
5 changes: 1 addition & 4 deletions src/Resource/EPayment/v1/CancelPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
namespace zaporylie\Vipps\Resource\EPayment\v1;

use zaporylie\Vipps\Model\EPayment\v1\CancelModificationRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentResponse;
use zaporylie\Vipps\Model\EPayment\v1\PaymentAdjustResponse;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\IdempotencyKeyFactory;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

/**
Expand Down
6 changes: 1 addition & 5 deletions src/Resource/EPayment/v1/CapturePayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@

namespace zaporylie\Vipps\Resource\EPayment\v1;

use zaporylie\Vipps\Model\EPayment\v1\CancelModificationRequest;
use zaporylie\Vipps\Model\EPayment\v1\CaptureModificationRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentResponse;
use zaporylie\Vipps\Model\EPayment\v1\PaymentAdjustResponse;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\IdempotencyKeyFactory;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

/**
Expand Down
3 changes: 1 addition & 2 deletions src/Resource/EPayment/v1/CreatePayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentResponse;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\IdempotencyKeyFactory;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/EPayment/v1/GetPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use zaporylie\Vipps\Model\EPayment\v1\GetPaymentResponse;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

class GetPayment extends PaymentResourceBase
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/EPayment/v1/GetPaymentEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use zaporylie\Vipps\Model\EPayment\v1\EventLog;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

class GetPaymentEvents extends PaymentResourceBase
Expand Down
6 changes: 1 addition & 5 deletions src/Resource/EPayment/v1/RefundPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@

namespace zaporylie\Vipps\Resource\EPayment\v1;

use zaporylie\Vipps\Model\EPayment\v1\CancelModificationRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentRequest;
use zaporylie\Vipps\Model\EPayment\v1\CreatePaymentResponse;
use zaporylie\Vipps\Model\EPayment\v1\PaymentAdjustResponse;
use zaporylie\Vipps\Model\EPayment\v1\RefundModificationRequest;
use zaporylie\Vipps\Resource\HttpMethod;
use zaporylie\Vipps\Resource\IdempotencyKeyFactory;
use zaporylie\Vipps\Resource\Payment\PaymentResourceBase;
use zaporylie\Vipps\Resource\PaymentResourceBase;
use zaporylie\Vipps\VippsInterface;

/**
Expand Down

0 comments on commit 2093285

Please sign in to comment.