Skip to content

Commit

Permalink
withholdingTax added. (#135)
Browse files Browse the repository at this point in the history
Co-authored-by: byasar <[email protected]>
  • Loading branch information
byasarcse and byasar authored Dec 26, 2024
1 parent fd4d015 commit 33d736e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/requests/model/BasketItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ BasketItem.body = function (data) {
category2: data["category2"],
itemType: data["itemType"],
subMerchantKey: data["subMerchantKey"],
subMerchantPrice: utils.formatPrice(data["subMerchantPrice"])
subMerchantPrice: utils.formatPrice(data["subMerchantPrice"]),
withholdingTax: utils.formatPrice(data['withholdingTax'])
} : undefined
};

Expand Down
4 changes: 3 additions & 1 deletion lib/requests/model/PaymentItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ PaymentItem.body = function(data) {
? {
subMerchantKey: data['subMerchantKey'],
paymentTransactionId: data['paymentTransactionId'],
subMerchantPrice: utils.formatPrice(data['subMerchantPrice']) }
subMerchantPrice: utils.formatPrice(data['subMerchantPrice']),
withholdingTax: utils.formatPrice(data['withholdingTax'])
}
: undefined;
};

Expand Down

0 comments on commit 33d736e

Please sign in to comment.