{"action":"created","comment":{"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments/40683691","id":40683691,"diff_hunk":"@@ -79,4 +93,8 @@ public String toString() {\n \n     @Override\n     List<DiscountCodeInfo> getDiscountCodes();\n+\n+    @Nullable\n+    @Override\n+    CustomFields getCustom();","path":"sphere-models/src/main/java/io/sphere/sdk/carts/Cart.java","position":46,"original_position":46,"commit_id":"ab4f1eca868be7cdbd7c0a59c32248f338186b47","original_commit_id":"ab4f1eca868be7cdbd7c0a59c32248f338186b47","user":{"login":"yanns","id":51669,"avatar_url":"https://avatars.githubusercontent.com/u/51669?v=3","gravatar_id":"","url":"https://api.github.com/users/yanns","html_url":"https://github.com/yanns","followers_url":"https://api.github.com/users/yanns/followers","following_url":"https://api.github.com/users/yanns/following{/other_user}","gists_url":"https://api.github.com/users/yanns/gists{/gist_id}","starred_url":"https://api.github.com/users/yanns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanns/subscriptions","organizations_url":"https://api.github.com/users/yanns/orgs","repos_url":"https://api.github.com/users/yanns/repos","events_url":"https://api.github.com/users/yanns/events{/privacy}","received_events_url":"https://api.github.com/users/yanns/received_events","type":"User","site_admin":false},"body":"I know it is kinda weird in the code, but the goal is to have a good json and predicate support:\r\n- json:\r\n```\r\n{\r\n  [...]\r\n  \"custom\": {\r\n    \"fieldA\": \"valueA\"\r\n  }\r\n}\r\n```\r\n\r\nand the predicate `myobject.custom.fieldA = \"valueA\" `","created_at":"2015-09-29T15:07:55Z","updated_at":"2015-09-29T15:07:55Z","html_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/731#discussion_r40683691","pull_request_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731","_links":{"self":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments/40683691"},"html":{"href":"https://github.com/sphereio/sphere-jvm-sdk/pull/731#discussion_r40683691"},"pull_request":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731"}}},"pull_request":{"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731","id":45911465,"html_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/731","diff_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/731.diff","patch_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/731.patch","issue_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/731","number":731,"state":"open","locked":false,"title":"Custom Fields/Types, closes #593, closes #644","user":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-24T15:27:34Z","updated_at":"2015-09-29T15:07:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06e52ec601d801e68b1e70d50ac067d930d6d93b","assignee":{"login":"lauraluiz","id":1917621,"avatar_url":"https://avatars.githubusercontent.com/u/1917621?v=3","gravatar_id":"","url":"https://api.github.com/users/lauraluiz","html_url":"https://github.com/lauraluiz","followers_url":"https://api.github.com/users/lauraluiz/followers","following_url":"https://api.github.com/users/lauraluiz/following{/other_user}","gists_url":"https://api.github.com/users/lauraluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraluiz/subscriptions","organizations_url":"https://api.github.com/users/lauraluiz/orgs","repos_url":"https://api.github.com/users/lauraluiz/repos","events_url":"https://api.github.com/users/lauraluiz/events{/privacy}","received_events_url":"https://api.github.com/users/lauraluiz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones/21","html_url":"https://github.com/sphereio/sphere-jvm-sdk/milestones/1.0.0-M18","labels_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones/21/labels","id":1277650,"number":21,"title":"1.0.0-M18","description":"","creator":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":11,"state":"open","created_at":"2015-08-28T14:43:54Z","updated_at":"2015-09-29T14:59:26Z","due_on":"2015-09-30T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731/commits","review_comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731/comments","review_comment_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/731/comments","statuses_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/ab4f1eca868be7cdbd7c0a59c32248f338186b47","head":{"label":"sphereio:feature/593/custom-fields","ref":"feature/593/custom-fields","sha":"ab4f1eca868be7cdbd7c0a59c32248f338186b47","user":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"repo":{"id":20855247,"name":"sphere-jvm-sdk","full_name":"sphereio/sphere-jvm-sdk","owner":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphereio/sphere-jvm-sdk","description":"The next generation SPHERE.IO client running on the Java virtual machine","fork":false,"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk","forks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/forks","keys_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/teams","hooks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/hooks","issue_events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/events","assignees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/tags","blobs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/languages","stargazers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/stargazers","contributors_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contributors","subscribers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscribers","subscription_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscription","commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/merges","archive_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/downloads","issues_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/releases{/id}","created_at":"2014-06-15T12:46:24Z","updated_at":"2015-09-17T13:51:28Z","pushed_at":"2015-09-29T14:59:37Z","git_url":"git://github.com/sphereio/sphere-jvm-sdk.git","ssh_url":"git@github.com:sphereio/sphere-jvm-sdk.git","clone_url":"https://github.com/sphereio/sphere-jvm-sdk.git","svn_url":"https://github.com/sphereio/sphere-jvm-sdk","homepage":"","size":42225,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":144,"forks":8,"open_issues":144,"watchers":16,"default_branch":"master"}},"base":{"label":"sphereio:master","ref":"master","sha":"e8aea6bf3ac139671555eef0d87ba8c2455bf762","user":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"repo":{"id":20855247,"name":"sphere-jvm-sdk","full_name":"sphereio/sphere-jvm-sdk","owner":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphereio/sphere-jvm-sdk","description":"The next generation SPHERE.IO client running on the Java virtual machine","fork":false,"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk","forks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/forks","keys_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/teams","hooks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/hooks","issue_events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/events","assignees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/tags","blobs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/languages","stargazers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/stargazers","contributors_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contributors","subscribers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscribers","subscription_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscription","commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/merges","archive_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/downloads","issues_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/releases{/id}","created_at":"2014-06-15T12:46:24Z","updated_at":"2015-09-17T13:51:28Z","pushed_at":"2015-09-29T14:59:37Z","git_url":"git://github.com/sphereio/sphere-jvm-sdk.git","ssh_url":"git@github.com:sphereio/sphere-jvm-sdk.git","clone_url":"https://github.com/sphereio/sphere-jvm-sdk.git","svn_url":"https://github.com/sphereio/sphere-jvm-sdk","homepage":"","size":42225,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":144,"forks":8,"open_issues":144,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731"},"html":{"href":"https://github.com/sphereio/sphere-jvm-sdk/pull/731"},"issue":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/731"},"comments":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/731/comments"},"review_comments":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731/comments"},"review_comment":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/731/commits"},"statuses":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/ab4f1eca868be7cdbd7c0a59c32248f338186b47"}}}}