id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
connector-service_snippet_-6237025837336624155_775_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs let connector_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayOrderRequest::try_from(&connector_router_data)?; Ok(Some(RequestContent::FormUrlEncoded(Box::new( connector_req, )))) } fn handle_response_v2( &self, data: &RouterDataV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, >, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, >, errors::ConnectorError, > { let response: razorpay::RazorpayOrderResponse = res .response .parse_struct("RazorpayOrderResponse")
{ "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_-6237025837336624155_775_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs let connector_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayOrderRequest::try_from(&connector_router_data)?; Ok(Some(RequestContent::FormUrlEncoded(Box::new( connector_req, )))) } fn handle_response_v2( &self, data: &RouterDataV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, >, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, >, errors::ConnectorError, > { let response: razorpay::RazorpayOrderResponse = res .response .parse_struct("RazorpayOrderResponse") .map_err(|_| errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code, false)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>,
{ "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_-6237025837336624155_800_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs errors::ConnectorError, > { let response: razorpay::RazorpayOrderResponse = res .response .parse_struct("RazorpayOrderResponse") .map_err(|_| errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code, false)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &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": 800, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_800_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs errors::ConnectorError, > { let response: razorpay::RazorpayOrderResponse = res .response .parse_struct("RazorpayOrderResponse") .map_err(|_| errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code, false)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } }
{ "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_-6237025837336624155_800_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs errors::ConnectorError, > { let response: razorpay::RazorpayOrderResponse = res .response .parse_struct("RazorpayOrderResponse") .map_err(|_| errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code, false)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData> for Razorpay<T> { fn get_http_method(&self) -> Method { Method::Get } fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, 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": 800, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_825_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData> for Razorpay<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": 825, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_825_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData> for Razorpay<T> { fn get_http_method(&self) -> Method { Method::Get } fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, { let mut header = vec![( headers::CONTENT_TYPE.to_string(), "application/json".to_string().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": 30, "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_-6237025837336624155_825_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData> for Razorpay<T> { fn get_http_method(&self) -> Method { Method::Get } fn get_headers( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, { 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) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let refund_id = req.request.connector_refund_id.clone(); Ok(format!( "{}v1/refunds/{}", req.resource_common_data.connectors.razorpay.base_url, refund_id )) } fn handle_response_v2( &self, data: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, event_builder: Option<&mut events::Event>,
{ "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": 825, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_850_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { 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) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let refund_id = req.request.connector_refund_id.clone();
{ "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": 850, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_850_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { 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) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let refund_id = req.request.connector_refund_id.clone(); Ok(format!( "{}v1/refunds/{}", req.resource_common_data.connectors.razorpay.base_url, refund_id )) } fn handle_response_v2( &self, data: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, 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": 850, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_850_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { 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) } fn get_url( &self, req: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let refund_id = req.request.connector_refund_id.clone(); Ok(format!( "{}v1/refunds/{}", req.resource_common_data.connectors.razorpay.base_url, refund_id )) } fn handle_response_v2( &self, data: &RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundSyncResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response(
{ "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": 850, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_875_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs res: Response, ) -> CustomResult< RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundSyncResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) }
{ "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": 875, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_875_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs res: Response, ) -> CustomResult< RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundSyncResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder)
{ "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": 875, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_875_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs res: Response, ) -> CustomResult< RouterDataV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundSyncResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > connector_types::IncomingWebhook for Razorpay<T> { fn get_event_type( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<EventType, error_stack::Report<errors::ConnectorError>> { let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed)
{ "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": 875, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_900_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } 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": 900, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_900_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > connector_types::IncomingWebhook for Razorpay<T> { fn get_event_type( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<EventType, error_stack::Report<errors::ConnectorError>> { let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoing webhook body {err}")) })?; if payload.refund.is_some() { Ok(EventType::RefundSuccess)
{ "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": 900, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_900_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > connector_types::IncomingWebhook for Razorpay<T> { fn get_event_type( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<EventType, error_stack::Report<errors::ConnectorError>> { let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoing webhook body {err}")) })?; if payload.refund.is_some() { Ok(EventType::RefundSuccess) } else { Ok(EventType::PaymentIntentSuccess) } } fn process_payment_webhook( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<WebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoding webhook body {err}")) })?; let notif = payload.payment.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?;
{ "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": 900, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_925_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs .attach_printable(format!("error while decoing webhook body {err}")) })?; if payload.refund.is_some() { Ok(EventType::RefundSuccess) } else { Ok(EventType::PaymentIntentSuccess) } } fn process_payment_webhook( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>,
{ "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": 925, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_925_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs .attach_printable(format!("error while decoing webhook body {err}")) })?; if payload.refund.is_some() { Ok(EventType::RefundSuccess) } else { Ok(EventType::PaymentIntentSuccess) } } fn process_payment_webhook( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<WebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoding webhook body {err}")) })?; let notif = payload.payment.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?; Ok(WebhookDetailsResponse { resource_id: Some(ResponseId::ConnectorTransactionId(notif.entity.order_id)), status: transformers::get_razorpay_payment_webhook_status( notif.entity.entity,
{ "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": 925, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_925_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs .attach_printable(format!("error while decoing webhook body {err}")) })?; if payload.refund.is_some() { Ok(EventType::RefundSuccess) } else { Ok(EventType::PaymentIntentSuccess) } } fn process_payment_webhook( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<WebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoding webhook body {err}")) })?; let notif = payload.payment.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?; Ok(WebhookDetailsResponse { resource_id: Some(ResponseId::ConnectorTransactionId(notif.entity.order_id)), status: transformers::get_razorpay_payment_webhook_status( notif.entity.entity, notif.entity.status, )?, mandate_reference: None, connector_response_reference_id: None, error_code: notif.entity.error_code, error_message: notif.entity.error_reason, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None, transformation_status: common_enums::WebhookTransformationStatus::Complete, minor_amount_captured: None, amount_captured: None, error_reason: None, network_txn_id: None, }) } fn process_refund_webhook( &self, request: RequestDetails,
{ "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": 925, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_950_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs Ok(WebhookDetailsResponse { resource_id: Some(ResponseId::ConnectorTransactionId(notif.entity.order_id)), status: transformers::get_razorpay_payment_webhook_status( notif.entity.entity, notif.entity.status, )?, mandate_reference: None, connector_response_reference_id: None, error_code: notif.entity.error_code, error_message: notif.entity.error_reason, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None, transformation_status: common_enums::WebhookTransformationStatus::Complete,
{ "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": 950, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_950_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs Ok(WebhookDetailsResponse { resource_id: Some(ResponseId::ConnectorTransactionId(notif.entity.order_id)), status: transformers::get_razorpay_payment_webhook_status( notif.entity.entity, notif.entity.status, )?, mandate_reference: None, connector_response_reference_id: None, error_code: notif.entity.error_code, error_message: notif.entity.error_reason, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None, transformation_status: common_enums::WebhookTransformationStatus::Complete, minor_amount_captured: None, amount_captured: None, error_reason: None, network_txn_id: None, }) } fn process_refund_webhook( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<RefundWebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| {
{ "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": 950, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_950_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs Ok(WebhookDetailsResponse { resource_id: Some(ResponseId::ConnectorTransactionId(notif.entity.order_id)), status: transformers::get_razorpay_payment_webhook_status( notif.entity.entity, notif.entity.status, )?, mandate_reference: None, connector_response_reference_id: None, error_code: notif.entity.error_code, error_message: notif.entity.error_reason, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None, transformation_status: common_enums::WebhookTransformationStatus::Complete, minor_amount_captured: None, amount_captured: None, error_reason: None, network_txn_id: None, }) } fn process_refund_webhook( &self, request: RequestDetails, _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<RefundWebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoing webhook body {err}")) })?; let notif = payload.refund.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?; Ok(RefundWebhookDetailsResponse { connector_refund_id: Some(notif.entity.id), status: transformers::get_razorpay_refund_webhook_status( notif.entity.entity, notif.entity.status, )?, connector_response_reference_id: None, error_code: None, error_message: None, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None,
{ "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": 950, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_975_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<RefundWebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoing webhook body {err}")) })?; let notif = payload.refund.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?; Ok(RefundWebhookDetailsResponse { connector_refund_id: Some(notif.entity.id),
{ "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": 975, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_975_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<RefundWebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoing webhook body {err}")) })?; let notif = payload.refund.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?; Ok(RefundWebhookDetailsResponse { connector_refund_id: Some(notif.entity.id), status: transformers::get_razorpay_refund_webhook_status( notif.entity.entity, notif.entity.status, )?, connector_response_reference_id: None, error_code: None, error_message: None, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None, }) } } 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": 975, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_975_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs _connector_webhook_secret: Option<ConnectorWebhookSecrets>, _connector_account_details: Option<ConnectorAuthType>, ) -> Result<RefundWebhookDetailsResponse, error_stack::Report<errors::ConnectorError>> { let request_body_copy = request.body.clone(); let payload = transformers::get_webhook_object_from_body(request.body).map_err(|err| { report!(errors::ConnectorError::WebhookBodyDecodingFailed) .attach_printable(format!("error while decoing webhook body {err}")) })?; let notif = payload.refund.ok_or_else(|| { error_stack::Report::new(errors::ConnectorError::RequestEncodingFailed) })?; Ok(RefundWebhookDetailsResponse { connector_refund_id: Some(notif.entity.id), status: transformers::get_razorpay_refund_webhook_status( notif.entity.entity, notif.entity.status, )?, connector_response_reference_id: None, error_code: None, error_message: None, raw_connector_response: Some(String::from_utf8_lossy(&request_body_copy).to_string()), status_code: 200, response_headers: None, }) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData> for Razorpay<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": 975, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1000_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs }) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData> for Razorpay<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": 1000, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1000_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs }) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData> for Razorpay<T> { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> 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": 1000, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1000_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs }) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData> for Razorpay<T> { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, { 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) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let connector_payment_id = req.request.connector_transaction_id.clone(); Ok(format!( "{}v1/payments/{}/refund", req.resource_common_data.connectors.razorpay.base_url, connector_payment_id
{ "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": 1000, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1025_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, { 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": 1025, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1025_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, { 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) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let connector_payment_id = req.request.connector_transaction_id.clone(); Ok(format!( "{}v1/payments/{}/refund", req.resource_common_data.connectors.razorpay.base_url, connector_payment_id )) } fn get_request_body( &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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1025, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1025_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { fn get_headers( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, { 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) } fn get_url( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let connector_payment_id = req.request.connector_transaction_id.clone(); Ok(format!( "{}v1/payments/{}/refund", req.resource_common_data.connectors.razorpay.base_url, connector_payment_id )) } fn get_request_body( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_refund_amount, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let refund_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayRefundRequest::try_from(&refund_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_req)))) } fn handle_response_v2( &self, data: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, 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": 1025, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1050_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs )) } fn get_request_body( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_refund_amount, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let refund_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayRefundRequest::try_from(&refund_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_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": 1050, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1050_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs )) } fn get_request_body( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_refund_amount, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let refund_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayRefundRequest::try_from(&refund_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_req)))) } fn handle_response_v2( &self, data: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundResponse") .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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1050, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1050_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs )) } fn get_request_body( &self, req: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_refund_amount, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let refund_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayRefundRequest::try_from(&refund_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_req)))) } fn handle_response_v2( &self, data: &RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, 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": 1050, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1075_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response,
{ "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": 1075, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1075_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } 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": 1075, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1075_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs > { let response: razorpay::RazorpayRefundResponse = res .response .parse_struct("RazorpayRefundResponse") .change_context(errors::ConnectorError::ResponseDeserializationFailed)?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData> for Razorpay<T> { fn get_headers( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2< 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": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1075, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1100_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData> for Razorpay<T> { 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": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1100, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1100_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData> for Razorpay<T> { fn get_headers( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, >, { let mut header = vec![( headers::CONTENT_TYPE.to_string(), "application/json".to_string().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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1100, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1100_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData> for Razorpay<T> { fn get_headers( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> where Self: ConnectorIntegrationV2< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, >, { 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) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let id = match &req.request.connector_transaction_id { ResponseId::ConnectorTransactionId(id) => id, _ => { return Err(errors::ConnectorError::MissingConnectorTransactionID.into()); } }; Ok(format!( "{}v1/payments/{}/capture", req.resource_common_data.connectors.razorpay.base_url, id )) }
{ "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": 1100, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1125_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { 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) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let id = match &req.request.connector_transaction_id {
{ "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": 1125, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1125_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { 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) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let id = match &req.request.connector_transaction_id { ResponseId::ConnectorTransactionId(id) => id, _ => { return Err(errors::ConnectorError::MissingConnectorTransactionID.into()); } }; Ok(format!( "{}v1/payments/{}/capture", req.resource_common_data.connectors.razorpay.base_url, id )) } fn get_request_body( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Option<RequestContent>, 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": 1125, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1125_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { 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) } fn get_url( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<String, errors::ConnectorError> { let id = match &req.request.connector_transaction_id { ResponseId::ConnectorTransactionId(id) => id, _ => { return Err(errors::ConnectorError::MissingConnectorTransactionID.into()); } }; Ok(format!( "{}v1/payments/{}/capture", req.resource_common_data.connectors.razorpay.base_url, id )) } fn get_request_body( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_amount_to_capture, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let connector_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayCaptureRequest::try_from(&connector_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_req)))) } fn handle_response_v2( &self, data: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayCaptureResponse = 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": 1125, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1150_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs fn get_request_body( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_amount_to_capture, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let connector_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayCaptureRequest::try_from(&connector_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_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": 1150, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1150_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs fn get_request_body( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_amount_to_capture, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let connector_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayCaptureRequest::try_from(&connector_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_req)))) } fn handle_response_v2( &self, data: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayCaptureResponse = res .response .parse_struct("RazorpayCaptureResponse") .map_err(|err| { report!(errors::ConnectorError::ResponseDeserializationFailed) .attach_printable(format!("Failed to parse RazorpayCaptureResponse: {err:?}"))
{ "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": 1150, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1150_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs fn get_request_body( &self, req: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, ) -> CustomResult<Option<RequestContent>, errors::ConnectorError> { let converted_amount = self .amount_converter .convert(req.request.minor_amount_to_capture, req.request.currency) .change_context(errors::ConnectorError::RequestEncodingFailed)?; let connector_router_data = razorpay::RazorpayRouterData::try_from((converted_amount, req))?; let connector_req = razorpay::RazorpayCaptureRequest::try_from(&connector_router_data)?; Ok(Some(RequestContent::Json(Box::new(connector_req)))) } fn handle_response_v2( &self, data: &RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, event_builder: Option<&mut events::Event>, res: Response, ) -> CustomResult< RouterDataV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>, errors::ConnectorError, > { let response: razorpay::RazorpayCaptureResponse = res .response .parse_struct("RazorpayCaptureResponse") .map_err(|err| { report!(errors::ConnectorError::ResponseDeserializationFailed) .attach_printable(format!("Failed to parse RazorpayCaptureResponse: {err:?}")) })?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>,
{ "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": 1150, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1175_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs .response .parse_struct("RazorpayCaptureResponse") .map_err(|err| { report!(errors::ConnectorError::ResponseDeserializationFailed) .attach_printable(format!("Failed to parse RazorpayCaptureResponse: {err:?}")) })?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &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": 1175, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1175_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs .response .parse_struct("RazorpayCaptureResponse") .map_err(|err| { report!(errors::ConnectorError::ResponseDeserializationFailed) .attach_printable(format!("Failed to parse RazorpayCaptureResponse: {err:?}")) })?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } }
{ "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": 1175, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1175_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs .response .parse_struct("RazorpayCaptureResponse") .map_err(|err| { report!(errors::ConnectorError::ResponseDeserializationFailed) .attach_printable(format!("Failed to parse RazorpayCaptureResponse: {err:?}")) })?; with_response_body!(event_builder, response); RouterDataV2::foreign_try_from((response, data.clone(), res.status_code)) .change_context(errors::ConnectorError::ResponseHandlingFailed) } fn get_error_response_v2( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } fn get_5xx_error_response( &self, res: Response, event_builder: Option<&mut events::Event>, ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug
{ "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": 1175, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1200_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate,
{ "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": 1200, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1200_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, 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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1200, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1200_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ) -> CustomResult<ErrorResponse, errors::ConnectorError> { self.build_error_response(res, event_builder) } } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug
{ "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": 1200, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1225_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Razorpay<T> { } 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": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1225, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1225_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, 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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1225, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1225_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<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": 1225, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1250_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Razorpay<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": 1250, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1250_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1250, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1250_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData> for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<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": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1250, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1275_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<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": 1275, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1275_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, 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": 1275, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1275_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Razorpay<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": 1275, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1300_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } 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": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1300, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1300_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } // SourceVerification implementations for all flows impl< T: PaymentMethodDataTypes + std::fmt::Debug
{ "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": 1300, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1300_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs ConnectorIntegrationV2< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > ConnectorIntegrationV2< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } // SourceVerification implementations for all flows impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Razorpay<T> { } 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": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1300, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1325_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs // SourceVerification implementations for all flows impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, 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": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1325, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1325_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs // SourceVerification implementations for all flows impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateSessionToken, 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": 1325, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1325_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs // SourceVerification implementations for all flows impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authorize, PaymentFlowData, PaymentsAuthorizeData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Razorpay<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": 1325, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1350_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + Serialize, > interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync
{ "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": 1350, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1350_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + Serialize, > interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Razorpay<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": 1350, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1350_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + Serialize, > interfaces::verification::SourceVerification< CreateSessionToken, PaymentFlowData, SessionTokenRequestData, SessionTokenResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateAccessToken, PaymentFlowData, AccessTokenRequestData, AccessTokenResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Razorpay<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": 1350, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1375_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData,
{ "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": 1375, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1375_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PSync,
{ "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": 1375, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1375_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateConnectorCustomer, PaymentFlowData, ConnectorCustomerData, ConnectorCustomerResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< 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": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1375, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1400_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + 'static + Serialize, > interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug
{ "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": 1400, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1400_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + 'static + Serialize, > interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, > for Razorpay<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": 1400, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1400_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + 'static + Serialize, > interfaces::verification::SourceVerification< PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync
{ "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": 1400, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1425_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Void, 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": 1425, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1425_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::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": 1425, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1425_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< RSync, RefundFlowData, RefundSyncData,
{ "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": 1425, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1450_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Razorpay<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": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1450, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1450_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Razorpay<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": 1450, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1450_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Refund, RefundFlowData, RefundsData, RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< RSync, RefundFlowData, RefundSyncData, RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug
{ "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": 1450, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1475_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SetupMandate,
{ "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": 1475, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1475_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Razorpay<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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1475, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1475_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs RefundsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SetupMandate, PaymentFlowData, SetupMandateRequestData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData,
{ "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": 1475, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1500_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Razorpay<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": 15, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1500, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1500_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData, > for Razorpay<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": 1500, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1500_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData, > for Razorpay<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": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1500, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1525_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs SubmitEvidenceData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::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": 1525, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1525_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs SubmitEvidenceData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData, > for Razorpay<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": 30, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1525, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1525_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs SubmitEvidenceData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PaymentMethodToken,
{ "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": 1525, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1550_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Razorpay<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": 1550, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1550_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<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": 1550, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1550_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< CreateOrder, PaymentFlowData, PaymentCreateOrderData, PaymentCreateOrderResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PaymentMethodToken, PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<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": 50, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "connector-service", "start_line": 1550, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1575_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<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": 1575, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1575_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } 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": 1575, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1575_50
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs PaymentFlowData, PaymentMethodTokenizationData<T>, PaymentMethodTokenResponse, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PreAuthenticate, PaymentFlowData, PaymentsPreAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::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": 1575, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1600_15
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<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": 1600, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_snippet_-6237025837336624155_1600_30
clm
snippet
// connector-service/backend/connector-integration/src/connectors/razorpay.rs T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< Authenticate, PaymentFlowData, PaymentsAuthenticateData<T>, PaymentsResponseData, > for Razorpay<T> { } impl< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > interfaces::verification::SourceVerification< PostAuthenticate, PaymentFlowData, PaymentsPostAuthenticateData<T>, PaymentsResponseData, > for Razorpay<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": 1600, "struct_name": null, "total_crates": null, "trait_name": null }