id stringlengths 20 153 | type stringclasses 1
value | granularity stringclasses 14
values | content stringlengths 16 84.3k | metadata dict |
|---|---|---|---|---|
connector-service_snippet_3314128609778487701_450_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
.response
.parse_struct("RazorpayV2PaymentsResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
// Use the transformer for regular response handling
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
}
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
fn get_5xx_error_response(
&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": 450,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_450_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
.response
.parse_struct("RazorpayV2PaymentsResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
// Use the transformer for regular response handling
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
}
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
// Implement required traits for ConnectorServiceTrait
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAuthorizeV2<T> for RazorpayV2<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": 450,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_475_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
self.build_error_response(res, event_builder)
}
fn get_5xx_error_response(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
// Implement required traits for ConnectorServiceTrait
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": 475,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_475_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
self.build_error_response(res, event_builder)
}
fn get_5xx_error_response(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
// Implement required traits for ConnectorServiceTrait
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAuthorizeV2<T> for RazorpayV2<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": 475,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_475_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
self.build_error_response(res, event_builder)
}
fn get_5xx_error_response(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
// Implement required traits for ConnectorServiceTrait
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAuthorizeV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSyncV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentOrderCreate for RazorpayV2<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": 475,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_500_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSyncV2 for RazorpayV2<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": 500,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_500_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSyncV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentOrderCreate for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentVoidV2 for RazorpayV2<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": 500,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_500_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSyncV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentOrderCreate for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentVoidV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::IncomingWebhook for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundV2 for RazorpayV2<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": 500,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_525_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
> interfaces::connector_types::PaymentVoidV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::IncomingWebhook for RazorpayV2<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": 525,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_525_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
> interfaces::connector_types::PaymentVoidV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::IncomingWebhook for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundV2 for RazorpayV2<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": 525,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_525_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
> interfaces::connector_types::PaymentVoidV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::IncomingWebhook for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentCapture for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SetupMandateV2<T> for RazorpayV2<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": 525,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_550_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentCapture for RazorpayV2<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": 550,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_550_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentCapture for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SetupMandateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::AcceptDispute for RazorpayV2<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": 550,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_550_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentCapture for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SetupMandateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::AcceptDispute for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundSyncV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::DisputeDefend for RazorpayV2<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": 550,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_575_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
> interfaces::connector_types::AcceptDispute for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundSyncV2 for RazorpayV2<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": 575,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_575_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
> interfaces::connector_types::AcceptDispute for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundSyncV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::DisputeDefend for RazorpayV2<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": 575,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_575_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
> interfaces::connector_types::AcceptDispute for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RefundSyncV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::DisputeDefend for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SubmitEvidenceV2 for RazorpayV2<T>
{
}
// Type alias for non-generic trait implementations
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateSessionToken,
PaymentFlowData,
SessionTokenRequestData,
SessionTokenResponseData,
> for RazorpayV2<T>
{
}
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 50,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 575,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_600_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SubmitEvidenceV2 for RazorpayV2<T>
{
}
// Type alias for non-generic trait implementations
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": 600,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_600_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SubmitEvidenceV2 for RazorpayV2<T>
{
}
// Type alias for non-generic trait implementations
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateSessionToken,
PaymentFlowData,
SessionTokenRequestData,
SessionTokenResponseData,
> for RazorpayV2<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": 30,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 600,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_600_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::SubmitEvidenceV2 for RazorpayV2<T>
{
}
// Type alias for non-generic trait implementations
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateSessionToken,
PaymentFlowData,
SessionTokenRequestData,
SessionTokenResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<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": 600,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_625_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<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": 625,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_625_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
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": 30,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 625,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_625_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::ConnectorServiceTrait<T> for RazorpayV2<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": 625,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_650_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>
ConnectorIntegrationV2<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<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": 650,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_650_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>
ConnectorIntegrationV2<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::ConnectorServiceTrait<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSessionToken for RazorpayV2<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": 650,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_650_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>
ConnectorIntegrationV2<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::ConnectorServiceTrait<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSessionToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAccessToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> connector_types::CreateConnectorCustomer for RazorpayV2<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": 650,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_675_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSessionToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAccessToken for RazorpayV2<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": 675,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_675_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSessionToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAccessToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> connector_types::CreateConnectorCustomer for RazorpayV2<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": 30,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 675,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_675_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentSessionToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAccessToken for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> connector_types::CreateConnectorCustomer for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentTokenV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RepeatPaymentV2 for RazorpayV2<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": 675,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_700_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentTokenV2<T> for RazorpayV2<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": 700,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_700_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentTokenV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RepeatPaymentV2 for RazorpayV2<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": 700,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_700_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentTokenV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::RepeatPaymentV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPreAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAuthenticateV2<T> for RazorpayV2<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": 700,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_725_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPreAuthenticateV2<T> for RazorpayV2<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": 15,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 725,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_725_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPreAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPostAuthenticateV2<T> for RazorpayV2<T>
{
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 30,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 725,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_725_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPreAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPostAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentVoidPostCaptureV2 for RazorpayV2<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": 725,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_750_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPostAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentVoidPostCaptureV2 for RazorpayV2<T>
{
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 15,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 750,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_750_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPostAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentVoidPostCaptureV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
VoidPC,
PaymentFlowData,
PaymentsCancelPostCaptureData,
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": 750,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_750_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentPostAuthenticateV2<T> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> interfaces::connector_types::PaymentVoidPostCaptureV2 for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
VoidPC,
PaymentFlowData,
PaymentsCancelPostCaptureData,
PaymentsResponseData,
> for RazorpayV2<T>
{
}
// Stub implementations for flows not yet implemented
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>
for RazorpayV2<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": 750,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_775_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
ConnectorIntegrationV2<
VoidPC,
PaymentFlowData,
PaymentsCancelPostCaptureData,
PaymentsResponseData,
> for RazorpayV2<T>
{
}
// Stub implementations for flows not yet implemented
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": 15,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 775,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_775_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
ConnectorIntegrationV2<
VoidPC,
PaymentFlowData,
PaymentsCancelPostCaptureData,
PaymentsResponseData,
> for RazorpayV2<T>
{
}
// Stub implementations for flows not yet implemented
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> 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": 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_3314128609778487701_775_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
ConnectorIntegrationV2<
VoidPC,
PaymentFlowData,
PaymentsCancelPostCaptureData,
PaymentsResponseData,
> for RazorpayV2<T>
{
}
// Stub implementations for flows not yet implemented
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Void, PaymentFlowData, PaymentVoidData, PaymentsResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>
for RazorpayV2<T>
{
fn get_http_method(&self) -> common_utils::Method {
common_utils::Method::Get
}
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
| {
"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_3314128609778487701_800_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>
for RazorpayV2<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": 800,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_800_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>
for RazorpayV2<T>
{
fn get_http_method(&self) -> common_utils::Method {
common_utils::Method::Get
}
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
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": 800,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_800_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Capture, PaymentFlowData, PaymentsCaptureData, PaymentsResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<PSync, PaymentFlowData, PaymentsSyncData, PaymentsResponseData>
for RazorpayV2<T>
{
fn get_http_method(&self) -> common_utils::Method {
common_utils::Method::Get
}
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 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_3314128609778487701_825_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(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": 825,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_825_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
// Check if request_ref_id is provided to determine URL pattern
let request_ref_id = &req.resource_common_data.connector_request_reference_id;
if !request_ref_id.is_empty() {
| {
"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_3314128609778487701_825_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
// Check if request_ref_id is provided to determine URL pattern
let request_ref_id = &req.resource_common_data.connector_request_reference_id;
if !request_ref_id.is_empty() {
// Use orders endpoint when request_ref_id is provided
let url = format!("{base_url}v1/orders/{request_ref_id}/payments");
Ok(url)
} else {
// Extract payment ID from connector_transaction_id for standard payment sync
let payment_id = match &req.request.connector_transaction_id {
ResponseId::ConnectorTransactionId(id) => id,
ResponseId::EncodedData(data) => data,
ResponseId::NoResponseId => {
return Err(errors::ConnectorError::MissingRequiredField {
field_name: "connector_transaction_id",
}
.into());
}
};
let url = format!("{base_url}v1/payments/{payment_id}");
Ok(url)
}
}
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 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_3314128609778487701_850_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
// Check if request_ref_id is provided to determine URL pattern
let request_ref_id = &req.resource_common_data.connector_request_reference_id;
if !request_ref_id.is_empty() {
// Use orders endpoint when request_ref_id is provided
let url = format!("{base_url}v1/orders/{request_ref_id}/payments");
Ok(url)
} else {
// Extract payment ID from connector_transaction_id for standard payment sync
let payment_id = match &req.request.connector_transaction_id {
ResponseId::ConnectorTransactionId(id) => id,
ResponseId::EncodedData(data) => data,
ResponseId::NoResponseId => {
return Err(errors::ConnectorError::MissingRequiredField {
| {
"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_3314128609778487701_850_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
// Check if request_ref_id is provided to determine URL pattern
let request_ref_id = &req.resource_common_data.connector_request_reference_id;
if !request_ref_id.is_empty() {
// Use orders endpoint when request_ref_id is provided
let url = format!("{base_url}v1/orders/{request_ref_id}/payments");
Ok(url)
} else {
// Extract payment ID from connector_transaction_id for standard payment sync
let payment_id = match &req.request.connector_transaction_id {
ResponseId::ConnectorTransactionId(id) => id,
ResponseId::EncodedData(data) => data,
ResponseId::NoResponseId => {
return Err(errors::ConnectorError::MissingRequiredField {
field_name: "connector_transaction_id",
}
.into());
}
};
let url = format!("{base_url}v1/payments/{payment_id}");
Ok(url)
}
}
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
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": 850,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_850_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
// Check if request_ref_id is provided to determine URL pattern
let request_ref_id = &req.resource_common_data.connector_request_reference_id;
if !request_ref_id.is_empty() {
// Use orders endpoint when request_ref_id is provided
let url = format!("{base_url}v1/orders/{request_ref_id}/payments");
Ok(url)
} else {
// Extract payment ID from connector_transaction_id for standard payment sync
let payment_id = match &req.request.connector_transaction_id {
ResponseId::ConnectorTransactionId(id) => id,
ResponseId::EncodedData(data) => data,
ResponseId::NoResponseId => {
return Err(errors::ConnectorError::MissingRequiredField {
field_name: "connector_transaction_id",
}
.into());
}
};
let url = format!("{base_url}v1/payments/{payment_id}");
Ok(url)
}
}
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
| {
"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_3314128609778487701_875_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
| {
"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_3314128609778487701_875_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
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": 875,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_875_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
errors::ConnectorError,
> {
// Parse the response using the enum that handles both collection and direct payment responses
let sync_response: razorpayv2::RazorpayV2SyncResponse = res
.response
.parse_struct("RazorpayV2SyncResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&sync_response)
}
// Use the transformer for PSync response handling
RouterDataV2::foreign_try_from((
sync_response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
| {
"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_3314128609778487701_900_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
errors::ConnectorError,
> {
// Parse the response using the enum that handles both collection and direct payment responses
let sync_response: razorpayv2::RazorpayV2SyncResponse = res
.response
.parse_struct("RazorpayV2SyncResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = 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": 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_3314128609778487701_900_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
errors::ConnectorError,
> {
// Parse the response using the enum that handles both collection and direct payment responses
let sync_response: razorpayv2::RazorpayV2SyncResponse = res
.response
.parse_struct("RazorpayV2SyncResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&sync_response)
}
// Use the transformer for PSync response handling
RouterDataV2::foreign_try_from((
sync_response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.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": 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_3314128609778487701_900_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
domain_types::router_data_v2::RouterDataV2<
PSync,
PaymentFlowData,
PaymentsSyncData,
PaymentsResponseData,
>,
errors::ConnectorError,
> {
// Parse the response using the enum that handles both collection and direct payment responses
let sync_response: razorpayv2::RazorpayV2SyncResponse = res
.response
.parse_struct("RazorpayV2SyncResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&sync_response)
}
// Use the transformer for PSync response handling
RouterDataV2::foreign_try_from((
sync_response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
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": 900,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_925_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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": 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_3314128609778487701_925_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::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": 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_3314128609778487701_925_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::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 RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_http_method(&self) -> common_utils::Method {
common_utils::Method::Get
}
| {
"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_3314128609778487701_950_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
SetupMandate,
PaymentFlowData,
SetupMandateRequestData<T>,
PaymentsResponseData,
> for RazorpayV2<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": 950,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_950_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
SetupMandate,
PaymentFlowData,
SetupMandateRequestData<T>,
PaymentsResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_http_method(&self) -> common_utils::Method {
common_utils::Method::Get
}
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
| {
"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_3314128609778487701_950_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
SetupMandate,
PaymentFlowData,
SetupMandateRequestData<T>,
PaymentsResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<RSync, RefundFlowData, RefundSyncData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_http_method(&self) -> common_utils::Method {
common_utils::Method::Get
}
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
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": 950,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_975_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
| {
"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_3314128609778487701_975_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 30,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 975,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_975_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
// Extract refund ID from connector_refund_id
let refund_id = &req.request.connector_refund_id;
Ok(format!("{base_url}v1/refunds/{refund_id}"))
}
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
| {
"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_3314128609778487701_1000_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
// Extract refund ID from connector_refund_id
let refund_id = &req.request.connector_refund_id;
Ok(format!("{base_url}v1/refunds/{refund_id}"))
}
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
RSync,
| {
"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_3314128609778487701_1000_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
// Extract refund ID from connector_refund_id
let refund_id = &req.request.connector_refund_id;
Ok(format!("{base_url}v1/refunds/{refund_id}"))
}
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
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": 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_3314128609778487701_1000_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
// Extract refund ID from connector_refund_id
let refund_id = &req.request.connector_refund_id;
Ok(format!("{base_url}v1/refunds/{refund_id}"))
}
fn get_request_body(
&self,
_req: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
) -> CustomResult<Option<RequestContent>, errors::ConnectorError> {
// GET request doesn't need a body
Ok(None)
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&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": 1000,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1025_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
&self,
data: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
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": 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_3314128609778487701_1025_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
&self,
data: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
RouterDataV2::foreign_try_from((
response,
data.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": 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_3314128609778487701_1025_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
&self,
data: &domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
RSync,
RefundFlowData,
RefundSyncData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::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": 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_3314128609778487701_1050_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&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": 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_3314128609778487701_1050_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
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": 1050,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1050_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::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<Refund, RefundFlowData, RefundsData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = 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": 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_3314128609778487701_1075_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_headers(
&self,
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 15,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 1075,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1075_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 30,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "connector-service",
"start_line": 1075,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1075_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
}
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Refund, RefundFlowData, RefundsData, RefundsResponseData>
for RazorpayV2<T>
{
fn get_headers(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<Vec<(String, Maskable<String>)>, errors::ConnectorError> {
let mut headers = vec![(
headers::CONTENT_TYPE.to_string(),
"application/json".to_string().into(),
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
let connector_payment_id = &req.request.connector_transaction_id;
Ok(format!(
"{base_url}v1/payments/{connector_payment_id}/refund"
))
}
fn get_request_body(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
| {
"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_3314128609778487701_1100_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<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": 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_3314128609778487701_1100_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
let connector_payment_id = &req.request.connector_transaction_id;
Ok(format!(
"{base_url}v1/payments/{connector_payment_id}/refund"
))
}
fn get_request_body(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
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": 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_3314128609778487701_1100_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
)];
let mut auth_headers = self.get_auth_header(&req.connector_auth_type)?;
headers.append(&mut auth_headers);
Ok(headers)
}
fn get_url(
&self,
req: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
) -> CustomResult<String, errors::ConnectorError> {
let base_url = &req.resource_common_data.connectors.razorpayv2.base_url;
let connector_payment_id = &req.request.connector_transaction_id;
Ok(format!(
"{base_url}v1/payments/{connector_payment_id}/refund"
))
}
fn get_request_body(
&self,
req: &domain_types::router_data_v2::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 connector_router_data = razorpayv2::RazorpayV2RouterData::<
&RefundsData,
DefaultPCIHolder,
>::try_from((converted_amount, &req.request, None))?;
let connector_req = razorpayv2::RazorpayV2RefundRequest::try_from(&connector_router_data)?;
Ok(Some(RequestContent::Json(Box::new(connector_req))))
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
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": 1100,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1125_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
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 connector_router_data = razorpayv2::RazorpayV2RouterData::<
&RefundsData,
DefaultPCIHolder,
>::try_from((converted_amount, &req.request, None))?;
let connector_req = razorpayv2::RazorpayV2RefundRequest::try_from(&connector_router_data)?;
| {
"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_3314128609778487701_1125_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
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 connector_router_data = razorpayv2::RazorpayV2RouterData::<
&RefundsData,
DefaultPCIHolder,
>::try_from((converted_amount, &req.request, None))?;
let connector_req = razorpayv2::RazorpayV2RefundRequest::try_from(&connector_router_data)?;
Ok(Some(RequestContent::Json(Box::new(connector_req))))
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
| {
"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_3314128609778487701_1125_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
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 connector_router_data = razorpayv2::RazorpayV2RouterData::<
&RefundsData,
DefaultPCIHolder,
>::try_from((converted_amount, &req.request, None))?;
let connector_req = razorpayv2::RazorpayV2RefundRequest::try_from(&connector_router_data)?;
Ok(Some(RequestContent::Json(Box::new(connector_req))))
}
fn handle_response_v2(
&self,
data: &domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
| {
"chunk": null,
"crate": "connector-integration",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": 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_3314128609778487701_1150_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
| {
"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_3314128609778487701_1150_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.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": 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_3314128609778487701_1150_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>,
event_builder: Option<&mut events::Event>,
res: Response,
) -> CustomResult<
domain_types::router_data_v2::RouterDataV2<
Refund,
RefundFlowData,
RefundsData,
RefundsResponseData,
>,
errors::ConnectorError,
> {
let response: razorpayv2::RazorpayV2RefundResponse = res
.response
.parse_struct("RazorpayV2RefundResponse")
.change_context(errors::ConnectorError::ResponseDeserializationFailed)?;
if let Some(i) = event_builder {
i.set_connector_response(&response)
}
RouterDataV2::foreign_try_from((
response,
data.clone(),
res.status_code,
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
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": 1150,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1175_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
fn get_5xx_error_response(
&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_3314128609778487701_1175_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::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<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": 1175,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1175_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
res.response.to_vec(),
))
.change_context(errors::ConnectorError::ResponseHandlingFailed)
}
fn get_error_response_v2(
&self,
res: Response,
event_builder: Option<&mut events::Event>,
) -> CustomResult<domain_types::router_data::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<domain_types::router_data::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<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData>
for RazorpayV2<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_3314128609778487701_1200_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData>
for RazorpayV2<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": 1200,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1200_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData>
for RazorpayV2<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": 1200,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1200_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<Accept, DisputeFlowData, AcceptDisputeData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<SubmitEvidence, DisputeFlowData, SubmitEvidenceData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateSessionToken,
PaymentFlowData,
SessionTokenRequestData,
SessionTokenResponseData,
> for RazorpayV2<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": 1200,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1225_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData>
for RazorpayV2<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_3314128609778487701_1225_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateSessionToken,
PaymentFlowData,
SessionTokenRequestData,
SessionTokenResponseData,
> for RazorpayV2<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": 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_3314128609778487701_1225_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
> ConnectorIntegrationV2<DefendDispute, DisputeFlowData, DisputeDefendData, DisputeResponseData>
for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateSessionToken,
PaymentFlowData,
SessionTokenRequestData,
SessionTokenResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<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": 1225,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1250_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<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": 1250,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1250_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<T>
{
}
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": 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_3314128609778487701_1250_50 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateAccessToken,
PaymentFlowData,
AccessTokenRequestData,
AccessTokenResponseData,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
interfaces::verification::SourceVerification<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
PaymentMethodToken,
PaymentFlowData,
PaymentMethodTokenizationData<T>,
PaymentMethodTokenResponse,
> for RazorpayV2<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": 1250,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1275_15 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>
interfaces::verification::SourceVerification<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<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": 1275,
"struct_name": null,
"total_crates": null,
"trait_name": null
} |
connector-service_snippet_3314128609778487701_1275_30 | clm | snippet | // connector-service/backend/connector-integration/src/connectors/razorpayv2.rs
>
interfaces::verification::SourceVerification<
CreateConnectorCustomer,
PaymentFlowData,
ConnectorCustomerData,
ConnectorCustomerResponse,
> for RazorpayV2<T>
{
}
impl<
T: PaymentMethodDataTypes
+ std::fmt::Debug
+ std::marker::Sync
+ std::marker::Send
+ 'static
+ Serialize,
>
ConnectorIntegrationV2<
PaymentMethodToken,
PaymentFlowData,
PaymentMethodTokenizationData<T>,
PaymentMethodTokenResponse,
> for RazorpayV2<T>
{
}
// SourceVerification implementations for all flows
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": 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
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.