mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
feat(business_profile): add field in profile for manual retry (#9266)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -3476,6 +3476,7 @@ impl ProfileCreateBridge for api::ProfileCreate {
|
||||
merchant_category_code: self.merchant_category_code,
|
||||
merchant_country_code: self.merchant_country_code,
|
||||
dispute_polling_interval: self.dispute_polling_interval,
|
||||
is_manual_retry_enabled: self.is_manual_retry_enabled,
|
||||
}))
|
||||
}
|
||||
|
||||
@ -3972,6 +3973,7 @@ impl ProfileUpdateBridge for api::ProfileUpdate {
|
||||
merchant_category_code: self.merchant_category_code,
|
||||
merchant_country_code: self.merchant_country_code,
|
||||
dispute_polling_interval: self.dispute_polling_interval,
|
||||
is_manual_retry_enabled: self.is_manual_retry_enabled,
|
||||
},
|
||||
)))
|
||||
}
|
||||
|
||||
@ -1289,6 +1289,7 @@ mod tests {
|
||||
is_pre_network_tokenization_enabled: false,
|
||||
merchant_category_code: None,
|
||||
dispute_polling_interval: None,
|
||||
is_manual_retry_enabled: None,
|
||||
});
|
||||
|
||||
let business_profile = state
|
||||
|
||||
@ -233,6 +233,7 @@ impl ForeignTryFrom<domain::Profile> for ProfileResponse {
|
||||
merchant_category_code: item.merchant_category_code,
|
||||
merchant_country_code: item.merchant_country_code,
|
||||
dispute_polling_interval: item.dispute_polling_interval,
|
||||
is_manual_retry_enabled: item.is_manual_retry_enabled,
|
||||
})
|
||||
}
|
||||
}
|
||||
@ -490,5 +491,6 @@ pub async fn create_profile_from_merchant_account(
|
||||
merchant_category_code: request.merchant_category_code,
|
||||
merchant_country_code: request.merchant_country_code,
|
||||
dispute_polling_interval: request.dispute_polling_interval,
|
||||
is_manual_retry_enabled: request.is_manual_retry_enabled,
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user