{"action":"created","comment":{"url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/comments/172466291","pull_request_review_id":101483974,"id":172466291,"diff_hunk":"@@ -0,0 +1,58 @@\n+<?php\n+/**\n+ * @copyright   Copyright (c) Wizacha\n+ * @license     Proprietary\n+ */\n+declare(strict_types=1);\n+\n+namespace Wizaplace\\SDK\\Basket;\n+\n+use Wizaplace\\SDK\\Exception\\SomeParametersAreInvalid;\n+\n+final class CheckoutWithRedirectUrlCommand extends CheckoutCommand\n+{\n+    /** @var string|null */\n+    private $redirectUrl;\n+\n+    /** @var string|null */\n+    private $cssUrl;\n+\n+    public function getRedirectUrl(): ?string\n+    {\n+        return $this->redirectUrl;\n+    }\n+\n+    public function setRedirectUrl(?string $redirectUrl): void\n+    {\n+        $this->redirectUrl = $redirectUrl;\n+    }\n+\n+    public function getCssUrl(): ?string\n+    {\n+        return $this->cssUrl;\n+    }\n+\n+    public function setCssUrl(?string $cssUrl): void\n+    {\n+        $this->cssUrl = $cssUrl;\n+    }\n+\n+    public function validate(): void","path":"src/Basket/CheckoutWithRedirectUrlCommand.php","position":40,"original_position":40,"commit_id":"5973a5b90cff691d8c7afef472b126cf04232b0f","original_commit_id":"5973a5b90cff691d8c7afef472b126cf04232b0f","user":{"login":"hectorj","id":2427959,"avatar_url":"https://avatars2.githubusercontent.com/u/2427959?v=4","gravatar_id":"","url":"https://api.github.com/users/hectorj","html_url":"https://github.com/hectorj","followers_url":"https://api.github.com/users/hectorj/followers","following_url":"https://api.github.com/users/hectorj/following{/other_user}","gists_url":"https://api.github.com/users/hectorj/gists{/gist_id}","starred_url":"https://api.github.com/users/hectorj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectorj/subscriptions","organizations_url":"https://api.github.com/users/hectorj/orgs","repos_url":"https://api.github.com/users/hectorj/repos","events_url":"https://api.github.com/users/hectorj/events{/privacy}","received_events_url":"https://api.github.com/users/hectorj/received_events","type":"User","site_admin":false},"body":"internal","created_at":"2018-03-06T10:06:35Z","updated_at":"2018-03-06T10:06:35Z","html_url":"https://github.com/wizaplace/wizaplace-php-sdk/pull/281#discussion_r172466291","pull_request_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/comments/172466291"},"html":{"href":"https://github.com/wizaplace/wizaplace-php-sdk/pull/281#discussion_r172466291"},"pull_request":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281"}}},"pull_request":{"url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281","id":173108869,"html_url":"https://github.com/wizaplace/wizaplace-php-sdk/pull/281","diff_url":"https://github.com/wizaplace/wizaplace-php-sdk/pull/281.diff","patch_url":"https://github.com/wizaplace/wizaplace-php-sdk/pull/281.patch","issue_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/281","number":281,"state":"open","locked":false,"title":"Add preauth token","user":{"login":"ngdo-pro","id":22030946,"avatar_url":"https://avatars2.githubusercontent.com/u/22030946?v=4","gravatar_id":"","url":"https://api.github.com/users/ngdo-pro","html_url":"https://github.com/ngdo-pro","followers_url":"https://api.github.com/users/ngdo-pro/followers","following_url":"https://api.github.com/users/ngdo-pro/following{/other_user}","gists_url":"https://api.github.com/users/ngdo-pro/gists{/gist_id}","starred_url":"https://api.github.com/users/ngdo-pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngdo-pro/subscriptions","organizations_url":"https://api.github.com/users/ngdo-pro/orgs","repos_url":"https://api.github.com/users/ngdo-pro/repos","events_url":"https://api.github.com/users/ngdo-pro/events{/privacy}","received_events_url":"https://api.github.com/users/ngdo-pro/received_events","type":"User","site_admin":false},"body":"## Checklist\r\n\r\n- [ ] Changelog updated\r\n\r\nJe n'ai pas encore update le changelog, parce que je pense que le naming est pas top :confused: \r\nAussi, j'ai un doute sur mes interface/abstract/commands (je me demande si `\\Wizaplace\\SDK\\Basket\\CheckoutCommand` serait pas de trop ? )","created_at":"2018-03-06T10:00:47Z","updated_at":"2018-03-06T10:06:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"456df45a0324694646ec7cd467c749e47746e4ec","assignee":{"login":"ngdo-pro","id":22030946,"avatar_url":"https://avatars2.githubusercontent.com/u/22030946?v=4","gravatar_id":"","url":"https://api.github.com/users/ngdo-pro","html_url":"https://github.com/ngdo-pro","followers_url":"https://api.github.com/users/ngdo-pro/followers","following_url":"https://api.github.com/users/ngdo-pro/following{/other_user}","gists_url":"https://api.github.com/users/ngdo-pro/gists{/gist_id}","starred_url":"https://api.github.com/users/ngdo-pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngdo-pro/subscriptions","organizations_url":"https://api.github.com/users/ngdo-pro/orgs","repos_url":"https://api.github.com/users/ngdo-pro/repos","events_url":"https://api.github.com/users/ngdo-pro/events{/privacy}","received_events_url":"https://api.github.com/users/ngdo-pro/received_events","type":"User","site_admin":false},"assignees":[{"login":"ngdo-pro","id":22030946,"avatar_url":"https://avatars2.githubusercontent.com/u/22030946?v=4","gravatar_id":"","url":"https://api.github.com/users/ngdo-pro","html_url":"https://github.com/ngdo-pro","followers_url":"https://api.github.com/users/ngdo-pro/followers","following_url":"https://api.github.com/users/ngdo-pro/following{/other_user}","gists_url":"https://api.github.com/users/ngdo-pro/gists{/gist_id}","starred_url":"https://api.github.com/users/ngdo-pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngdo-pro/subscriptions","organizations_url":"https://api.github.com/users/ngdo-pro/orgs","repos_url":"https://api.github.com/users/ngdo-pro/repos","events_url":"https://api.github.com/users/ngdo-pro/events{/privacy}","received_events_url":"https://api.github.com/users/ngdo-pro/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281/commits","review_comments_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281/comments","review_comment_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/281/comments","statuses_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/statuses/5973a5b90cff691d8c7afef472b126cf04232b0f","head":{"label":"wizaplace:add_preauthToken","ref":"add_preauthToken","sha":"5973a5b90cff691d8c7afef472b126cf04232b0f","user":{"login":"wizaplace","id":23238091,"avatar_url":"https://avatars3.githubusercontent.com/u/23238091?v=4","gravatar_id":"","url":"https://api.github.com/users/wizaplace","html_url":"https://github.com/wizaplace","followers_url":"https://api.github.com/users/wizaplace/followers","following_url":"https://api.github.com/users/wizaplace/following{/other_user}","gists_url":"https://api.github.com/users/wizaplace/gists{/gist_id}","starred_url":"https://api.github.com/users/wizaplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizaplace/subscriptions","organizations_url":"https://api.github.com/users/wizaplace/orgs","repos_url":"https://api.github.com/users/wizaplace/repos","events_url":"https://api.github.com/users/wizaplace/events{/privacy}","received_events_url":"https://api.github.com/users/wizaplace/received_events","type":"Organization","site_admin":false},"repo":{"id":92048718,"name":"wizaplace-php-sdk","full_name":"wizaplace/wizaplace-php-sdk","owner":{"login":"wizaplace","id":23238091,"avatar_url":"https://avatars3.githubusercontent.com/u/23238091?v=4","gravatar_id":"","url":"https://api.github.com/users/wizaplace","html_url":"https://github.com/wizaplace","followers_url":"https://api.github.com/users/wizaplace/followers","following_url":"https://api.github.com/users/wizaplace/following{/other_user}","gists_url":"https://api.github.com/users/wizaplace/gists{/gist_id}","starred_url":"https://api.github.com/users/wizaplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizaplace/subscriptions","organizations_url":"https://api.github.com/users/wizaplace/orgs","repos_url":"https://api.github.com/users/wizaplace/repos","events_url":"https://api.github.com/users/wizaplace/events{/privacy}","received_events_url":"https://api.github.com/users/wizaplace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wizaplace/wizaplace-php-sdk","description":"PHP SDK for the Wizaplace API","fork":false,"url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk","forks_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/forks","keys_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/teams","hooks_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/hooks","issue_events_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/events","assignees_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/tags","blobs_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/languages","stargazers_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/stargazers","contributors_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/contributors","subscribers_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/subscribers","subscription_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/subscription","commits_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/merges","archive_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/downloads","issues_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/labels{/name}","releases_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/deployments","created_at":"2017-05-22T12:00:38Z","updated_at":"2017-12-21T09:12:15Z","pushed_at":"2018-03-06T10:00:47Z","git_url":"git://github.com/wizaplace/wizaplace-php-sdk.git","ssh_url":"git@github.com:wizaplace/wizaplace-php-sdk.git","clone_url":"https://github.com/wizaplace/wizaplace-php-sdk.git","svn_url":"https://github.com/wizaplace/wizaplace-php-sdk","homepage":"https://sandbox.wizaplace.com/api/v1/doc/","size":1424,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"base":{"label":"wizaplace:master","ref":"master","sha":"ca943f71e123810e34ccc1f4a2f9c46b3b109e92","user":{"login":"wizaplace","id":23238091,"avatar_url":"https://avatars3.githubusercontent.com/u/23238091?v=4","gravatar_id":"","url":"https://api.github.com/users/wizaplace","html_url":"https://github.com/wizaplace","followers_url":"https://api.github.com/users/wizaplace/followers","following_url":"https://api.github.com/users/wizaplace/following{/other_user}","gists_url":"https://api.github.com/users/wizaplace/gists{/gist_id}","starred_url":"https://api.github.com/users/wizaplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizaplace/subscriptions","organizations_url":"https://api.github.com/users/wizaplace/orgs","repos_url":"https://api.github.com/users/wizaplace/repos","events_url":"https://api.github.com/users/wizaplace/events{/privacy}","received_events_url":"https://api.github.com/users/wizaplace/received_events","type":"Organization","site_admin":false},"repo":{"id":92048718,"name":"wizaplace-php-sdk","full_name":"wizaplace/wizaplace-php-sdk","owner":{"login":"wizaplace","id":23238091,"avatar_url":"https://avatars3.githubusercontent.com/u/23238091?v=4","gravatar_id":"","url":"https://api.github.com/users/wizaplace","html_url":"https://github.com/wizaplace","followers_url":"https://api.github.com/users/wizaplace/followers","following_url":"https://api.github.com/users/wizaplace/following{/other_user}","gists_url":"https://api.github.com/users/wizaplace/gists{/gist_id}","starred_url":"https://api.github.com/users/wizaplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizaplace/subscriptions","organizations_url":"https://api.github.com/users/wizaplace/orgs","repos_url":"https://api.github.com/users/wizaplace/repos","events_url":"https://api.github.com/users/wizaplace/events{/privacy}","received_events_url":"https://api.github.com/users/wizaplace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wizaplace/wizaplace-php-sdk","description":"PHP SDK for the Wizaplace API","fork":false,"url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk","forks_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/forks","keys_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/teams","hooks_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/hooks","issue_events_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/events","assignees_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/tags","blobs_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/languages","stargazers_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/stargazers","contributors_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/contributors","subscribers_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/subscribers","subscription_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/subscription","commits_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/merges","archive_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/downloads","issues_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/labels{/name}","releases_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/deployments","created_at":"2017-05-22T12:00:38Z","updated_at":"2017-12-21T09:12:15Z","pushed_at":"2018-03-06T10:00:47Z","git_url":"git://github.com/wizaplace/wizaplace-php-sdk.git","ssh_url":"git@github.com:wizaplace/wizaplace-php-sdk.git","clone_url":"https://github.com/wizaplace/wizaplace-php-sdk.git","svn_url":"https://github.com/wizaplace/wizaplace-php-sdk","homepage":"https://sandbox.wizaplace.com/api/v1/doc/","size":1424,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281"},"html":{"href":"https://github.com/wizaplace/wizaplace-php-sdk/pull/281"},"issue":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/281"},"comments":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/wizaplace/wizaplace-php-sdk/statuses/5973a5b90cff691d8c7afef472b126cf04232b0f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hectorj"}}