Skip to content

Commit

Permalink
refactor Data and PHPUnit test Data
Browse files Browse the repository at this point in the history
  • Loading branch information
remils committed Sep 20, 2019
1 parent 21e5798 commit 0c745ea
Show file tree
Hide file tree
Showing 48 changed files with 455 additions and 1,803 deletions.
24 changes: 24 additions & 0 deletions src/CancelData.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
/**
* Описание https://oplata.tinkoff.ru/landing/develop/documentation/processing_payment
*/

declare(strict_types=1);

namespace SergeyZatulivetrov\TinkoffAcquiring;

use SergeyZatulivetrov\TinkoffAcquiring\Traits\BaseDataWithToken;

/**
* Class CancelData (Отмена платежа)
*
* @property string $TerminalKey
* @property integer $PaymentId
* @property string $IP
* @property integer $Amount
* @property array $Receipt
*/
class CancelData
{
use BaseDataWithToken;
}
24 changes: 24 additions & 0 deletions src/ConfirmData.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
/**
* Описание https://oplata.tinkoff.ru/landing/develop/documentation/processing_payment
*/

declare(strict_types=1);

namespace SergeyZatulivetrov\TinkoffAcquiring;

use SergeyZatulivetrov\TinkoffAcquiring\Traits\BaseDataWithToken;

/**
* Class ConfirmData (Подтверждение платежа)
*
* @property string $TerminalKey
* @property integer $PaymentId
* @property string $IP
* @property integer $Amount
* @property array $Receipt
*/
class ConfirmData
{
use BaseDataWithToken;
}
22 changes: 0 additions & 22 deletions src/Data/CancelData.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/Data/ConfirmData.php

This file was deleted.

21 changes: 0 additions & 21 deletions src/Data/GetStateData.php

This file was deleted.

32 changes: 0 additions & 32 deletions src/Data/InitData.php

This file was deleted.

25 changes: 0 additions & 25 deletions src/Data/ItemsData.php

This file was deleted.

21 changes: 0 additions & 21 deletions src/Data/ReceiptData.php

This file was deleted.

18 changes: 0 additions & 18 deletions src/Data/ResendData.php

This file was deleted.

52 changes: 0 additions & 52 deletions src/Data/Traits/Amount.php

This file was deleted.

35 changes: 0 additions & 35 deletions src/Data/Traits/BaseData.php

This file was deleted.

54 changes: 0 additions & 54 deletions src/Data/Traits/CustomerKey.php

This file was deleted.

Loading

0 comments on commit 0c745ea

Please sign in to comment.