Skip to content

Commit

Permalink
fix(connector): [BANKOFAMERICA] Add status VOIDED in enum Bankofameri… (
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshu-iiitu committed Dec 20, 2023
1 parent 8dd380a commit e897b37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/router/src/connector/bankofamerica/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ impl From<BankofamericaRefundStatus> for enums::RefundStatus {
BankofamericaRefundStatus::Succeeded | BankofamericaRefundStatus::Transmitted => {
Self::Success
}
BankofamericaRefundStatus::Failed => Self::Failure,
BankofamericaRefundStatus::Failed | BankofamericaRefundStatus::Voided => Self::Failure,
BankofamericaRefundStatus::Pending => Self::Pending,
}
}
Expand Down Expand Up @@ -894,6 +894,7 @@ pub enum BankofamericaRefundStatus {
Transmitted,
Failed,
Pending,
Voided,
}

#[derive(Debug, Deserialize)]
Expand Down

0 comments on commit e897b37

Please sign in to comment.