Helper/Config.php
public function isPaymentOnlyCheckoutEnabled($store = null)
    {
        return $this->getScopeConfig()->isSetFlag(
            self::XML_PATH_PAYMENT_ONLY_CHECKOUT,
            ScopeInterface::SCOPE_STORE,
            $store
        );
    }
public function isPaymentOnlyCheckoutEnabled($store = null)
    {
        return $this->getScopeConfig()->isSetFlag(
            self::XML_PATH_PAYMENT_ONLY_CHECKOUT,
            ScopeInterface::SCOPE_STORE,
            $store
        );
    }
public function isPaymentOnlyCheckoutEnabled ( $ store = null ) { return $ this -> getScopeConfig ( ) -> isSetFlag ( self :: XML_PATH_PAYMENT_ONLY_CHECKOUT , ScopeInterface :: SCOPE_STORE , $ store ) ; }
Get Payment Only Checkout Enabled configuration

@param int|string|Store $store
@return bool
Get Payment Only Checkout Enabled configuration