DonationReceipt.php
3 years ago
LineItem.php
4 years ago
Receipt.php
3 years ago
Section.php
4 years ago
UpdateReceipt.php
4 years ago
UpdateReceipt.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Receipt; |
| 4 | |
| 5 | /** |
| 6 | * Abstract class UpdateReceipt |
| 7 | * |
| 8 | * @package Give\Receipt |
| 9 | * @since 2.7.0 |
| 10 | */ |
| 11 | abstract class UpdateReceipt |
| 12 | { |
| 13 | /** |
| 14 | * @var Receipt |
| 15 | */ |
| 16 | protected $receipt; |
| 17 | |
| 18 | /** |
| 19 | * UpdateReceipt constructor. |
| 20 | * |
| 21 | * @since 2.7.0 |
| 22 | * |
| 23 | * @param $receipt |
| 24 | */ |
| 25 | public function __construct($receipt) |
| 26 | { |
| 27 | $this->receipt = $receipt; |
| 28 | } |
| 29 | |
| 30 | abstract public function apply(); |
| 31 | } |
| 32 |