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