Skip to content

Commit

Permalink
Merge pull request #297 from tungleduyxyz/update_invoice_tags_api
Browse files Browse the repository at this point in the history
Multiple invoice tags API
  • Loading branch information
reshmabidikar authored Mar 4, 2024
2 parents a404c08 + 4b6d82f commit 081a2f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/includes/_invoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -3040,9 +3040,9 @@ comment = nil
invoice = KillBillClient::Model::Invoice.new
invoice.invoice_id = '7bf0f3d6-4ffb-4d5a-98c7-1158083432d0'

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

invoice.add_tag(tag_name,
invoice.add_tags_from_definition_ids(tag_definition_ids,
user,
reason,
comment,
Expand Down Expand Up @@ -3239,9 +3239,9 @@ comment = nil
invoice = KillBillClient::Model::Invoice.new
invoice.invoice_id = '7bf0f3d6-4ffb-4d5a-98c7-1158083432d0'

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

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

0 comments on commit 081a2f3

Please sign in to comment.