{"action":"created","comment":{"url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments/72451904","id":72451904,"diff_hunk":"@@ -20,10 +20,13 @@ properties:\n     description: The customer IP\n     type: string\n     format: ipv4\n-  defaultCardId:\n-    description: The customer default card ID\n-    allOf:\n-      - $ref: \"#/definitions/ResourceId\"\n+  defaultPaymentInstrument:\n+    description: The customer's default payment instrument\n+    type: object\n+    enum:","path":"spec/definitions/Customer.yaml","position":11,"original_position":11,"commit_id":"096aef54de4aa0b3947ec28c5a43d6740e9865d8","original_commit_id":"096aef54de4aa0b3947ec28c5a43d6740e9865d8","user":{"login":"slavcodev","id":757721,"avatar_url":"https://avatars.githubusercontent.com/u/757721?v=3","gravatar_id":"","url":"https://api.github.com/users/slavcodev","html_url":"https://github.com/slavcodev","followers_url":"https://api.github.com/users/slavcodev/followers","following_url":"https://api.github.com/users/slavcodev/following{/other_user}","gists_url":"https://api.github.com/users/slavcodev/gists{/gist_id}","starred_url":"https://api.github.com/users/slavcodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavcodev/subscriptions","organizations_url":"https://api.github.com/users/slavcodev/orgs","repos_url":"https://api.github.com/users/slavcodev/repos","events_url":"https://api.github.com/users/slavcodev/events{/privacy}","received_events_url":"https://api.github.com/users/slavcodev/received_events","type":"User","site_admin":false},"body":"Hmm, interesting variant w/o discriminator 👍 ","created_at":"2016-07-27T14:39:58Z","updated_at":"2016-07-27T14:39:58Z","html_url":"https://github.com/Rebilly/RebillyAPI/pull/82#discussion_r72451904","pull_request_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82","_links":{"self":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments/72451904"},"html":{"href":"https://github.com/Rebilly/RebillyAPI/pull/82#discussion_r72451904"},"pull_request":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82","id":78660521,"html_url":"https://github.com/Rebilly/RebillyAPI/pull/82","diff_url":"https://github.com/Rebilly/RebillyAPI/pull/82.diff","patch_url":"https://github.com/Rebilly/RebillyAPI/pull/82.patch","issue_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/82","number":82,"state":"open","locked":false,"title":"Adds defaultPaymentInstrumentId and method to customer (GWY-4262)","user":{"login":"maxyengine","id":2451073,"avatar_url":"https://avatars.githubusercontent.com/u/2451073?v=3","gravatar_id":"","url":"https://api.github.com/users/maxyengine","html_url":"https://github.com/maxyengine","followers_url":"https://api.github.com/users/maxyengine/followers","following_url":"https://api.github.com/users/maxyengine/following{/other_user}","gists_url":"https://api.github.com/users/maxyengine/gists{/gist_id}","starred_url":"https://api.github.com/users/maxyengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxyengine/subscriptions","organizations_url":"https://api.github.com/users/maxyengine/orgs","repos_url":"https://api.github.com/users/maxyengine/repos","events_url":"https://api.github.com/users/maxyengine/events{/privacy}","received_events_url":"https://api.github.com/users/maxyengine/received_events","type":"User","site_admin":false},"body":"Resolves: GWY-4262","created_at":"2016-07-25T10:43:53Z","updated_at":"2016-07-27T14:39:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c1847831d7ccdb7ecc63504e73adb96dbf01b24","assignee":{"login":"maxyengine","id":2451073,"avatar_url":"https://avatars.githubusercontent.com/u/2451073?v=3","gravatar_id":"","url":"https://api.github.com/users/maxyengine","html_url":"https://github.com/maxyengine","followers_url":"https://api.github.com/users/maxyengine/followers","following_url":"https://api.github.com/users/maxyengine/following{/other_user}","gists_url":"https://api.github.com/users/maxyengine/gists{/gist_id}","starred_url":"https://api.github.com/users/maxyengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxyengine/subscriptions","organizations_url":"https://api.github.com/users/maxyengine/orgs","repos_url":"https://api.github.com/users/maxyengine/repos","events_url":"https://api.github.com/users/maxyengine/events{/privacy}","received_events_url":"https://api.github.com/users/maxyengine/received_events","type":"User","site_admin":false},"assignees":[{"login":"maxyengine","id":2451073,"avatar_url":"https://avatars.githubusercontent.com/u/2451073?v=3","gravatar_id":"","url":"https://api.github.com/users/maxyengine","html_url":"https://github.com/maxyengine","followers_url":"https://api.github.com/users/maxyengine/followers","following_url":"https://api.github.com/users/maxyengine/following{/other_user}","gists_url":"https://api.github.com/users/maxyengine/gists{/gist_id}","starred_url":"https://api.github.com/users/maxyengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxyengine/subscriptions","organizations_url":"https://api.github.com/users/maxyengine/orgs","repos_url":"https://api.github.com/users/maxyengine/repos","events_url":"https://api.github.com/users/maxyengine/events{/privacy}","received_events_url":"https://api.github.com/users/maxyengine/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82/commits","review_comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82/comments","review_comment_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/82/comments","statuses_url":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/096aef54de4aa0b3947ec28c5a43d6740e9865d8","head":{"label":"maxyengine:GWY-4262","ref":"GWY-4262","sha":"096aef54de4aa0b3947ec28c5a43d6740e9865d8","user":{"login":"maxyengine","id":2451073,"avatar_url":"https://avatars.githubusercontent.com/u/2451073?v=3","gravatar_id":"","url":"https://api.github.com/users/maxyengine","html_url":"https://github.com/maxyengine","followers_url":"https://api.github.com/users/maxyengine/followers","following_url":"https://api.github.com/users/maxyengine/following{/other_user}","gists_url":"https://api.github.com/users/maxyengine/gists{/gist_id}","starred_url":"https://api.github.com/users/maxyengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxyengine/subscriptions","organizations_url":"https://api.github.com/users/maxyengine/orgs","repos_url":"https://api.github.com/users/maxyengine/repos","events_url":"https://api.github.com/users/maxyengine/events{/privacy}","received_events_url":"https://api.github.com/users/maxyengine/received_events","type":"User","site_admin":false},"repo":{"id":53435743,"name":"RebillyAPI","full_name":"maxyengine/RebillyAPI","owner":{"login":"maxyengine","id":2451073,"avatar_url":"https://avatars.githubusercontent.com/u/2451073?v=3","gravatar_id":"","url":"https://api.github.com/users/maxyengine","html_url":"https://github.com/maxyengine","followers_url":"https://api.github.com/users/maxyengine/followers","following_url":"https://api.github.com/users/maxyengine/following{/other_user}","gists_url":"https://api.github.com/users/maxyengine/gists{/gist_id}","starred_url":"https://api.github.com/users/maxyengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxyengine/subscriptions","organizations_url":"https://api.github.com/users/maxyengine/orgs","repos_url":"https://api.github.com/users/maxyengine/repos","events_url":"https://api.github.com/users/maxyengine/events{/privacy}","received_events_url":"https://api.github.com/users/maxyengine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxyengine/RebillyAPI","description":"Rebilly REST API Specifications","fork":true,"url":"https://api.github.com/repos/maxyengine/RebillyAPI","forks_url":"https://api.github.com/repos/maxyengine/RebillyAPI/forks","keys_url":"https://api.github.com/repos/maxyengine/RebillyAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxyengine/RebillyAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxyengine/RebillyAPI/teams","hooks_url":"https://api.github.com/repos/maxyengine/RebillyAPI/hooks","issue_events_url":"https://api.github.com/repos/maxyengine/RebillyAPI/issues/events{/number}","events_url":"https://api.github.com/repos/maxyengine/RebillyAPI/events","assignees_url":"https://api.github.com/repos/maxyengine/RebillyAPI/assignees{/user}","branches_url":"https://api.github.com/repos/maxyengine/RebillyAPI/branches{/branch}","tags_url":"https://api.github.com/repos/maxyengine/RebillyAPI/tags","blobs_url":"https://api.github.com/repos/maxyengine/RebillyAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxyengine/RebillyAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxyengine/RebillyAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxyengine/RebillyAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxyengine/RebillyAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/maxyengine/RebillyAPI/languages","stargazers_url":"https://api.github.com/repos/maxyengine/RebillyAPI/stargazers","contributors_url":"https://api.github.com/repos/maxyengine/RebillyAPI/contributors","subscribers_url":"https://api.github.com/repos/maxyengine/RebillyAPI/subscribers","subscription_url":"https://api.github.com/repos/maxyengine/RebillyAPI/subscription","commits_url":"https://api.github.com/repos/maxyengine/RebillyAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxyengine/RebillyAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxyengine/RebillyAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxyengine/RebillyAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxyengine/RebillyAPI/contents/{+path}","compare_url":"https://api.github.com/repos/maxyengine/RebillyAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxyengine/RebillyAPI/merges","archive_url":"https://api.github.com/repos/maxyengine/RebillyAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxyengine/RebillyAPI/downloads","issues_url":"https://api.github.com/repos/maxyengine/RebillyAPI/issues{/number}","pulls_url":"https://api.github.com/repos/maxyengine/RebillyAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/maxyengine/RebillyAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/maxyengine/RebillyAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxyengine/RebillyAPI/labels{/name}","releases_url":"https://api.github.com/repos/maxyengine/RebillyAPI/releases{/id}","deployments_url":"https://api.github.com/repos/maxyengine/RebillyAPI/deployments","created_at":"2016-03-08T18:35:28Z","updated_at":"2016-03-08T18:35:30Z","pushed_at":"2016-07-27T14:17:11Z","git_url":"git://github.com/maxyengine/RebillyAPI.git","ssh_url":"git@github.com:maxyengine/RebillyAPI.git","clone_url":"https://github.com/maxyengine/RebillyAPI.git","svn_url":"https://github.com/maxyengine/RebillyAPI","homepage":"http://rebilly.github.io/RebillyAPI/","size":1716,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Rebilly:master","ref":"master","sha":"52477ef6fecf8eef552907c3b287ff9084cfab5e","user":{"login":"Rebilly","id":6365848,"avatar_url":"https://avatars.githubusercontent.com/u/6365848?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"repo":{"id":52811415,"name":"RebillyAPI","full_name":"Rebilly/RebillyAPI","owner":{"login":"Rebilly","id":6365848,"avatar_url":"https://avatars.githubusercontent.com/u/6365848?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebilly/RebillyAPI","description":"Rebilly REST API Specifications","fork":false,"url":"https://api.github.com/repos/Rebilly/RebillyAPI","forks_url":"https://api.github.com/repos/Rebilly/RebillyAPI/forks","keys_url":"https://api.github.com/repos/Rebilly/RebillyAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebilly/RebillyAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebilly/RebillyAPI/teams","hooks_url":"https://api.github.com/repos/Rebilly/RebillyAPI/hooks","issue_events_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/events{/number}","events_url":"https://api.github.com/repos/Rebilly/RebillyAPI/events","assignees_url":"https://api.github.com/repos/Rebilly/RebillyAPI/assignees{/user}","branches_url":"https://api.github.com/repos/Rebilly/RebillyAPI/branches{/branch}","tags_url":"https://api.github.com/repos/Rebilly/RebillyAPI/tags","blobs_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebilly/RebillyAPI/languages","stargazers_url":"https://api.github.com/repos/Rebilly/RebillyAPI/stargazers","contributors_url":"https://api.github.com/repos/Rebilly/RebillyAPI/contributors","subscribers_url":"https://api.github.com/repos/Rebilly/RebillyAPI/subscribers","subscription_url":"https://api.github.com/repos/Rebilly/RebillyAPI/subscription","commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebilly/RebillyAPI/contents/{+path}","compare_url":"https://api.github.com/repos/Rebilly/RebillyAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebilly/RebillyAPI/merges","archive_url":"https://api.github.com/repos/Rebilly/RebillyAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebilly/RebillyAPI/downloads","issues_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues{/number}","pulls_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebilly/RebillyAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebilly/RebillyAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebilly/RebillyAPI/labels{/name}","releases_url":"https://api.github.com/repos/Rebilly/RebillyAPI/releases{/id}","deployments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/deployments","created_at":"2016-02-29T17:54:42Z","updated_at":"2016-07-21T01:27:15Z","pushed_at":"2016-07-27T14:17:11Z","git_url":"git://github.com/Rebilly/RebillyAPI.git","ssh_url":"git@github.com:Rebilly/RebillyAPI.git","clone_url":"https://github.com/Rebilly/RebillyAPI.git","svn_url":"https://github.com/Rebilly/RebillyAPI","homepage":"https://rebilly.github.io/RebillyAPI/","size":605,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82"},"html":{"href":"https://github.com/Rebilly/RebillyAPI/pull/82"},"issue":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/82"},"comments":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/096aef54de4aa0b3947ec28c5a43d6740e9865d8"}}}}
{"actor":{"display_login":"slavcodev"}}