Skip to content

Commit

Permalink
Merge pull request #296 from tungleduyxyz/update_payment_transaction_…
Browse files Browse the repository at this point in the history
…tags_api

Multiple payment transaction tags API
  • Loading branch information
reshmabidikar authored Mar 4, 2024
2 parents 251dc50 + 6cd661d commit b0cee73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/includes/_payment-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -1034,9 +1034,9 @@ comment = nil
payment_transaction = KillBillClient::Model::Transaction.new
payment_transaction.transaction_id = "e5f000f7-0733-4828-a887-3a4a58d27596"

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

payment_transaction.add_tag(tag_name,
payment_transaction.add_tags_from_definition_ids(tag_definition_ids,
user,
reason,
comment,
Expand Down Expand Up @@ -1233,9 +1233,9 @@ comment = nil
payment_transaction = KillBillClient::Model::Transaction.new
payment_transaction.transaction_id = "e5f000f7-0733-4828-a887-3a4a58d27596"

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

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

0 comments on commit b0cee73

Please sign in to comment.