Issue:
Add Worldline for card payments

Resolution:
<think>
PR Context:
- Title: feature(connector): add capture flow support for worldline
- Merged: 2023-01-18T11:14:30Z
- Files changed: 11 files
- Commits: 8 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates

## Description
<!-- Describe your changes in detail -->
Add support for capture flow in worldline connector
Payment Method: card

### Additional Changes

- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!-- 
Provide links to the files with corresponding cha
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feature(connector): add capture flow support for worldline (#399)
Files to modify:


**crates/router/src/connector/worldline.rs**
  Remove:
    - function: private::get_content_type
    - function: private::get_content_type
  Add:
    - function: private::build_headers
    - function: private::get_http_method
    - function: private::get_content_type
    - function: private::get_headers
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - impl: impl ConnectorCommonExt<Flow, Request, Response> for Worldline

**crates/router/src/connector/worldline/transformers.rs**
  Remove:
    - function: private::from
    - impl: impl From<PaymentStatus> for enums::AttemptStatus

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

**crates/router/src/types.rs**
  Modify existing code

**crates/router/tests/connectors/cybersource.rs**
  Modify existing code

**crates/router/tests/connectors/globalpay.rs**
  Modify existing code

**crates/router/tests/connectors/payu.rs**
  Modify existing code

**crates/router/tests/connectors/utils.rs**
  Modify existing code

**crates/router/tests/connectors/worldline.rs**
  Modify existing code

**crates/router/tests/connectors/worldpay.rs**
  Modify existing code