<?php

declare(strict_types=1);

namespace Paysera\CheckoutSdk\Entity\PaymentLink;

class Purchase
{
    private int $amount;

    public function __construct(int $amount)
    {
        $this->amount = $amount;
    }

    public function getAmount(): int
    {
        return $this->amount;
    }

    public function setAmount(int $amount): self
    {
        $this->amount = $amount;

        return $this;
    }
}
