# give/4.16.9/src/Receipt/UpdateReceipt.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 32 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Receipt/UpdateReceipt.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Receipt/UpdateReceipt.php
- Modified: 2021-11-23T23:55:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Receipt/UpdateReceipt.php#L10-L20`.

```php
<?php

namespace Give\Receipt;

/**
 * Abstract class UpdateReceipt
 *
 * @package Give\Receipt
 * @since 2.7.0
 */
abstract class UpdateReceipt
{
    /**
     * @var Receipt
     */
    protected $receipt;

    /**
     * UpdateReceipt constructor.
     *
     * @since 2.7.0
     *
     * @param $receipt
     */
    public function __construct($receipt)
    {
        $this->receipt = $receipt;
    }

    abstract public function apply();
}

```
