Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(pm): create new crate for payment methods #7355

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jagan-jaya
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

Copy link

semanticdiff-com bot commented Feb 24, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/router/src/core/customers.rs  47% smaller
  crates/scheduler/src/scheduler.rs  42% smaller
  crates/router/src/workflows/payment_method_status_update.rs  42% smaller
  crates/storage_impl/src/payments/payment_attempt.rs  29% smaller
  crates/router/src/db.rs  19% smaller
  crates/storage_impl/src/redis/kv_store.rs  5% smaller
  crates/storage_impl/src/lib.rs  3% smaller
  crates/storage_impl/src/payments/payment_intent.rs  3% smaller
  crates/storage_impl/src/lookup.rs  2% smaller
  crates/storage_impl/src/payouts/payout_attempt.rs  2% smaller
  crates/storage_impl/src/payouts/payouts.rs  2% smaller
  crates/hyperswitch_domain_models/src/payment_methods.rs  2% smaller
  crates/storage_impl/src/mock_db.rs  1% smaller
  Cargo.lock Unsupported file format
  crates/hyperswitch_domain_models/src/errors.rs  0% smaller
  crates/payment_methods/Cargo.toml Unsupported file format
  crates/payment_methods/src/client.rs  0% smaller
  crates/payment_methods/src/lib.rs  0% smaller
  crates/router/Cargo.toml Unsupported file format
  crates/router/src/configs/settings.rs  0% smaller
  crates/router/src/db/kafka_store.rs  0% smaller
  crates/router/src/db/payment_method.rs  0% smaller
  crates/router/src/routes/admin.rs  0% smaller
  crates/router/src/routes/api_keys.rs  0% smaller
  crates/router/src/routes/app.rs  0% smaller
  crates/router/src/routes/dummy_connector.rs  0% smaller
  crates/router/src/services.rs  0% smaller
  crates/router/src/utils/db_utils.rs  0% smaller
  crates/storage_impl/src/kv_router_store.rs  0% smaller
  crates/storage_impl/src/payment_method.rs  0% smaller
  crates/storage_impl/src/utils.rs  0% smaller

@jagan-jaya jagan-jaya changed the title refactor(pm): move payment methods to new crate refactor(pm): create new crate for payment methods Feb 24, 2025
@jagan-jaya jagan-jaya self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant