{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/46","id":168867193,"html_url":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK/pull/46","diff_url":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK/pull/46.diff","patch_url":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK/pull/46.patch","issue_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues/46","number":46,"state":"open","locked":false,"title":"method to support adding avalara lineitem models","user":{"login":"caleywoods","id":402957,"avatar_url":"https://avatars0.githubusercontent.com/u/402957?v=4","gravatar_id":"","url":"https://api.github.com/users/caleywoods","html_url":"https://github.com/caleywoods","followers_url":"https://api.github.com/users/caleywoods/followers","following_url":"https://api.github.com/users/caleywoods/following{/other_user}","gists_url":"https://api.github.com/users/caleywoods/gists{/gist_id}","starred_url":"https://api.github.com/users/caleywoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caleywoods/subscriptions","organizations_url":"https://api.github.com/users/caleywoods/orgs","repos_url":"https://api.github.com/users/caleywoods/repos","events_url":"https://api.github.com/users/caleywoods/events{/privacy}","received_events_url":"https://api.github.com/users/caleywoods/received_events","type":"User","site_admin":false},"body":"This code adds a `withLineItem` method to the TransactionBuilder so that a user can instantiate one or more Avalara LineItemModel objects, setting all the properties they need for each line item and then using this method to add those to the TransactionBuilders lines array to be sent during a `createTransaction()` call.\r\n\r\nPlease see [this gist](https://gist.github.com/caleywoods/ca9e972642f3dc0820de246beda9beee) that illustrates how I am using this to create transactions in Avalara right now. ","created_at":"2018-02-13T15:00:01Z","updated_at":"2018-02-13T15:00:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/46/commits","review_comments_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/46/comments","review_comment_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues/46/comments","statuses_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/statuses/b983c1250e6706fc626bbcff2e34c574ae1e35fa","head":{"label":"caleywoods:master","ref":"master","sha":"b983c1250e6706fc626bbcff2e34c574ae1e35fa","user":{"login":"caleywoods","id":402957,"avatar_url":"https://avatars0.githubusercontent.com/u/402957?v=4","gravatar_id":"","url":"https://api.github.com/users/caleywoods","html_url":"https://github.com/caleywoods","followers_url":"https://api.github.com/users/caleywoods/followers","following_url":"https://api.github.com/users/caleywoods/following{/other_user}","gists_url":"https://api.github.com/users/caleywoods/gists{/gist_id}","starred_url":"https://api.github.com/users/caleywoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caleywoods/subscriptions","organizations_url":"https://api.github.com/users/caleywoods/orgs","repos_url":"https://api.github.com/users/caleywoods/repos","events_url":"https://api.github.com/users/caleywoods/events{/privacy}","received_events_url":"https://api.github.com/users/caleywoods/received_events","type":"User","site_admin":false},"repo":{"id":121300002,"name":"AvaTax-REST-V2-PHP-SDK","full_name":"caleywoods/AvaTax-REST-V2-PHP-SDK","owner":{"login":"caleywoods","id":402957,"avatar_url":"https://avatars0.githubusercontent.com/u/402957?v=4","gravatar_id":"","url":"https://api.github.com/users/caleywoods","html_url":"https://github.com/caleywoods","followers_url":"https://api.github.com/users/caleywoods/followers","following_url":"https://api.github.com/users/caleywoods/following{/other_user}","gists_url":"https://api.github.com/users/caleywoods/gists{/gist_id}","starred_url":"https://api.github.com/users/caleywoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caleywoods/subscriptions","organizations_url":"https://api.github.com/users/caleywoods/orgs","repos_url":"https://api.github.com/users/caleywoods/repos","events_url":"https://api.github.com/users/caleywoods/events{/privacy}","received_events_url":"https://api.github.com/users/caleywoods/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caleywoods/AvaTax-REST-V2-PHP-SDK","description":"AvaTax v2 SDK for languages using PHP","fork":true,"url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK","forks_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/forks","keys_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/teams","hooks_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/hooks","issue_events_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/events","assignees_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/tags","blobs_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/languages","stargazers_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/stargazers","contributors_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/contributors","subscribers_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/subscribers","subscription_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/subscription","commits_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/merges","archive_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/downloads","issues_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/labels{/name}","releases_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/releases{/id}","deployments_url":"https://api.github.com/repos/caleywoods/AvaTax-REST-V2-PHP-SDK/deployments","created_at":"2018-02-12T20:48:20Z","updated_at":"2018-02-12T20:48:23Z","pushed_at":"2018-02-12T22:24:40Z","git_url":"git://github.com/caleywoods/AvaTax-REST-V2-PHP-SDK.git","ssh_url":"git@github.com:caleywoods/AvaTax-REST-V2-PHP-SDK.git","clone_url":"https://github.com/caleywoods/AvaTax-REST-V2-PHP-SDK.git","svn_url":"https://github.com/caleywoods/AvaTax-REST-V2-PHP-SDK","homepage":null,"size":353,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"avadev:master","ref":"master","sha":"c2309de590b78c98b156fe9cb3bbeb509d42a8d2","user":{"login":"avadev","id":3604554,"avatar_url":"https://avatars3.githubusercontent.com/u/3604554?v=4","gravatar_id":"","url":"https://api.github.com/users/avadev","html_url":"https://github.com/avadev","followers_url":"https://api.github.com/users/avadev/followers","following_url":"https://api.github.com/users/avadev/following{/other_user}","gists_url":"https://api.github.com/users/avadev/gists{/gist_id}","starred_url":"https://api.github.com/users/avadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avadev/subscriptions","organizations_url":"https://api.github.com/users/avadev/orgs","repos_url":"https://api.github.com/users/avadev/repos","events_url":"https://api.github.com/users/avadev/events{/privacy}","received_events_url":"https://api.github.com/users/avadev/received_events","type":"Organization","site_admin":false},"repo":{"id":80149607,"name":"AvaTax-REST-V2-PHP-SDK","full_name":"avadev/AvaTax-REST-V2-PHP-SDK","owner":{"login":"avadev","id":3604554,"avatar_url":"https://avatars3.githubusercontent.com/u/3604554?v=4","gravatar_id":"","url":"https://api.github.com/users/avadev","html_url":"https://github.com/avadev","followers_url":"https://api.github.com/users/avadev/followers","following_url":"https://api.github.com/users/avadev/following{/other_user}","gists_url":"https://api.github.com/users/avadev/gists{/gist_id}","starred_url":"https://api.github.com/users/avadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avadev/subscriptions","organizations_url":"https://api.github.com/users/avadev/orgs","repos_url":"https://api.github.com/users/avadev/repos","events_url":"https://api.github.com/users/avadev/events{/privacy}","received_events_url":"https://api.github.com/users/avadev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK","description":"AvaTax v2 SDK for languages using PHP","fork":false,"url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK","forks_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/forks","keys_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/teams","hooks_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/hooks","issue_events_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/events","assignees_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/tags","blobs_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/languages","stargazers_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/stargazers","contributors_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/contributors","subscribers_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/subscribers","subscription_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/subscription","commits_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/merges","archive_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/downloads","issues_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/labels{/name}","releases_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/releases{/id}","deployments_url":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/deployments","created_at":"2017-01-26T19:55:46Z","updated_at":"2018-01-22T20:35:08Z","pushed_at":"2018-02-10T18:51:45Z","git_url":"git://github.com/avadev/AvaTax-REST-V2-PHP-SDK.git","ssh_url":"git@github.com:avadev/AvaTax-REST-V2-PHP-SDK.git","clone_url":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK.git","svn_url":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK","homepage":null,"size":348,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":22,"open_issues":8,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/46"},"html":{"href":"https://github.com/avadev/AvaTax-REST-V2-PHP-SDK/pull/46"},"issue":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues/46"},"comments":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/avadev/AvaTax-REST-V2-PHP-SDK/statuses/b983c1250e6706fc626bbcff2e34c574ae1e35fa"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":25,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"caleywoods"}}