{"action":"created","comment":{"url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/comments/194711773","pull_request_review_id":127931667,"id":194711773,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDcxMTc3Mw==","diff_hunk":"@@ -14,56 +16,73 @@\n import java.util.Objects;\n import java.util.Set;\n \n+@ApiModel( \"An invoice generated by the platform after a customer order\" )\n public class InvoiceDTO extends BaseInvoiceDTO\n {\n     @NotNull\n+    @ApiModelProperty( \"The amount to be paid\" )\n     protected VATPriceDTO total;\n \n     @Valid\n+    @ApiModelProperty( \"Who will pay the invoice\" )\n     private UrlEntityDTO nominee;\n \n+    @ApiModelProperty( value = \"If the invoice emission and payment is handled by vendor/reseller or by the platform\", readOnly = true )\n     private boolean selfBilled = false;\n \n+    @ApiModelProperty( value = \"If this invoice is subject to the italian electronic document tax\", readOnly = true )\n     private boolean stampDuty = false;\n \n     @NotNull\n+    @ApiModelProperty( value = \"The order type this invoice refers to (NORMAL, TRIAL, SANDBOX)\", readOnly = true )\n     private String type = \"NORMAL\";\n \n     @NotNull\n+    @ApiModelProperty( value = \"The product name this invoice refers to\", readOnly = true )\n     private String product = \"N/A\";\n \n     @NotNull\n+    @ApiModelProperty( value = \"The Product version this invoice refers to\", readOnly = true )\n     private String productVersion = \"N/A\";\n \n     @JsonInclude ( JsonInclude.Include.NON_EMPTY )\n+    @ApiModelProperty( value = \"A reference of a successfull payment\", readOnly = true )\n     private String paymentReference;\n \n     @JsonInclude ( JsonInclude.Include.NON_EMPTY )\n+    @ApiModelProperty( value = \"When the payment of the invoice has completed successfully\", readOnly = true )\n     private Date paymentReceived;\n \n     @Valid\n     private UrlEntityDTO subscription;\n \n+    @ApiModelProperty( value = \"The operations that can be executed by the current user on the invoice\", readOnly = true )\n     private Set<InvoiceOperationType> availableOperations = EnumSet.noneOf( InvoiceOperationType.class );\n \n+    @ApiModelProperty( value = \"The reference to a PDF version of the invoice\", readOnly = true )\n     private String remoteId;\n \n+    @ApiModelProperty( value = \"The quota that received the platform owner when the invoice has been issued\", readOnly = true )\n     private BigDecimal revenueSharingQuota;\n \n     @NotNull\n     private List<OrderLineDTO> entries;\n \n+    @ApiModelProperty( value = \"If the invoice has been generated by the vendor/reseller\", readOnly = true )\n     private Boolean cashed;\n \n     private InvoiceStatus status;","path":"cmw-dto/src/main/java/com/liberologico/cloudesire/cmw/model/dto/InvoiceDTO.java","position":68,"original_position":68,"commit_id":"c7390c13594e15b05815284a5297ef3e686a60d3","original_commit_id":"c7390c13594e15b05815284a5297ef3e686a60d3","user":{"login":"malteo","id":80266,"node_id":"MDQ6VXNlcjgwMjY2","avatar_url":"https://avatars2.githubusercontent.com/u/80266?v=4","gravatar_id":"","url":"https://api.github.com/users/malteo","html_url":"https://github.com/malteo","followers_url":"https://api.github.com/users/malteo/followers","following_url":"https://api.github.com/users/malteo/following{/other_user}","gists_url":"https://api.github.com/users/malteo/gists{/gist_id}","starred_url":"https://api.github.com/users/malteo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malteo/subscriptions","organizations_url":"https://api.github.com/users/malteo/orgs","repos_url":"https://api.github.com/users/malteo/repos","events_url":"https://api.github.com/users/malteo/events{/privacy}","received_events_url":"https://api.github.com/users/malteo/received_events","type":"User","site_admin":false},"body":"Invoice payment status\r\n\r\nor is it inherited from the enum?","created_at":"2018-06-12T12:05:47Z","updated_at":"2018-06-12T12:05:50Z","html_url":"https://github.com/ClouDesire/java-api-client/pull/109#discussion_r194711773","pull_request_url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/comments/194711773"},"html":{"href":"https://github.com/ClouDesire/java-api-client/pull/109#discussion_r194711773"},"pull_request":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109","id":194249631,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MjQ5NjMx","html_url":"https://github.com/ClouDesire/java-api-client/pull/109","diff_url":"https://github.com/ClouDesire/java-api-client/pull/109.diff","patch_url":"https://github.com/ClouDesire/java-api-client/pull/109.patch","issue_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues/109","number":109,"state":"open","locked":false,"title":"Add invoice swagger docs","user":{"login":"gionn","id":71768,"node_id":"MDQ6VXNlcjcxNzY4","avatar_url":"https://avatars3.githubusercontent.com/u/71768?v=4","gravatar_id":"","url":"https://api.github.com/users/gionn","html_url":"https://github.com/gionn","followers_url":"https://api.github.com/users/gionn/followers","following_url":"https://api.github.com/users/gionn/following{/other_user}","gists_url":"https://api.github.com/users/gionn/gists{/gist_id}","starred_url":"https://api.github.com/users/gionn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gionn/subscriptions","organizations_url":"https://api.github.com/users/gionn/orgs","repos_url":"https://api.github.com/users/gionn/repos","events_url":"https://api.github.com/users/gionn/events{/privacy}","received_events_url":"https://api.github.com/users/gionn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-12T11:31:59Z","updated_at":"2018-06-12T12:05:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79f920a767ff434c5be1b681e16ed08a1430152f","assignee":{"login":"gionn","id":71768,"node_id":"MDQ6VXNlcjcxNzY4","avatar_url":"https://avatars3.githubusercontent.com/u/71768?v=4","gravatar_id":"","url":"https://api.github.com/users/gionn","html_url":"https://github.com/gionn","followers_url":"https://api.github.com/users/gionn/followers","following_url":"https://api.github.com/users/gionn/following{/other_user}","gists_url":"https://api.github.com/users/gionn/gists{/gist_id}","starred_url":"https://api.github.com/users/gionn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gionn/subscriptions","organizations_url":"https://api.github.com/users/gionn/orgs","repos_url":"https://api.github.com/users/gionn/repos","events_url":"https://api.github.com/users/gionn/events{/privacy}","received_events_url":"https://api.github.com/users/gionn/received_events","type":"User","site_admin":false},"assignees":[{"login":"gionn","id":71768,"node_id":"MDQ6VXNlcjcxNzY4","avatar_url":"https://avatars3.githubusercontent.com/u/71768?v=4","gravatar_id":"","url":"https://api.github.com/users/gionn","html_url":"https://github.com/gionn","followers_url":"https://api.github.com/users/gionn/followers","following_url":"https://api.github.com/users/gionn/following{/other_user}","gists_url":"https://api.github.com/users/gionn/gists{/gist_id}","starred_url":"https://api.github.com/users/gionn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gionn/subscriptions","organizations_url":"https://api.github.com/users/gionn/orgs","repos_url":"https://api.github.com/users/gionn/repos","events_url":"https://api.github.com/users/gionn/events{/privacy}","received_events_url":"https://api.github.com/users/gionn/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109/commits","review_comments_url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109/comments","review_comment_url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues/109/comments","statuses_url":"https://api.github.com/repos/ClouDesire/java-api-client/statuses/c7390c13594e15b05815284a5297ef3e686a60d3","head":{"label":"ClouDesire:invoice-swagger","ref":"invoice-swagger","sha":"c7390c13594e15b05815284a5297ef3e686a60d3","user":{"login":"ClouDesire","id":3796308,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTYzMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3796308?v=4","gravatar_id":"","url":"https://api.github.com/users/ClouDesire","html_url":"https://github.com/ClouDesire","followers_url":"https://api.github.com/users/ClouDesire/followers","following_url":"https://api.github.com/users/ClouDesire/following{/other_user}","gists_url":"https://api.github.com/users/ClouDesire/gists{/gist_id}","starred_url":"https://api.github.com/users/ClouDesire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClouDesire/subscriptions","organizations_url":"https://api.github.com/users/ClouDesire/orgs","repos_url":"https://api.github.com/users/ClouDesire/repos","events_url":"https://api.github.com/users/ClouDesire/events{/privacy}","received_events_url":"https://api.github.com/users/ClouDesire/received_events","type":"Organization","site_admin":false},"repo":{"id":112484026,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI0ODQwMjY=","name":"java-api-client","full_name":"ClouDesire/java-api-client","owner":{"login":"ClouDesire","id":3796308,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTYzMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3796308?v=4","gravatar_id":"","url":"https://api.github.com/users/ClouDesire","html_url":"https://github.com/ClouDesire","followers_url":"https://api.github.com/users/ClouDesire/followers","following_url":"https://api.github.com/users/ClouDesire/following{/other_user}","gists_url":"https://api.github.com/users/ClouDesire/gists{/gist_id}","starred_url":"https://api.github.com/users/ClouDesire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClouDesire/subscriptions","organizations_url":"https://api.github.com/users/ClouDesire/orgs","repos_url":"https://api.github.com/users/ClouDesire/repos","events_url":"https://api.github.com/users/ClouDesire/events{/privacy}","received_events_url":"https://api.github.com/users/ClouDesire/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClouDesire/java-api-client","description":"Java client to consume the cloudesire API","fork":false,"url":"https://api.github.com/repos/ClouDesire/java-api-client","forks_url":"https://api.github.com/repos/ClouDesire/java-api-client/forks","keys_url":"https://api.github.com/repos/ClouDesire/java-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClouDesire/java-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClouDesire/java-api-client/teams","hooks_url":"https://api.github.com/repos/ClouDesire/java-api-client/hooks","issue_events_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/ClouDesire/java-api-client/events","assignees_url":"https://api.github.com/repos/ClouDesire/java-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/ClouDesire/java-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/ClouDesire/java-api-client/tags","blobs_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClouDesire/java-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ClouDesire/java-api-client/languages","stargazers_url":"https://api.github.com/repos/ClouDesire/java-api-client/stargazers","contributors_url":"https://api.github.com/repos/ClouDesire/java-api-client/contributors","subscribers_url":"https://api.github.com/repos/ClouDesire/java-api-client/subscribers","subscription_url":"https://api.github.com/repos/ClouDesire/java-api-client/subscription","commits_url":"https://api.github.com/repos/ClouDesire/java-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClouDesire/java-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClouDesire/java-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/ClouDesire/java-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClouDesire/java-api-client/merges","archive_url":"https://api.github.com/repos/ClouDesire/java-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClouDesire/java-api-client/downloads","issues_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ClouDesire/java-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ClouDesire/java-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClouDesire/java-api-client/labels{/name}","releases_url":"https://api.github.com/repos/ClouDesire/java-api-client/releases{/id}","deployments_url":"https://api.github.com/repos/ClouDesire/java-api-client/deployments","created_at":"2017-11-29T14:16:20Z","updated_at":"2018-06-11T15:04:37Z","pushed_at":"2018-06-12T11:31:59Z","git_url":"git://github.com/ClouDesire/java-api-client.git","ssh_url":"git@github.com:ClouDesire/java-api-client.git","clone_url":"https://github.com/ClouDesire/java-api-client.git","svn_url":"https://github.com/ClouDesire/java-api-client","homepage":"https://cloudesire.com/documentation/","size":370,"stargazers_count":0,"watchers_count":0,"language":"Java","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":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"ClouDesire:master","ref":"master","sha":"ebed50659c589c6e6af44857a98409180dde3b65","user":{"login":"ClouDesire","id":3796308,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTYzMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3796308?v=4","gravatar_id":"","url":"https://api.github.com/users/ClouDesire","html_url":"https://github.com/ClouDesire","followers_url":"https://api.github.com/users/ClouDesire/followers","following_url":"https://api.github.com/users/ClouDesire/following{/other_user}","gists_url":"https://api.github.com/users/ClouDesire/gists{/gist_id}","starred_url":"https://api.github.com/users/ClouDesire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClouDesire/subscriptions","organizations_url":"https://api.github.com/users/ClouDesire/orgs","repos_url":"https://api.github.com/users/ClouDesire/repos","events_url":"https://api.github.com/users/ClouDesire/events{/privacy}","received_events_url":"https://api.github.com/users/ClouDesire/received_events","type":"Organization","site_admin":false},"repo":{"id":112484026,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI0ODQwMjY=","name":"java-api-client","full_name":"ClouDesire/java-api-client","owner":{"login":"ClouDesire","id":3796308,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTYzMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3796308?v=4","gravatar_id":"","url":"https://api.github.com/users/ClouDesire","html_url":"https://github.com/ClouDesire","followers_url":"https://api.github.com/users/ClouDesire/followers","following_url":"https://api.github.com/users/ClouDesire/following{/other_user}","gists_url":"https://api.github.com/users/ClouDesire/gists{/gist_id}","starred_url":"https://api.github.com/users/ClouDesire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClouDesire/subscriptions","organizations_url":"https://api.github.com/users/ClouDesire/orgs","repos_url":"https://api.github.com/users/ClouDesire/repos","events_url":"https://api.github.com/users/ClouDesire/events{/privacy}","received_events_url":"https://api.github.com/users/ClouDesire/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClouDesire/java-api-client","description":"Java client to consume the cloudesire API","fork":false,"url":"https://api.github.com/repos/ClouDesire/java-api-client","forks_url":"https://api.github.com/repos/ClouDesire/java-api-client/forks","keys_url":"https://api.github.com/repos/ClouDesire/java-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClouDesire/java-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClouDesire/java-api-client/teams","hooks_url":"https://api.github.com/repos/ClouDesire/java-api-client/hooks","issue_events_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/ClouDesire/java-api-client/events","assignees_url":"https://api.github.com/repos/ClouDesire/java-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/ClouDesire/java-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/ClouDesire/java-api-client/tags","blobs_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClouDesire/java-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ClouDesire/java-api-client/languages","stargazers_url":"https://api.github.com/repos/ClouDesire/java-api-client/stargazers","contributors_url":"https://api.github.com/repos/ClouDesire/java-api-client/contributors","subscribers_url":"https://api.github.com/repos/ClouDesire/java-api-client/subscribers","subscription_url":"https://api.github.com/repos/ClouDesire/java-api-client/subscription","commits_url":"https://api.github.com/repos/ClouDesire/java-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClouDesire/java-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClouDesire/java-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClouDesire/java-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/ClouDesire/java-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClouDesire/java-api-client/merges","archive_url":"https://api.github.com/repos/ClouDesire/java-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClouDesire/java-api-client/downloads","issues_url":"https://api.github.com/repos/ClouDesire/java-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/ClouDesire/java-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ClouDesire/java-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ClouDesire/java-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClouDesire/java-api-client/labels{/name}","releases_url":"https://api.github.com/repos/ClouDesire/java-api-client/releases{/id}","deployments_url":"https://api.github.com/repos/ClouDesire/java-api-client/deployments","created_at":"2017-11-29T14:16:20Z","updated_at":"2018-06-11T15:04:37Z","pushed_at":"2018-06-12T11:31:59Z","git_url":"git://github.com/ClouDesire/java-api-client.git","ssh_url":"git@github.com:ClouDesire/java-api-client.git","clone_url":"https://github.com/ClouDesire/java-api-client.git","svn_url":"https://github.com/ClouDesire/java-api-client","homepage":"https://cloudesire.com/documentation/","size":370,"stargazers_count":0,"watchers_count":0,"language":"Java","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":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109"},"html":{"href":"https://github.com/ClouDesire/java-api-client/pull/109"},"issue":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/issues/109"},"comments":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/ClouDesire/java-api-client/statuses/c7390c13594e15b05815284a5297ef3e686a60d3"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"malteo"}}