{"action":"created","comment":{"url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/comments/243001775","pull_request_review_id":186653639,"id":243001775,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzAwMTc3NQ==","diff_hunk":"@@ -0,0 +1,320 @@\n+<?php\n+/**\n+ * Bolt magento2 plugin\n+ *\n+ * NOTICE OF LICENSE\n+ *\n+ * This source file is subject to the Open Software License (OSL 3.0)\n+ * that is bundled with this package in the file LICENSE.txt.\n+ * It is also available through the world-wide-web at this URL:\n+ * http://opensource.org/licenses/osl-3.0.php\n+ *\n+ * @category   Bolt\n+ * @package    Bolt_Boltpay\n+ * @copyright  Copyright (c) 2018 Bolt Financial, Inc (https://www.bolt.com)\n+ * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)\n+ */\n+\n+namespace Bolt\\Boltpay\\Helper;\n+\n+use Magento\\Framework\\App\\Helper\\AbstractHelper;\n+use Magento\\Framework\\App\\Helper\\Context;\n+use Magento\\Framework\\App\\ResourceConnection;\n+use Magento\\Framework\\Exception\\LocalizedException;\n+use Magento\\Quote\\Api\\CartRepositoryInterface;\n+use Magento\\Quote\\Model\\Quote;\n+use Bolt\\Boltpay\\Model\\ThirdPartyModuleFactory;\n+use Bolt\\Boltpay\\Helper\\Config as ConfigHelper;\n+\n+/**\n+ * Boltpay Discount helper class\n+ *\n+ * @SuppressWarnings(PHPMD.TooManyFields)\n+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)\n+ */\n+class Discount extends AbstractHelper\n+{\n+    // Discount totals key identifiers\n+    const AMASTY_GIFTCARD = 'amasty_giftcard';\n+    const GIFT_VOUCHER_AFTER_TAX = 'giftvoucheraftertax';\n+    const GIFT_CARD_ACCOUNT = 'giftcardaccount';\n+    const UNIRGY_GIFT_CERT = 'ugiftcert';\n+\n+    /**\n+     * @var ResourceConnection $resource\n+     */\n+    private $resource;\n+\n+    /**\n+     * @var ThirdPartyModuleFactory\n+     */\n+    protected $amastyAccountFactory;\n+\n+    /**\n+     * @var ThirdPartyModuleFactory\n+     */\n+    private $amastyGiftCardManagement;\n+\n+    /**\n+     * @var ThirdPartyModuleFactory\n+     */\n+    protected $amastyQuoteFactory;\n+\n+    /**\n+     * @var ThirdPartyModuleFactory\n+     */\n+    protected $amastyQuoteResource;\n+\n+    /**\n+     * @var ThirdPartyModuleFactory\n+     */\n+    protected $amastyQuoteRepository;\n+\n+    /**\n+     * @var CartRepositoryInterface\n+     */\n+    protected $quoteRepository;\n+\n+    /**\n+     * @var ConfigHelper\n+     */\n+    private $configHelper;\n+\n+    /**\n+     * Discount constructor.\n+     *\n+     * @param Context $context\n+     * @param ResourceConnection $resource\n+     * @param ThirdPartyModuleFactory $amastyAccountFactory\n+     * @param ThirdPartyModuleFactory $amastyGiftCardManagement\n+     * @param ThirdPartyModuleFactory $amastyQuoteFactory\n+     * @param ThirdPartyModuleFactory $amastyQuoteResource\n+     * @param ThirdPartyModuleFactory $amastyQuoteRepository\n+     * @param CartRepositoryInterface $quoteRepository\n+     * @param ConfigHelper $configHelper\n+     *\n+     * @codeCoverageIgnore\n+     */\n+    public function __construct(\n+        Context $context,\n+        ResourceConnection $resource,\n+        ThirdPartyModuleFactory $amastyAccountFactory,\n+        ThirdPartyModuleFactory $amastyGiftCardManagement,\n+        ThirdPartyModuleFactory $amastyQuoteFactory,\n+        ThirdPartyModuleFactory $amastyQuoteResource,\n+        ThirdPartyModuleFactory $amastyQuoteRepository,\n+        CartRepositoryInterface $quoteRepository,\n+        ConfigHelper $configHelper\n+    ) {\n+        parent::__construct($context);\n+        $this->resource = $resource;\n+        $this->amastyAccountFactory = $amastyAccountFactory;\n+        $this->amastyGiftCardManagement = $amastyGiftCardManagement;\n+        $this->amastyQuoteFactory = $amastyQuoteFactory;\n+        $this->amastyQuoteResource = $amastyQuoteResource;\n+        $this->amastyQuoteRepository = $amastyQuoteRepository;\n+        $this->quoteRepository = $quoteRepository;\n+        $this->configHelper = $configHelper;\n+    }\n+\n+    /**\n+     * Collect and update quote totals.\n+     * @param Quote $quote\n+     */\n+    protected function updateTotals(Quote $quote)\n+    {\n+        $quote->getShippingAddress()->setCollectShippingRates(true);\n+        $quote->setTotalsCollectedFlag(false);\n+        $quote->collectTotals();\n+        $quote->setDataChanges(true);\n+        $this->quoteRepository->save($quote);\n+    }\n+\n+    /**\n+     * Load Amasty Gift Card account object.\n+     * @param string $code Gift Card coupon code\n+     * @return \\Amasty\\GiftCard\\Model\\Account|null\n+     */\n+    public function loadAmastyGiftCard($code)\n+    {\n+        try {\n+            $accountModel = $this->amastyAccountFactory->getInstance()\n+                ->create()\n+                ->loadByCode($code);\n+            return $accountModel && $accountModel->getId() ? $accountModel : null;\n+        } catch (\\Exception $e) {\n+            return null;\n+        }\n+    }\n+\n+    /**\n+     * Apply Amasty Gift Card coupon to cart\n+     *\n+     * @param string $code Gift Card coupon code\n+     * @param \\Amasty\\GiftCard\\Model\\Account $accountModel\n+     * @param Quote $quote\n+     * @return float\n+     * @throws LocalizedException\n+     */\n+    public function applyAmastyGiftCard($code, $accountModel, $quote)\n+    {\n+        // Get current gift card balance before applying it to the quote\n+        // in case \"fixed_amount\" / \"pay for everything\" discount type is used\n+        $giftAmount = $accountModel->getCurrentValue();\n+\n+        $quoteId = $quote->getId();\n+\n+        $isValid = $this->amastyGiftCardManagement->getInstance()->validateCode($quote, $code);\n+\n+        if (!$isValid) {\n+            throw new LocalizedException(__('Coupon with specified code \"%1\" is not valid.', $code));\n+        }\n+\n+        if ($accountModel->canApplyCardForQuote($quote)) {\n+            $quoteGiftCard = $this->amastyQuoteFactory->getInstance()->create();\n+            $this->amastyQuoteResource->getInstance()->load($quoteGiftCard, $quoteId, 'quote_id');","path":"Helper/Discount.php","position":175,"original_position":175,"commit_id":"348a55611ac527bd77cbd6e13c4504a2ce9af347","original_commit_id":"348a55611ac527bd77cbd6e13c4504a2ce9af347","user":{"login":"YevhenShBolt","id":38316221,"node_id":"MDQ6VXNlcjM4MzE2MjIx","avatar_url":"https://avatars0.githubusercontent.com/u/38316221?v=4","gravatar_id":"","url":"https://api.github.com/users/YevhenShBolt","html_url":"https://github.com/YevhenShBolt","followers_url":"https://api.github.com/users/YevhenShBolt/followers","following_url":"https://api.github.com/users/YevhenShBolt/following{/other_user}","gists_url":"https://api.github.com/users/YevhenShBolt/gists{/gist_id}","starred_url":"https://api.github.com/users/YevhenShBolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YevhenShBolt/subscriptions","organizations_url":"https://api.github.com/users/YevhenShBolt/orgs","repos_url":"https://api.github.com/users/YevhenShBolt/repos","events_url":"https://api.github.com/users/YevhenShBolt/events{/privacy}","received_events_url":"https://api.github.com/users/YevhenShBolt/received_events","type":"User","site_admin":false},"body":"Can you clarify what exactly load here?\r\nMaybe I'm wrong (i do not have current module underhand) but it seems to me that it is extra load/prepare for/from Amasty module.","created_at":"2018-12-19T17:13:20Z","updated_at":"2018-12-19T17:13:30Z","html_url":"https://github.com/BoltApp/bolt-magento2/pull/173#discussion_r243001775","pull_request_url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/comments/243001775"},"html":{"href":"https://github.com/BoltApp/bolt-magento2/pull/173#discussion_r243001775"},"pull_request":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173","id":239883746,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5ODgzNzQ2","html_url":"https://github.com/BoltApp/bolt-magento2/pull/173","diff_url":"https://github.com/BoltApp/bolt-magento2/pull/173.diff","patch_url":"https://github.com/BoltApp/bolt-magento2/pull/173.patch","issue_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/173","number":173,"state":"open","locked":false,"title":"Amasty gift card","user":{"login":"danac-gs","id":37150717,"node_id":"MDQ6VXNlcjM3MTUwNzE3","avatar_url":"https://avatars1.githubusercontent.com/u/37150717?v=4","gravatar_id":"","url":"https://api.github.com/users/danac-gs","html_url":"https://github.com/danac-gs","followers_url":"https://api.github.com/users/danac-gs/followers","following_url":"https://api.github.com/users/danac-gs/following{/other_user}","gists_url":"https://api.github.com/users/danac-gs/gists{/gist_id}","starred_url":"https://api.github.com/users/danac-gs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danac-gs/subscriptions","organizations_url":"https://api.github.com/users/danac-gs/orgs","repos_url":"https://api.github.com/users/danac-gs/repos","events_url":"https://api.github.com/users/danac-gs/events{/privacy}","received_events_url":"https://api.github.com/users/danac-gs/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-19T15:50:05Z","updated_at":"2018-12-19T17:13:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30a5d63e8dccab1bc9871e5eeea314a27565d234","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mccottry","id":973856,"node_id":"MDQ6VXNlcjk3Mzg1Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/973856?v=4","gravatar_id":"","url":"https://api.github.com/users/mccottry","html_url":"https://github.com/mccottry","followers_url":"https://api.github.com/users/mccottry/followers","following_url":"https://api.github.com/users/mccottry/following{/other_user}","gists_url":"https://api.github.com/users/mccottry/gists{/gist_id}","starred_url":"https://api.github.com/users/mccottry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccottry/subscriptions","organizations_url":"https://api.github.com/users/mccottry/orgs","repos_url":"https://api.github.com/users/mccottry/repos","events_url":"https://api.github.com/users/mccottry/events{/privacy}","received_events_url":"https://api.github.com/users/mccottry/received_events","type":"User","site_admin":false},{"login":"daisy1754","id":980077,"node_id":"MDQ6VXNlcjk4MDA3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/980077?v=4","gravatar_id":"","url":"https://api.github.com/users/daisy1754","html_url":"https://github.com/daisy1754","followers_url":"https://api.github.com/users/daisy1754/followers","following_url":"https://api.github.com/users/daisy1754/following{/other_user}","gists_url":"https://api.github.com/users/daisy1754/gists{/gist_id}","starred_url":"https://api.github.com/users/daisy1754/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daisy1754/subscriptions","organizations_url":"https://api.github.com/users/daisy1754/orgs","repos_url":"https://api.github.com/users/daisy1754/repos","events_url":"https://api.github.com/users/daisy1754/events{/privacy}","received_events_url":"https://api.github.com/users/daisy1754/received_events","type":"User","site_admin":false},{"login":"johnmccombs1","id":2002287,"node_id":"MDQ6VXNlcjIwMDIyODc=","avatar_url":"https://avatars3.githubusercontent.com/u/2002287?v=4","gravatar_id":"","url":"https://api.github.com/users/johnmccombs1","html_url":"https://github.com/johnmccombs1","followers_url":"https://api.github.com/users/johnmccombs1/followers","following_url":"https://api.github.com/users/johnmccombs1/following{/other_user}","gists_url":"https://api.github.com/users/johnmccombs1/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmccombs1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmccombs1/subscriptions","organizations_url":"https://api.github.com/users/johnmccombs1/orgs","repos_url":"https://api.github.com/users/johnmccombs1/repos","events_url":"https://api.github.com/users/johnmccombs1/events{/privacy}","received_events_url":"https://api.github.com/users/johnmccombs1/received_events","type":"User","site_admin":false},{"login":"dumega","id":3198527,"node_id":"MDQ6VXNlcjMxOTg1Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/3198527?v=4","gravatar_id":"","url":"https://api.github.com/users/dumega","html_url":"https://github.com/dumega","followers_url":"https://api.github.com/users/dumega/followers","following_url":"https://api.github.com/users/dumega/following{/other_user}","gists_url":"https://api.github.com/users/dumega/gists{/gist_id}","starred_url":"https://api.github.com/users/dumega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumega/subscriptions","organizations_url":"https://api.github.com/users/dumega/orgs","repos_url":"https://api.github.com/users/dumega/repos","events_url":"https://api.github.com/users/dumega/events{/privacy}","received_events_url":"https://api.github.com/users/dumega/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":867361027,"node_id":"MDU6TGFiZWw4NjczNjEwMjc=","url":"https://api.github.com/repos/BoltApp/bolt-magento2/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173/commits","review_comments_url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173/comments","review_comment_url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/173/comments","statuses_url":"https://api.github.com/repos/BoltApp/bolt-magento2/statuses/348a55611ac527bd77cbd6e13c4504a2ce9af347","head":{"label":"BoltApp:amasty-gift-card","ref":"amasty-gift-card","sha":"348a55611ac527bd77cbd6e13c4504a2ce9af347","user":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"repo":{"id":125257411,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUyNTc0MTE=","name":"bolt-magento2","full_name":"BoltApp/bolt-magento2","private":false,"owner":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BoltApp/bolt-magento2","description":"Bolt plugin for magento2","fork":false,"url":"https://api.github.com/repos/BoltApp/bolt-magento2","forks_url":"https://api.github.com/repos/BoltApp/bolt-magento2/forks","keys_url":"https://api.github.com/repos/BoltApp/bolt-magento2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoltApp/bolt-magento2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoltApp/bolt-magento2/teams","hooks_url":"https://api.github.com/repos/BoltApp/bolt-magento2/hooks","issue_events_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/events{/number}","events_url":"https://api.github.com/repos/BoltApp/bolt-magento2/events","assignees_url":"https://api.github.com/repos/BoltApp/bolt-magento2/assignees{/user}","branches_url":"https://api.github.com/repos/BoltApp/bolt-magento2/branches{/branch}","tags_url":"https://api.github.com/repos/BoltApp/bolt-magento2/tags","blobs_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoltApp/bolt-magento2/statuses/{sha}","languages_url":"https://api.github.com/repos/BoltApp/bolt-magento2/languages","stargazers_url":"https://api.github.com/repos/BoltApp/bolt-magento2/stargazers","contributors_url":"https://api.github.com/repos/BoltApp/bolt-magento2/contributors","subscribers_url":"https://api.github.com/repos/BoltApp/bolt-magento2/subscribers","subscription_url":"https://api.github.com/repos/BoltApp/bolt-magento2/subscription","commits_url":"https://api.github.com/repos/BoltApp/bolt-magento2/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoltApp/bolt-magento2/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoltApp/bolt-magento2/contents/{+path}","compare_url":"https://api.github.com/repos/BoltApp/bolt-magento2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoltApp/bolt-magento2/merges","archive_url":"https://api.github.com/repos/BoltApp/bolt-magento2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoltApp/bolt-magento2/downloads","issues_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues{/number}","pulls_url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls{/number}","milestones_url":"https://api.github.com/repos/BoltApp/bolt-magento2/milestones{/number}","notifications_url":"https://api.github.com/repos/BoltApp/bolt-magento2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoltApp/bolt-magento2/labels{/name}","releases_url":"https://api.github.com/repos/BoltApp/bolt-magento2/releases{/id}","deployments_url":"https://api.github.com/repos/BoltApp/bolt-magento2/deployments","created_at":"2018-03-14T18:34:24Z","updated_at":"2018-12-14T21:34:29Z","pushed_at":"2018-12-19T16:57:20Z","git_url":"git://github.com/BoltApp/bolt-magento2.git","ssh_url":"git@github.com:BoltApp/bolt-magento2.git","clone_url":"https://github.com/BoltApp/bolt-magento2.git","svn_url":"https://github.com/BoltApp/bolt-magento2","homepage":null,"size":1009,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"osl-3.0","name":"Open Software License 3.0","spdx_id":"OSL-3.0","url":"https://api.github.com/licenses/osl-3.0","node_id":"MDc6TGljZW5zZTE2"},"forks":4,"open_issues":4,"watchers":2,"default_branch":"develop"}},"base":{"label":"BoltApp:develop","ref":"develop","sha":"811c5c612f02a42489846685b95c3ea664f4a79b","user":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"repo":{"id":125257411,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUyNTc0MTE=","name":"bolt-magento2","full_name":"BoltApp/bolt-magento2","private":false,"owner":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BoltApp/bolt-magento2","description":"Bolt plugin for magento2","fork":false,"url":"https://api.github.com/repos/BoltApp/bolt-magento2","forks_url":"https://api.github.com/repos/BoltApp/bolt-magento2/forks","keys_url":"https://api.github.com/repos/BoltApp/bolt-magento2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoltApp/bolt-magento2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoltApp/bolt-magento2/teams","hooks_url":"https://api.github.com/repos/BoltApp/bolt-magento2/hooks","issue_events_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/events{/number}","events_url":"https://api.github.com/repos/BoltApp/bolt-magento2/events","assignees_url":"https://api.github.com/repos/BoltApp/bolt-magento2/assignees{/user}","branches_url":"https://api.github.com/repos/BoltApp/bolt-magento2/branches{/branch}","tags_url":"https://api.github.com/repos/BoltApp/bolt-magento2/tags","blobs_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoltApp/bolt-magento2/statuses/{sha}","languages_url":"https://api.github.com/repos/BoltApp/bolt-magento2/languages","stargazers_url":"https://api.github.com/repos/BoltApp/bolt-magento2/stargazers","contributors_url":"https://api.github.com/repos/BoltApp/bolt-magento2/contributors","subscribers_url":"https://api.github.com/repos/BoltApp/bolt-magento2/subscribers","subscription_url":"https://api.github.com/repos/BoltApp/bolt-magento2/subscription","commits_url":"https://api.github.com/repos/BoltApp/bolt-magento2/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoltApp/bolt-magento2/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoltApp/bolt-magento2/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoltApp/bolt-magento2/contents/{+path}","compare_url":"https://api.github.com/repos/BoltApp/bolt-magento2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoltApp/bolt-magento2/merges","archive_url":"https://api.github.com/repos/BoltApp/bolt-magento2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoltApp/bolt-magento2/downloads","issues_url":"https://api.github.com/repos/BoltApp/bolt-magento2/issues{/number}","pulls_url":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls{/number}","milestones_url":"https://api.github.com/repos/BoltApp/bolt-magento2/milestones{/number}","notifications_url":"https://api.github.com/repos/BoltApp/bolt-magento2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoltApp/bolt-magento2/labels{/name}","releases_url":"https://api.github.com/repos/BoltApp/bolt-magento2/releases{/id}","deployments_url":"https://api.github.com/repos/BoltApp/bolt-magento2/deployments","created_at":"2018-03-14T18:34:24Z","updated_at":"2018-12-14T21:34:29Z","pushed_at":"2018-12-19T16:57:20Z","git_url":"git://github.com/BoltApp/bolt-magento2.git","ssh_url":"git@github.com:BoltApp/bolt-magento2.git","clone_url":"https://github.com/BoltApp/bolt-magento2.git","svn_url":"https://github.com/BoltApp/bolt-magento2","homepage":null,"size":1009,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"osl-3.0","name":"Open Software License 3.0","spdx_id":"OSL-3.0","url":"https://api.github.com/licenses/osl-3.0","node_id":"MDc6TGljZW5zZTE2"},"forks":4,"open_issues":4,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173"},"html":{"href":"https://github.com/BoltApp/bolt-magento2/pull/173"},"issue":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/173"},"comments":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/BoltApp/bolt-magento2/statuses/348a55611ac527bd77cbd6e13c4504a2ce9af347"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"YevhenShBolt"}}