feat: Add payment collection creation for cart (#6527)

This commit is contained in:
Oli Juhl
2024-03-04 09:02:01 +01:00
committed by GitHub
parent 71ed21de4a
commit 883cb0dca7
11 changed files with 371 additions and 8 deletions
+13 -5
View File
@@ -23,10 +23,18 @@ export const joinerConfig: ModuleJoinerConfig = {
serviceName: Modules.PAYMENT,
primaryKeys: ["id"],
linkableKeys: LinkableKeys,
alias: {
name: ["payment", "payments"],
args: {
entity: Payment.name,
alias: [
{
name: ["payment", "payments"],
args: {
entity: Payment.name,
},
},
},
{
name: ["payment_collection", "payment_collections"],
args: {
entity: PaymentCollection.name,
},
},
],
}