feat(connector): [CHECKBOOK] Add Template Code (#8494)

Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify:


**connector_enums.rs**
  Modify existing code

**connector.rs**
  Modify existing code

**connectors.rs**
  Add:
    - mod: pub::checkbook

**checkbook.rs**
  Add:
    - function: pub::new
    - function: private::build_headers
    - function: private::id
    - function: private::get_currency_unit
    - function: private::common_get_content_type
    - function: private::base_url
    - function: private::get_auth_header
    - function: private::build_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_webhook_object_reference_id
    - function: private::get_webhook_event_type
    - function: private::get_webhook_resource_object
    - struct: pub::Checkbook
    - impl: impl Checkbook
    - impl: impl api::Payment for Checkbook
    - impl: impl api::PaymentSession for Checkbook
    - impl: impl api::ConnectorAccessToken for Checkbook
    - impl: impl api::MandateSetup for Checkbook
    - impl: impl api::PaymentAuthorize for Checkbook
    - impl: impl api::PaymentSync for Checkbook
    - impl: impl api::PaymentCapture for Checkbook
    - impl: impl api::PaymentVoid for Checkbook
    - impl: impl api::Refund for Checkbook
    - impl: impl api::RefundExecute for Checkbook
    - impl: impl api::RefundSync for Checkbook
    - impl: impl api::PaymentToken for Checkbook
    - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorCommonExt<Flow, Request, Response> for Checkbook
    - impl: impl ConnectorCommon for Checkbook
    - impl: impl ConnectorValidation for Checkbook
    - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Checkbook
    - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Checkbook
    - impl: impl webhooks::IncomingWebhook for Checkbook
    - impl: impl ConnectorSpecifications for Checkbook
    - mod: pub::transformers

**transformers.rs**
  Add:
    - function: private::from
    - function: private::try_from
    - function: private::try_from
    - function: private::from
    - function: private::try_from
    - function: private::try_from
    - function: private::from
    - function: private::try_from
    - function: private::try_from
    - struct: pub::CheckbookRouterData
    - struct: pub::CheckbookPaymentsRequest
    - struct: pub::CheckbookCard
    - struct: pub::CheckbookAuthType
    - struct: pub::CheckbookPaymentsResponse
    - struct: pub::CheckbookRefundRequest
    - struct: pub::RefundResponse
    - struct: pub::CheckbookErrorResponse
    - enum: pub::CheckbookPaymentStatus
    - enum: pub::RefundStatus
    - impl: impl From<(FloatMajorUnit, T)> for CheckbookRouterData<T>
    - impl: impl TryFrom<&CheckbookRouterData<&PaymentsAuthorizeRouterData>> for CheckbookPaymentsRequest
    - impl: impl TryFrom<&ConnectorAuthType> for CheckbookAuthType
    - impl: impl From<CheckbookPaymentStatus> for common_enums::AttemptStatus
    - impl: impl TryFrom<ResponseRouterData<F, CheckbookPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData>
    - impl: impl TryFrom<&CheckbookRouterData<&RefundsRouterData<F>>> for CheckbookRefundRequest
    - impl: impl From<RefundStatus> for enums::RefundStatus
    - impl: impl TryFrom<RefundsResponseRouterData<Execute, RefundResponse>> for RefundsRouterData<Execute>
    - impl: impl TryFrom<RefundsResponseRouterData<RSync, RefundResponse>> for RefundsRouterData<RSync>

**default_implementations.rs**
  Modify existing code

**default_implementations_v2.rs**
  Modify existing code

**configs.rs**
  Modify existing code

**connector.rs**
  Modify existing code

**admin.rs**
  Modify existing code

**api.rs**
  Modify existing code

**transformers.rs**
  Add:
    - function: private::from
    - function: private::try_from
    - function: private::try_from
    - function: private::from
    - function: private::try_from
    - function: private::try_from
    - function: private::from
    - function: private::try_from
    - function: private::try_from
    - struct: pub::CheckbookRouterData
    - struct: pub::CheckbookPaymentsRequest
    - struct: pub::CheckbookCard
    - struct: pub::CheckbookAuthType
    - struct: pub::CheckbookPaymentsResponse
    - struct: pub::CheckbookRefundRequest
    - struct: pub::RefundResponse
    - struct: pub::CheckbookErrorResponse
    - enum: pub::CheckbookPaymentStatus
    - enum: pub::RefundStatus
    - impl: impl From<(FloatMajorUnit, T)> for CheckbookRouterData<T>
    - impl: impl TryFrom<&CheckbookRouterData<&PaymentsAuthorizeRouterData>> for CheckbookPaymentsRequest
    - impl: impl TryFrom<&ConnectorAuthType> for CheckbookAuthType
    - impl: impl From<CheckbookPaymentStatus> for common_enums::AttemptStatus
    - impl: impl TryFrom<ResponseRouterData<F, CheckbookPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData>
    - impl: impl TryFrom<&CheckbookRouterData<&RefundsRouterData<F>>> for CheckbookRefundRequest
    - impl: impl From<RefundStatus> for enums::RefundStatus
    - impl: impl TryFrom<RefundsResponseRouterData<Execute, RefundResponse>> for RefundsRouterData<Execute>
    - impl: impl TryFrom<RefundsResponseRouterData<RSync, RefundResponse>> for RefundsRouterData<RSync>

**checkbook.rs**
  Add:
    - function: pub::new
    - function: private::build_headers
    - function: private::id
    - function: private::get_currency_unit
    - function: private::common_get_content_type
    - function: private::base_url
    - function: private::get_auth_header
    - function: private::build_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::get_request_body
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_headers
    - function: private::get_content_type
    - function: private::get_url
    - function: private::build_request
    - function: private::handle_response
    - function: private::get_error_response
    - function: private::get_webhook_object_reference_id
    - function: private::get_webhook_event_type
    - function: private::get_webhook_resource_object
    - struct: pub::Checkbook
    - impl: impl Checkbook
    - impl: impl api::Payment for Checkbook
    - impl: impl api::PaymentSession for Checkbook
    - impl: impl api::ConnectorAccessToken for Checkbook
    - impl: impl api::MandateSetup for Checkbook
    - impl: impl api::PaymentAuthorize for Checkbook
    - impl: impl api::PaymentSync for Checkbook
    - impl: impl api::PaymentCapture for Checkbook
    - impl: impl api::PaymentVoid for Checkbook
    - impl: impl api::Refund for Checkbook
    - impl: impl api::RefundExecute for Checkbook
    - impl: impl api::RefundSync for Checkbook
    - impl: impl api::PaymentToken for Checkbook
    - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorCommonExt<Flow, Request, Response> for Checkbook
    - impl: impl ConnectorCommon for Checkbook
    - impl: impl ConnectorValidation for Checkbook
    - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Checkbook
    - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Checkbook
    - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Checkbook
    - impl: impl webhooks::IncomingWebhook for Checkbook
    - impl: impl ConnectorSpecifications for Checkbook
    - mod: pub::transformers

**main.rs**
  Add:
    - mod: private::checkbook

**connector_auth.rs**
  Modify existing code