refactor: rename the payment request struct (#48)

This commit is contained in:
Narayan Bhat
2022-12-01 16:30:34 +05:30
committed by GitHub
parent 5a5ac61d01
commit 2a050cc340
29 changed files with 436 additions and 710 deletions

View File

@ -80,7 +80,7 @@ pub async fn construct_refund_router_data<'a, F>(
address: PaymentAddress::default(),
auth_type: payment_attempt.authentication_type.unwrap_or_default(),
request: types::RefundsRequestData {
request: types::RefundsData {
refund_id: refund.refund_id.clone(),
payment_method_data,
connector_transaction_id: refund.transaction_id.clone(),