id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
connector-service_snippet_3959697425557219616_50_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs use super::macros; use crate::{types::ResponseRouterData, with_error_response_body}; pub(crate) mod headers { pub(crate) const CONTENT_TYPE: &str = "Content-Type"; } // Simplified macro usage to avoid duplicate type definitions macros::create_all_prerequisites!( connector_name: Placetopay, generic_type: T, api: [ ( flow: Authorize, request_body: PlacetopayPaymentsRequest<T>, response_body: PlacetopayPaymentsResponse, router_data: RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ), ( flow: PSync, request_body: PlacetopayPsyncRequest, response_body: PlacetopayPSyncResponse, router_data: RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ), ( flow: Capture, request_body: PlacetopayNextActionRequest, response_body: PlacetopayCaptureResponse, router_data: RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ),
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 50, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_50_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs use super::macros; use crate::{types::ResponseRouterData, with_error_response_body}; pub(crate) mod headers { pub(crate) const CONTENT_TYPE: &str = "Content-Type"; } // Simplified macro usage to avoid duplicate type definitions macros::create_all_prerequisites!( connector_name: Placetopay, generic_type: T, api: [ ( flow: Authorize, request_body: PlacetopayPaymentsRequest<T>, response_body: PlacetopayPaymentsResponse, router_data: RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ), ( flow: PSync, request_body: PlacetopayPsyncRequest, response_body: PlacetopayPSyncResponse, router_data: RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ), ( flow: Capture, request_body: PlacetopayNextActionRequest, response_body: PlacetopayCaptureResponse, router_data: RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ), ( flow: Void, request_body: PlacetopayVoidRequest, response_body: PlacetopayVoidResponse, router_data: RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ), ( flow: Refund, request_body: PlacetopayRefundRequest, response_body: PlacetopayRefundResponse, router_data: RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ), ( flow: RSync, request_body: PlacetopayRsyncRequest, response_body: PlacetopayRSyncResponse, router_data: RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) ], amount_converters: [],
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 50, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_75_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs flow: Capture, request_body: PlacetopayNextActionRequest, response_body: PlacetopayCaptureResponse, router_data: RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ), ( flow: Void, request_body: PlacetopayVoidRequest, response_body: PlacetopayVoidResponse, router_data: RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ), ( flow: Refund, request_body: PlacetopayRefundRequest, response_body: PlacetopayRefundResponse,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 75, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_75_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs flow: Capture, request_body: PlacetopayNextActionRequest, response_body: PlacetopayCaptureResponse, router_data: RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ), ( flow: Void, request_body: PlacetopayVoidRequest, response_body: PlacetopayVoidResponse, router_data: RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ), ( flow: Refund, request_body: PlacetopayRefundRequest, response_body: PlacetopayRefundResponse, router_data: RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ), ( flow: RSync, request_body: PlacetopayRsyncRequest, response_body: PlacetopayRSyncResponse, router_data: RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) ], amount_converters: [], member_functions: { pub fn build_headers<F, FCD, Req, Res>( &self, req: &RouterDataV2<F, FCD, Req, Res>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 75, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_75_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs flow: Capture, request_body: PlacetopayNextActionRequest, response_body: PlacetopayCaptureResponse, router_data: RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ), ( flow: Void, request_body: PlacetopayVoidRequest, response_body: PlacetopayVoidResponse, router_data: RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ), ( flow: Refund, request_body: PlacetopayRefundRequest, response_body: PlacetopayRefundResponse, router_data: RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ), ( flow: RSync, request_body: PlacetopayRsyncRequest, response_body: PlacetopayRSyncResponse, router_data: RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) ], amount_converters: [], member_functions: { pub fn build_headers<F, FCD, Req, Res>( &self, req: &RouterDataV2<F, FCD, Req, Res>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<F, FCD, Req, Res>, { let mut header = vec![( headers::CONTENT_TYPE.to_string(), "application/json".to_string().into(), )]; let mut api_key = self.get_auth_header(&req.connector_auth_type)?; header.append(&mut api_key); Ok(header) } pub fn connector_base_url_payments<'a, F, Req, Res>( &self, req: &'a RouterDataV2<F, PaymentFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } pub fn connector_base_url_refunds<'a, F, Req, Res>(
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 75, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_100_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs member_functions: { pub fn build_headers<F, FCD, Req, Res>( &self, req: &RouterDataV2<F, FCD, Req, Res>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<F, FCD, Req, Res>, { let mut header = vec![( headers::CONTENT_TYPE.to_string(), "application/json".to_string().into(), )]; let mut api_key = self.get_auth_header(&req.connector_auth_type)?; header.append(&mut api_key); Ok(header)
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 100, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_100_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs member_functions: { pub fn build_headers<F, FCD, Req, Res>( &self, req: &RouterDataV2<F, FCD, Req, Res>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<F, FCD, Req, Res>, { let mut header = vec![( headers::CONTENT_TYPE.to_string(), "application/json".to_string().into(), )]; let mut api_key = self.get_auth_header(&req.connector_auth_type)?; header.append(&mut api_key); Ok(header) } pub fn connector_base_url_payments<'a, F, Req, Res>( &self, req: &'a RouterDataV2<F, PaymentFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } pub fn connector_base_url_refunds<'a, F, Req, Res>( &self, req: &'a RouterDataV2<F, RefundFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 100, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_100_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs member_functions: { pub fn build_headers<F, FCD, Req, Res>( &self, req: &RouterDataV2<F, FCD, Req, Res>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<F, FCD, Req, Res>, { let mut header = vec![( headers::CONTENT_TYPE.to_string(), "application/json".to_string().into(), )]; let mut api_key = self.get_auth_header(&req.connector_auth_type)?; header.append(&mut api_key); Ok(header) } pub fn connector_base_url_payments<'a, F, Req, Res>( &self, req: &'a RouterDataV2<F, PaymentFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } pub fn connector_base_url_refunds<'a, F, Req, Res>( &self, req: &'a RouterDataV2<F, RefundFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } } ); // Trait implementations with generic type parameters impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthorizeV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } // Higher-level trait implementations
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 100, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_125_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs &self, req: &'a RouterDataV2<F, RefundFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } } ); // Trait implementations with generic type parameters impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthorizeV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 125, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_125_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs &self, req: &'a RouterDataV2<F, RefundFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } } ); // Trait implementations with generic type parameters impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthorizeV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } // Higher-level trait implementations impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ValidationTrait for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 125, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_125_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs &self, req: &'a RouterDataV2<F, RefundFlowData, Req, Res>, ) -> &'a str { &req.resource_common_data.connectors.placetopay.base_url } } ); // Trait implementations with generic type parameters impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthorizeV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } // Higher-level trait implementations impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ValidationTrait for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentOrderCreate for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSessionToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentTokenV2<T> for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 125, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_150_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ValidationTrait for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentOrderCreate for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 150, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_150_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ValidationTrait for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentOrderCreate for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSessionToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentTokenV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidV2 for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 150, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_150_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ValidationTrait for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentOrderCreate for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentSessionToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentTokenV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::IncomingWebhook for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentCapture for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::SetupMandateV2<T> for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 150, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_175_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::IncomingWebhook for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundV2 for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 175, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_175_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::IncomingWebhook for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentCapture for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::SetupMandateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RepeatPaymentV2 for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 175, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_175_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::IncomingWebhook for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentCapture for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::SetupMandateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RepeatPaymentV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::AcceptDispute for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::DisputeDefend for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::SubmitEvidenceV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 175, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_200_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RepeatPaymentV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::AcceptDispute for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundSyncV2 for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 200, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_200_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RepeatPaymentV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::AcceptDispute for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::DisputeDefend for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::SubmitEvidenceV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAccessToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 200, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_200_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RepeatPaymentV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::AcceptDispute for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::RefundSyncV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::DisputeDefend for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::SubmitEvidenceV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAccessToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::CreateConnectorCustomer for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPreAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPostAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidPostCaptureV2 for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 200, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_225_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs connector_types::PaymentAccessToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::CreateConnectorCustomer for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPreAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 225, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_225_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs connector_types::PaymentAccessToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::CreateConnectorCustomer for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPreAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPostAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidPostCaptureV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< VoidPC,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 225, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_225_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs connector_types::PaymentAccessToken for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::CreateConnectorCustomer for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPreAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentPostAuthenticateV2<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::PaymentVoidPostCaptureV2 for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } // Finally implement ConnectorServiceTrait impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ConnectorServiceTrait<T> for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 225, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_250_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< VoidPC, PaymentFlowData,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 250, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_250_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } // Finally implement ConnectorServiceTrait impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ConnectorServiceTrait<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorCommon for Placetopay<T> { fn id(&self) -> &'static str {
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 250, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_250_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< VoidPC, PaymentFlowData, PaymentsCancelPostCaptureData, PaymentsResponseData, > for Placetopay<T> { } // Finally implement ConnectorServiceTrait impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> connector_types::ConnectorServiceTrait<T> for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorCommon for Placetopay<T> { fn id(&self) -> &'static str { "placetopay" } fn get_currency_unit(&self) -> common_enums::CurrencyUnit { common_enums::CurrencyUnit::Minor } fn base_url<'a>(&self, connectors: &'a Connectors) -> &'a str { connectors.placetopay.base_url.as_ref() } fn build_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { let response: placetopay::PlacetopayErrorResponse = res .response .parse_struct("PlacetopayErrorResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 250, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_275_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorCommon for Placetopay<T> { fn id(&self) -> &'static str { "placetopay" } fn get_currency_unit(&self) -> common_enums::CurrencyUnit { common_enums::CurrencyUnit::Minor } fn base_url<'a>(&self, connectors: &'a Connectors) -> &'a str { connectors.placetopay.base_url.as_ref() }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 275, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_275_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorCommon for Placetopay<T> { fn id(&self) -> &'static str { "placetopay" } fn get_currency_unit(&self) -> common_enums::CurrencyUnit { common_enums::CurrencyUnit::Minor } fn base_url<'a>(&self, connectors: &'a Connectors) -> &'a str { connectors.placetopay.base_url.as_ref() } fn build_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { let response: placetopay::PlacetopayErrorResponse = res .response .parse_struct("PlacetopayErrorResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_error_response_body!(event_builder, response); Ok(ErrorResponse { status_code: res.status_code,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 275, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_275_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorCommon for Placetopay<T> { fn id(&self) -> &'static str { "placetopay" } fn get_currency_unit(&self) -> common_enums::CurrencyUnit { common_enums::CurrencyUnit::Minor } fn base_url<'a>(&self, connectors: &'a Connectors) -> &'a str { connectors.placetopay.base_url.as_ref() } fn build_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { let response: placetopay::PlacetopayErrorResponse = res .response .parse_struct("PlacetopayErrorResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_error_response_body!(event_builder, response); Ok(ErrorResponse { status_code: res.status_code, code: response .status .reason .unwrap_or_else(|| NO_ERROR_CODE.to_string()), message: response .status .message .clone() .unwrap_or_else(|| NO_ERROR_MESSAGE.to_string()), reason: response.status.message, attempt_status: None, connector_transaction_id: None, network_decline_code: None, network_advice_code: None, network_error_message: None, }) } } // Macro implementation for Authorize flow
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 275, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_300_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs with_error_response_body!(event_builder, response); Ok(ErrorResponse { status_code: res.status_code, code: response .status .reason .unwrap_or_else(|| NO_ERROR_CODE.to_string()), message: response .status .message .clone() .unwrap_or_else(|| NO_ERROR_MESSAGE.to_string()), reason: response.status.message,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 300, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_300_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs with_error_response_body!(event_builder, response); Ok(ErrorResponse { status_code: res.status_code, code: response .status .reason .unwrap_or_else(|| NO_ERROR_CODE.to_string()), message: response .status .message .clone() .unwrap_or_else(|| NO_ERROR_MESSAGE.to_string()), reason: response.status.message, attempt_status: None, connector_transaction_id: None, network_decline_code: None, network_advice_code: None, network_error_message: None, }) } } // Macro implementation for Authorize flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPaymentsRequest<T>), curl_response: PlacetopayPaymentsResponse,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 300, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_300_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs with_error_response_body!(event_builder, response); Ok(ErrorResponse { status_code: res.status_code, code: response .status .reason .unwrap_or_else(|| NO_ERROR_CODE.to_string()), message: response .status .message .clone() .unwrap_or_else(|| NO_ERROR_MESSAGE.to_string()), reason: response.status.message, attempt_status: None, connector_transaction_id: None, network_decline_code: None, network_advice_code: None, network_error_message: None, }) } } // Macro implementation for Authorize flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPaymentsRequest<T>), curl_response: PlacetopayPaymentsResponse, flow_name: Authorize, resource_common_data: PaymentFlowData, flow_request: PaymentsAuthorizeData<T>, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/process", self.connector_base_url_payments(req))) }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 300, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_325_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPaymentsRequest<T>), curl_response: PlacetopayPaymentsResponse, flow_name: Authorize, resource_common_data: PaymentFlowData, flow_request: PaymentsAuthorizeData<T>, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 325, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_325_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPaymentsRequest<T>), curl_response: PlacetopayPaymentsResponse, flow_name: Authorize, resource_common_data: PaymentFlowData, flow_request: PaymentsAuthorizeData<T>, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/process", self.connector_base_url_payments(req))) } } ); // Macro implementation for PSync flow macros::macro_connector_implementation!(
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 325, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_325_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPaymentsRequest<T>), curl_response: PlacetopayPaymentsResponse, flow_name: Authorize, resource_common_data: PaymentFlowData, flow_request: PaymentsAuthorizeData<T>, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/process", self.connector_base_url_payments(req))) } } ); // Macro implementation for PSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPsyncRequest), curl_response: PlacetopayPSyncResponse, flow_name: PSync, resource_common_data: PaymentFlowData, flow_request: PaymentsSyncData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 325, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_350_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs } ); // Macro implementation for PSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPsyncRequest), curl_response: PlacetopayPSyncResponse, flow_name: PSync, resource_common_data: PaymentFlowData, flow_request: PaymentsSyncData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 350, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_350_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs } ); // Macro implementation for PSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPsyncRequest), curl_response: PlacetopayPSyncResponse, flow_name: PSync, resource_common_data: PaymentFlowData, flow_request: PaymentsSyncData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_payments(req))) } }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 350, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_350_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs } ); // Macro implementation for PSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayPsyncRequest), curl_response: PlacetopayPSyncResponse, flow_name: PSync, resource_common_data: PaymentFlowData, flow_request: PaymentsSyncData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_payments(req))) } } ); // Macro implementation for Capture flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayNextActionRequest), curl_response: PlacetopayCaptureResponse, flow_name: Capture, resource_common_data: PaymentFlowData, flow_request: PaymentsCaptureData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 350, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_375_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_payments(req))) } } ); // Macro implementation for Capture flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayNextActionRequest), curl_response: PlacetopayCaptureResponse, flow_name: Capture, resource_common_data: PaymentFlowData,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 375, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_375_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_payments(req))) } } ); // Macro implementation for Capture flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayNextActionRequest), curl_response: PlacetopayCaptureResponse, flow_name: Capture, resource_common_data: PaymentFlowData, flow_request: PaymentsCaptureData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 375, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_375_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs req: &RouterDataV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_payments(req))) } } ); // Macro implementation for Capture flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayNextActionRequest), curl_response: PlacetopayCaptureResponse, flow_name: Capture, resource_common_data: PaymentFlowData, flow_request: PaymentsCaptureData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Void flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayVoidRequest), curl_response: PlacetopayVoidResponse, flow_name: Void, resource_common_data: PaymentFlowData, flow_request: PaymentVoidData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: {
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 375, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_400_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Void flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 400, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_400_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Void flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayVoidRequest), curl_response: PlacetopayVoidResponse, flow_name: Void, resource_common_data: PaymentFlowData, flow_request: PaymentVoidData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req)
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 400, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_400_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Void flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayVoidRequest), curl_response: PlacetopayVoidResponse, flow_name: Void, resource_common_data: PaymentFlowData, flow_request: PaymentVoidData, flow_response: PaymentsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Refund flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayRefundRequest), curl_response: PlacetopayRefundResponse, flow_name: Refund, resource_common_data: RefundFlowData, flow_request: RefundsData, flow_response: RefundsResponseData,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 400, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_425_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs fn get_headers( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } );
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 425, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_425_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs fn get_headers( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Refund flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayRefundRequest), curl_response: PlacetopayRefundResponse, flow_name: Refund, resource_common_data: RefundFlowData, flow_request: RefundsData, flow_response: RefundsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers(
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 425, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_425_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs fn get_headers( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_payments(req))) } } ); // Macro implementation for Refund flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayRefundRequest), curl_response: PlacetopayRefundResponse, flow_name: Refund, resource_common_data: RefundFlowData, flow_request: RefundsData, flow_response: RefundsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_refunds(req))) } } ); // Macro implementation for RSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayRsyncRequest), curl_response: PlacetopayRSyncResponse,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 425, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_450_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_refunds(req)))
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 450, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_450_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_refunds(req))) } } ); // Macro implementation for RSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayRsyncRequest), curl_response: PlacetopayRSyncResponse, flow_name: RSync, resource_common_data: RefundFlowData, flow_request: RefundSyncData, flow_response: RefundsResponseData, http_method: Post,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 450, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_450_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/transaction", self.connector_base_url_refunds(req))) } } ); // Macro implementation for RSync flow macros::macro_connector_implementation!( connector_default_implementations: [get_content_type, get_error_response_v2], connector: Placetopay, curl_request: Json(PlacetopayRsyncRequest), curl_response: PlacetopayRSyncResponse, flow_name: RSync, resource_common_data: RefundFlowData, flow_request: RefundSyncData, flow_response: RefundsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_refunds(req))) } } ); // Stub implementations for unsupported flows impl<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 450, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_475_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs flow_name: RSync, resource_common_data: RefundFlowData, flow_request: RefundSyncData, flow_response: RefundsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url(
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 475, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_475_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs flow_name: RSync, resource_common_data: RefundFlowData, flow_request: RefundSyncData, flow_response: RefundsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_refunds(req))) } } ); // Stub implementations for unsupported flows impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 475, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_475_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs flow_name: RSync, resource_common_data: RefundFlowData, flow_request: RefundSyncData, flow_response: RefundsResponseData, http_method: Post, generic_type: T, [PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize], other_functions: { fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> { self.build_headers(req) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { Ok(format!("{}/query", self.connector_base_url_refunds(req))) } } ); // Stub implementations for unsupported flows impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 475, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_500_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 500, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_500_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData> for Placetopay<T> { } impl<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 500, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_500_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 500, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_525_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 525, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_525_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 525, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_525_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 525, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_550_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 550, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_550_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData> for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 550, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_550_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 550, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_575_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs + 'static + Serialize, > ConnectorIntegrationV2<RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 575, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_575_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs + 'static + Serialize, > ConnectorIntegrationV2<RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 575, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_575_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs + 'static + Serialize, > ConnectorIntegrationV2<RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData> for Placetopay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 575, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_600_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs ConnectorIntegrationV2< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 600, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_600_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs ConnectorIntegrationV2< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 600, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_600_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs ConnectorIntegrationV2< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { } // SourceVerification implementations for all flows impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 600, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_625_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 625, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_625_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { } // SourceVerification implementations for all flows impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 625, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_625_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> ConnectorIntegrationV2< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { } // SourceVerification implementations for all flows impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 625, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_650_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 650, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_650_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 650, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_650_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 650, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_675_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 675, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_675_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 675, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_675_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 675, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_700_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 700, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_700_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 700, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_700_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 700, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_725_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 725, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_725_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 725, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_725_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 725, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_750_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData, > for Placetopay<T>
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 750, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_750_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification<
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 750, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_750_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< RepeatPayment, PaymentFlowData, RepeatPaymentData, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PreAuthenticate, PaymentFlowData,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 750, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_775_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateAccessToken,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 775, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_775_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 775, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_775_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 775, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_800_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 800, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_800_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData,
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 800, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_800_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Placetopay<T> { } impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 35, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 800, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_825_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 10, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 825, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_825_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 10, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 825, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_3959697425557219616_825_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/placetopay.rs impl<T: PaymentMethodDataTypes + Debug + Sync + Send + 'static + Serialize> interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Placetopay<T> { }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 10, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 825, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_814751693867000820_0_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/helcim/transformers.rs use common_utils::{pii, types::FloatMajorUnit}; use domain_types::{ connector_flow::{Authorize, Capture, SetupMandate, Void}, connector_types::{ MandateReference, PaymentFlowData, PaymentVoidData, PaymentsAuthorizeData, PaymentsCaptureData, PaymentsResponseData, PaymentsSyncData, RefundFlowData, RefundSyncData, RefundsData, RefundsResponseData, ResponseId, SetupMandateRequestData, }, errors::{self, ConnectorError}, payment_method_data::{PaymentMethodData, PaymentMethodDataTypes, RawCardNumber}, router_data::ConnectorAuthType, router_data_v2::RouterDataV2, router_request_types::SyncRequestType, }; use error_stack::ResultExt;
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 0, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_814751693867000820_0_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/helcim/transformers.rs use common_utils::{pii, types::FloatMajorUnit}; use domain_types::{ connector_flow::{Authorize, Capture, SetupMandate, Void}, connector_types::{ MandateReference, PaymentFlowData, PaymentVoidData, PaymentsAuthorizeData, PaymentsCaptureData, PaymentsResponseData, PaymentsSyncData, RefundFlowData, RefundSyncData, RefundsData, RefundsResponseData, ResponseId, SetupMandateRequestData, }, errors::{self, ConnectorError}, payment_method_data::{PaymentMethodData, PaymentMethodDataTypes, RawCardNumber}, router_data::ConnectorAuthType, router_data_v2::RouterDataV2, router_request_types::SyncRequestType, }; use error_stack::ResultExt; use hyperswitch_masking::Secret; use serde::{Deserialize, Serialize}; use crate::{connectors::helcim::HelcimRouterData, types::ResponseRouterData}; // Note: HelcimRouterData is generated by the macro, so we don't define it here // The macro generates: pub struct crate::connectors::helcim::HelcimRouterData<RD: FlowTypes, T: PaymentMethodDataTypes + ..., T> { pub connector: Helcim<T>, pub router_data: RD } pub fn check_currency( currency: common_enums::Currency, ) -> Result<common_enums::Currency, errors::ConnectorError> { if currency == common_enums::Currency::USD { Ok(currency) } else { Err(errors::ConnectorError::NotSupported {
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 0, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_814751693867000820_0_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/helcim/transformers.rs use common_utils::{pii, types::FloatMajorUnit}; use domain_types::{ connector_flow::{Authorize, Capture, SetupMandate, Void}, connector_types::{ MandateReference, PaymentFlowData, PaymentVoidData, PaymentsAuthorizeData, PaymentsCaptureData, PaymentsResponseData, PaymentsSyncData, RefundFlowData, RefundSyncData, RefundsData, RefundsResponseData, ResponseId, SetupMandateRequestData, }, errors::{self, ConnectorError}, payment_method_data::{PaymentMethodData, PaymentMethodDataTypes, RawCardNumber}, router_data::ConnectorAuthType, router_data_v2::RouterDataV2, router_request_types::SyncRequestType, }; use error_stack::ResultExt; use hyperswitch_masking::Secret; use serde::{Deserialize, Serialize}; use crate::{connectors::helcim::HelcimRouterData, types::ResponseRouterData}; // Note: HelcimRouterData is generated by the macro, so we don't define it here // The macro generates: pub struct crate::connectors::helcim::HelcimRouterData<RD: FlowTypes, T: PaymentMethodDataTypes + ..., T> { pub connector: Helcim<T>, pub router_data: RD } pub fn check_currency( currency: common_enums::Currency, ) -> Result<common_enums::Currency, errors::ConnectorError> { if currency == common_enums::Currency::USD { Ok(currency) } else { Err(errors::ConnectorError::NotSupported { message: format!("currency {currency} is not supported for this merchant account"), connector: "Helcim", })? } } // Auth Struct pub struct HelcimAuthType { pub(super) api_key: Secret<String>, } impl TryFrom<&ConnectorAuthType> for HelcimAuthType { type Error = error_stack::Report<errors::ConnectorError>; fn try_from(auth_type: &ConnectorAuthType) -> Result<Self, Self::Error> { match auth_type { ConnectorAuthType::HeaderKey { api_key } => Ok(Self { api_key: api_key.to_owned(), }), _ => Err(errors::ConnectorError::FailedToObtainAuthType.into()), }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 0, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_814751693867000820_25_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/helcim/transformers.rs ) -> Result<common_enums::Currency, errors::ConnectorError> { if currency == common_enums::Currency::USD { Ok(currency) } else { Err(errors::ConnectorError::NotSupported { message: format!("currency {currency} is not supported for this merchant account"), connector: "Helcim", })? } } // Auth Struct pub struct HelcimAuthType { pub(super) api_key: Secret<String>, }
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 25, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_814751693867000820_25_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/helcim/transformers.rs ) -> Result<common_enums::Currency, errors::ConnectorError> { if currency == common_enums::Currency::USD { Ok(currency) } else { Err(errors::ConnectorError::NotSupported { message: format!("currency {currency} is not supported for this merchant account"), connector: "Helcim", })? } } // Auth Struct pub struct HelcimAuthType { pub(super) api_key: Secret<String>, } impl TryFrom<&ConnectorAuthType> for HelcimAuthType { type Error = error_stack::Report<errors::ConnectorError>; fn try_from(auth_type: &ConnectorAuthType) -> Result<Self, Self::Error> { match auth_type { ConnectorAuthType::HeaderKey { api_key } => Ok(Self { api_key: api_key.to_owned(), }), _ => Err(errors::ConnectorError::FailedToObtainAuthType.into()), } } } #[derive(Debug, Serialize)] #[serde(rename_all = "camelCase")]
{ "chunk": null, "crate": "connector-integration", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 25, "struct_name": null, "total_crates": null, "trait_name": null }