mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	fix(refunds): Add aliases on refund status for backwards compatibility (#5216)
This commit is contained in:
		| @ -1574,11 +1574,16 @@ pub enum PaymentType { | ||||
| #[strum(serialize_all = "snake_case")] | ||||
| #[serde(rename_all = "snake_case")] | ||||
| pub enum RefundStatus { | ||||
|     #[serde(alias = "Failure")] | ||||
|     Failure, | ||||
|     #[serde(alias = "ManualReview")] | ||||
|     ManualReview, | ||||
|     #[default] | ||||
|     #[serde(alias = "Pending")] | ||||
|     Pending, | ||||
|     #[serde(alias = "Success")] | ||||
|     Success, | ||||
|     #[serde(alias = "TransactionFailure")] | ||||
|     TransactionFailure, | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sampras Lopes
					Sampras Lopes