{"action":"created","comment":{"url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/comments/150582349","pull_request_review_id":76152600,"id":150582349,"diff_hunk":"@@ -74,6 +74,22 @@ def shipment_lines_array\n       ship_lines\n     end\n \n+    def shipping_refund_lines_array\n+      @logger.info('build shipment refund lines')\n+\n+      ship_refund_lines = []\n+      order.shipments.each do |shipment|\n+\n+        if shipment.tax_category","path":"app/models/spree_avatax_certified/line.rb","position":10,"original_position":10,"commit_id":"234e3a27375d886806e16a95704feaed3a207e97","original_commit_id":"234e3a27375d886806e16a95704feaed3a207e97","user":{"login":"lemuelbarango","id":7395051,"avatar_url":"https://avatars3.githubusercontent.com/u/7395051?v=4","gravatar_id":"","url":"https://api.github.com/users/lemuelbarango","html_url":"https://github.com/lemuelbarango","followers_url":"https://api.github.com/users/lemuelbarango/followers","following_url":"https://api.github.com/users/lemuelbarango/following{/other_user}","gists_url":"https://api.github.com/users/lemuelbarango/gists{/gist_id}","starred_url":"https://api.github.com/users/lemuelbarango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemuelbarango/subscriptions","organizations_url":"https://api.github.com/users/lemuelbarango/orgs","repos_url":"https://api.github.com/users/lemuelbarango/repos","events_url":"https://api.github.com/users/lemuelbarango/events{/privacy}","received_events_url":"https://api.github.com/users/lemuelbarango/received_events","type":"User","site_admin":false},"body":"Does shipment have a tax_category field?","created_at":"2017-11-13T16:04:06Z","updated_at":"2017-11-13T16:40:22Z","html_url":"https://github.com/Fullscript/spree_avatax_certified/pull/8#discussion_r150582349","pull_request_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/comments/150582349"},"html":{"href":"https://github.com/Fullscript/spree_avatax_certified/pull/8#discussion_r150582349"},"pull_request":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8","id":152271098,"html_url":"https://github.com/Fullscript/spree_avatax_certified/pull/8","diff_url":"https://github.com/Fullscript/spree_avatax_certified/pull/8.diff","patch_url":"https://github.com/Fullscript/spree_avatax_certified/pull/8.patch","issue_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/8","number":8,"state":"open","locked":false,"title":"Commit Shipping Refunds","user":{"login":"glongman","id":39729,"avatar_url":"https://avatars0.githubusercontent.com/u/39729?v=4","gravatar_id":"","url":"https://api.github.com/users/glongman","html_url":"https://github.com/glongman","followers_url":"https://api.github.com/users/glongman/followers","following_url":"https://api.github.com/users/glongman/following{/other_user}","gists_url":"https://api.github.com/users/glongman/gists{/gist_id}","starred_url":"https://api.github.com/users/glongman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glongman/subscriptions","organizations_url":"https://api.github.com/users/glongman/orgs","repos_url":"https://api.github.com/users/glongman/repos","events_url":"https://api.github.com/users/glongman/events{/privacy}","received_events_url":"https://api.github.com/users/glongman/received_events","type":"User","site_admin":false},"body":"## related https://git.fullscript.io/developers/hw-admin/merge_requests/8716","created_at":"2017-11-13T15:41:22Z","updated_at":"2017-11-13T16:40:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea979298c6b845ae4e6b9ce47bf303c5cf5f8eb8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/8/comments","statuses_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/statuses/234e3a27375d886806e16a95704feaed3a207e97","head":{"label":"Fullscript:avatax-post-and-refund-shipping","ref":"avatax-post-and-refund-shipping","sha":"234e3a27375d886806e16a95704feaed3a207e97","user":{"login":"Fullscript","id":1141836,"avatar_url":"https://avatars2.githubusercontent.com/u/1141836?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullscript","html_url":"https://github.com/Fullscript","followers_url":"https://api.github.com/users/Fullscript/followers","following_url":"https://api.github.com/users/Fullscript/following{/other_user}","gists_url":"https://api.github.com/users/Fullscript/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullscript/subscriptions","organizations_url":"https://api.github.com/users/Fullscript/orgs","repos_url":"https://api.github.com/users/Fullscript/repos","events_url":"https://api.github.com/users/Fullscript/events{/privacy}","received_events_url":"https://api.github.com/users/Fullscript/received_events","type":"Organization","site_admin":false},"repo":{"id":72465016,"name":"spree_avatax_certified","full_name":"Fullscript/spree_avatax_certified","owner":{"login":"Fullscript","id":1141836,"avatar_url":"https://avatars2.githubusercontent.com/u/1141836?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullscript","html_url":"https://github.com/Fullscript","followers_url":"https://api.github.com/users/Fullscript/followers","following_url":"https://api.github.com/users/Fullscript/following{/other_user}","gists_url":"https://api.github.com/users/Fullscript/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullscript/subscriptions","organizations_url":"https://api.github.com/users/Fullscript/orgs","repos_url":"https://api.github.com/users/Fullscript/repos","events_url":"https://api.github.com/users/Fullscript/events{/privacy}","received_events_url":"https://api.github.com/users/Fullscript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Fullscript/spree_avatax_certified","description":"Improve your Spree store's sales tax decision automation with Avalara AvaTax","fork":true,"url":"https://api.github.com/repos/Fullscript/spree_avatax_certified","forks_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/forks","keys_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/teams","hooks_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/hooks","issue_events_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/events{/number}","events_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/events","assignees_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/assignees{/user}","branches_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/branches{/branch}","tags_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/tags","blobs_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/statuses/{sha}","languages_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/languages","stargazers_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/stargazers","contributors_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/contributors","subscribers_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/subscribers","subscription_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/subscription","commits_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/contents/{+path}","compare_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/merges","archive_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/downloads","issues_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues{/number}","pulls_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls{/number}","milestones_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/milestones{/number}","notifications_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/labels{/name}","releases_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/releases{/id}","deployments_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/deployments","created_at":"2016-10-31T18:15:46Z","updated_at":"2016-10-31T18:15:47Z","pushed_at":"2017-11-13T15:41:23Z","git_url":"git://github.com/Fullscript/spree_avatax_certified.git","ssh_url":"git@github.com:Fullscript/spree_avatax_certified.git","clone_url":"https://github.com/Fullscript/spree_avatax_certified.git","svn_url":"https://github.com/Fullscript/spree_avatax_certified","homepage":"","size":1083,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Fullscript:2-3-stable-fullscript","ref":"2-3-stable-fullscript","sha":"e4407fcf546f51e8a135285f5860bf1146330646","user":{"login":"Fullscript","id":1141836,"avatar_url":"https://avatars2.githubusercontent.com/u/1141836?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullscript","html_url":"https://github.com/Fullscript","followers_url":"https://api.github.com/users/Fullscript/followers","following_url":"https://api.github.com/users/Fullscript/following{/other_user}","gists_url":"https://api.github.com/users/Fullscript/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullscript/subscriptions","organizations_url":"https://api.github.com/users/Fullscript/orgs","repos_url":"https://api.github.com/users/Fullscript/repos","events_url":"https://api.github.com/users/Fullscript/events{/privacy}","received_events_url":"https://api.github.com/users/Fullscript/received_events","type":"Organization","site_admin":false},"repo":{"id":72465016,"name":"spree_avatax_certified","full_name":"Fullscript/spree_avatax_certified","owner":{"login":"Fullscript","id":1141836,"avatar_url":"https://avatars2.githubusercontent.com/u/1141836?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullscript","html_url":"https://github.com/Fullscript","followers_url":"https://api.github.com/users/Fullscript/followers","following_url":"https://api.github.com/users/Fullscript/following{/other_user}","gists_url":"https://api.github.com/users/Fullscript/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullscript/subscriptions","organizations_url":"https://api.github.com/users/Fullscript/orgs","repos_url":"https://api.github.com/users/Fullscript/repos","events_url":"https://api.github.com/users/Fullscript/events{/privacy}","received_events_url":"https://api.github.com/users/Fullscript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Fullscript/spree_avatax_certified","description":"Improve your Spree store's sales tax decision automation with Avalara AvaTax","fork":true,"url":"https://api.github.com/repos/Fullscript/spree_avatax_certified","forks_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/forks","keys_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/teams","hooks_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/hooks","issue_events_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/events{/number}","events_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/events","assignees_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/assignees{/user}","branches_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/branches{/branch}","tags_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/tags","blobs_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/statuses/{sha}","languages_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/languages","stargazers_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/stargazers","contributors_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/contributors","subscribers_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/subscribers","subscription_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/subscription","commits_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/contents/{+path}","compare_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/merges","archive_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/downloads","issues_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues{/number}","pulls_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls{/number}","milestones_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/milestones{/number}","notifications_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/labels{/name}","releases_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/releases{/id}","deployments_url":"https://api.github.com/repos/Fullscript/spree_avatax_certified/deployments","created_at":"2016-10-31T18:15:46Z","updated_at":"2016-10-31T18:15:47Z","pushed_at":"2017-11-13T15:41:23Z","git_url":"git://github.com/Fullscript/spree_avatax_certified.git","ssh_url":"git@github.com:Fullscript/spree_avatax_certified.git","clone_url":"https://github.com/Fullscript/spree_avatax_certified.git","svn_url":"https://github.com/Fullscript/spree_avatax_certified","homepage":"","size":1083,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8"},"html":{"href":"https://github.com/Fullscript/spree_avatax_certified/pull/8"},"issue":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/8"},"comments":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Fullscript/spree_avatax_certified/statuses/234e3a27375d886806e16a95704feaed3a207e97"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"lemuelbarango"}}