<?php

namespace KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Swish\Resource\Request;

use KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Swish\Resource\Request\Data\PaymentSwishInterface;
use KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Resource;
/**
 * Swish payment swish data object
 */
class PaymentSwish extends Resource implements PaymentSwishInterface
{
    /**
     * @return bool
     */
    public function isEcomOnlyEnabled()
    {
        return $this->offsetGet(self::ECOM_ONLY_ENABLED);
    }
    /**
     * @param bool $ecomOnlyEnabled
     * @return $this
     */
    public function setEcomOnlyEnabled($ecomOnlyEnabled)
    {
        return $this->offsetSet(self::ECOM_ONLY_ENABLED, $ecomOnlyEnabled);
    }
}
