mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(business_profile): add profile id in affected tables and modify api contract (#1971)
This commit is contained in:
@ -89,6 +89,7 @@ impl<T: DatabaseStore> PaymentIntentInterface for KVRouterStore<T> {
|
||||
connector_metadata: new.connector_metadata.clone(),
|
||||
feature_metadata: new.feature_metadata.clone(),
|
||||
attempt_count: new.attempt_count,
|
||||
profile_id: new.profile_id.clone(),
|
||||
};
|
||||
|
||||
match self
|
||||
@ -603,6 +604,7 @@ impl DataModelExt for PaymentIntentNew {
|
||||
connector_metadata: self.connector_metadata,
|
||||
feature_metadata: self.feature_metadata,
|
||||
attempt_count: self.attempt_count,
|
||||
profile_id: self.profile_id,
|
||||
}
|
||||
}
|
||||
|
||||
@ -637,6 +639,7 @@ impl DataModelExt for PaymentIntentNew {
|
||||
connector_metadata: storage_model.connector_metadata,
|
||||
feature_metadata: storage_model.feature_metadata,
|
||||
attempt_count: storage_model.attempt_count,
|
||||
profile_id: storage_model.profile_id,
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -676,6 +679,7 @@ impl DataModelExt for PaymentIntent {
|
||||
connector_metadata: self.connector_metadata,
|
||||
feature_metadata: self.feature_metadata,
|
||||
attempt_count: self.attempt_count,
|
||||
profile_id: self.profile_id,
|
||||
}
|
||||
}
|
||||
|
||||
@ -711,6 +715,7 @@ impl DataModelExt for PaymentIntent {
|
||||
connector_metadata: storage_model.connector_metadata,
|
||||
feature_metadata: storage_model.feature_metadata,
|
||||
attempt_count: storage_model.attempt_count,
|
||||
profile_id: storage_model.profile_id,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user