mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
chore: add customer, shipping and billing details to payment_response for payment list api (#5401)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -206,7 +206,9 @@ pub struct CustomerDetails {
|
||||
}
|
||||
|
||||
/// Details of customer attached to this payment
|
||||
#[derive(Debug, Default, serde::Serialize, Clone, ToSchema, PartialEq, Setter)]
|
||||
#[derive(
|
||||
Debug, Default, serde::Serialize, serde::Deserialize, Clone, ToSchema, PartialEq, Setter,
|
||||
)]
|
||||
pub struct CustomerDetailsResponse {
|
||||
/// The identifier for the customer.
|
||||
#[schema(value_type = Option<String>, max_length = 64, min_length = 1, example = "cus_y3oqhf46pyzuxjbcn2giaqnb44")]
|
||||
|
||||
Reference in New Issue
Block a user