refactor(core): Update shipping_cost and order_tax_amount to net_amount of payment_attempt (#5844)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Swangi Kumari
2024-09-12 22:48:12 +05:30
committed by GitHub
parent 608676c8e2
commit 840609af61
49 changed files with 681 additions and 204 deletions

View File

@ -161,6 +161,8 @@ impl PaymentAttemptInterface for MockDb {
customer_acceptance: payment_attempt.customer_acceptance,
organization_id: payment_attempt.organization_id,
profile_id: payment_attempt.profile_id,
shipping_cost: payment_attempt.shipping_cost,
order_tax_amount: payment_attempt.order_tax_amount,
};
payment_attempts.push(payment_attempt.clone());
Ok(payment_attempt)