Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor: add serde rename_all for refund enums (#1520)
Chethan Rao0c8624334c48
diff --git a/crates/storage_models/src/enums.rs b/crates/storage_models/src/enums.rsindex 0b7ff4ba7a..465b3a17fa 100644--- a/crates/storage_models/src/enums.rs+++ b/crates/storage_models/src/enums.rs@@ -528,6 +528,7 @@ pub enum ProcessTrackerStatus {)]#[router_derive::diesel_enum(storage_type = "pg_enum")]#[strum(serialize_all = "snake_case")]+#[serde(rename_all = "snake_case")]pub enum RefundStatus {Failure,ManualReview,@@ -551,6 +552,7 @@ pub enum RefundStatus {)]#[router_derive::diesel_enum(storage_type = "pg_enum")]#[strum(serialize_all = "snake_case")]+#[serde(rename_all = "snake_case")]pub enum RefundType {InstantRefund,#[default]