Issue:
make `ApplepayPaymentMethod` in payment_method_data column of `payment_attempt` table as json

make `ApplepayPaymentMethod` in payment_method_data column of `payment_attempt` table as json because retrieve payment fails for the old payments for which the `payment_method_data` in the `payment_attempt`  table was stored as `{"wallet": {}}`. But after this change there would be some data for the apple pay (`{"wallet": {"apple_pay": {"type": "debit", "network": "Visa", "display_name": "Visa 1234"}}}`) or `{"wallet": null}`

Resolution:
<think>
PR Context:
- Title: fix(payment_methods): make ApplepayPaymentMethod in payment_method_data column of payment_attempt table as json
- Merged: 2024-03-20T13:42:02Z
- Files changed: 2 files
- Commits: 1 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
make ApplepayPaymentMethod in payment_method_data column of payment_attempt table as json because retrieve payment fails for the old payments for which the payment_method_data in the payment_attempt table was stored as {"wallet": {}}

### Ad
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(payment_methods): make `ApplepayPaymentMethod` in payment_method_data column of `payment_attempt
Files to modify:


**crates/api_models/src/payments.rs**
  Remove:
    - enum: pub::Wallets

**crates/router/src/core/payments/helpers.rs**
  Modify existing code