mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(router): add fields in payments list response (#1987)
Co-authored-by: Harsha Pathuri <sri.harsha@cashfree.com>
This commit is contained in:
@ -729,6 +729,13 @@ impl ForeignFrom<(storage::PaymentIntent, storage::PaymentAttempt)> for api::Pay
|
|||||||
connector: pa.connector,
|
connector: pa.connector,
|
||||||
payment_method: pa.payment_method,
|
payment_method: pa.payment_method,
|
||||||
payment_method_type: pa.payment_method_type,
|
payment_method_type: pa.payment_method_type,
|
||||||
|
business_label: pi.business_label,
|
||||||
|
business_country: pi.business_country,
|
||||||
|
business_sub_label: pa.business_sub_label,
|
||||||
|
setup_future_usage: pi.setup_future_usage,
|
||||||
|
capture_method: pa.capture_method,
|
||||||
|
authentication_type: pa.authentication_type,
|
||||||
|
connector_transaction_id: pa.connector_transaction_id,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user