Skip to content

Commit

Permalink
Merge pull request #298 from tungleduyxyz/update_invoice_item_tags_api
Browse files Browse the repository at this point in the history
Multiple invoice item tags API
  • Loading branch information
reshmabidikar authored Mar 4, 2024
2 parents 081a2f3 + c3e5130 commit 2f3b9f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/includes/_invoice-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,9 @@ invoice_item = KillBillClient::Model::InvoiceItem.new
invoice_item.invoice_item_id = 'df124876-fbe4-4d61-897d-6eb0d3f3862c'
invoice_item.account_id='0f84a73c-9f1d-44e0-962e-e7d554e9cff6'

tag_def_id = ['2c1f8309-24d7-437c-971b-7e68ff2d393a']
tag_definition_ids = ['2c1f8309-24d7-437c-971b-7e68ff2d393a']

invoice_item.add_tags_from_definition_ids(tag_def_id,
invoice_item.add_tags_from_definition_ids(tag_definition_ids,
user,
reason,
comment,
Expand Down Expand Up @@ -751,9 +751,9 @@ comment = nil
invoice_item = KillBillClient::Model::InvoiceItem.new
invoice_item.invoice_item_id = 'df124876-fbe4-4d61-897d-6eb0d3f3862c'

tag_name='subscription_item'
tag_definition_ids = ['2c1f8309-24d7-437c-971b-7e68ff2d393a']

invoice_item.remove_tag(tag_name,
invoice_item.remove_tags_from_definition_ids(tag_definition_ids,
user,
reason,
comment,
Expand Down

0 comments on commit 2f3b9f5

Please sign in to comment.