mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	chore(connector_events_fields): added refund_id, dispute_id to connector events (#3424)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sampras Lopes <lsampras@pm.me>
This commit is contained in:
		| @ -176,6 +176,8 @@ pub async fn construct_payout_router_data<'a, F>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         refund_id: None, | ||||
|         dispute_id: None, | ||||
|     }; | ||||
|  | ||||
|     Ok(router_data) | ||||
| @ -328,6 +330,8 @@ pub async fn construct_refund_router_data<'a, F>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         refund_id: Some(refund.refund_id.clone()), | ||||
|         dispute_id: None, | ||||
|     }; | ||||
|  | ||||
|     Ok(router_data) | ||||
| @ -558,6 +562,8 @@ pub async fn construct_accept_dispute_router_data<'a>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         dispute_id: Some(dispute.dispute_id.clone()), | ||||
|         refund_id: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -646,6 +652,8 @@ pub async fn construct_submit_evidence_router_data<'a>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         refund_id: None, | ||||
|         dispute_id: Some(dispute.dispute_id.clone()), | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -740,6 +748,8 @@ pub async fn construct_upload_file_router_data<'a>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         refund_id: None, | ||||
|         dispute_id: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -831,6 +841,8 @@ pub async fn construct_defend_dispute_router_data<'a>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         refund_id: None, | ||||
|         dispute_id: Some(dispute.dispute_id.clone()), | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -915,6 +927,8 @@ pub async fn construct_retrieve_file_router_data<'a>( | ||||
|         external_latency: None, | ||||
|         apple_pay_flow: None, | ||||
|         frm_metadata: None, | ||||
|         refund_id: None, | ||||
|         dispute_id: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ivor-juspay
					ivor-juspay