From aed25fa4c1c92c53f88f86b3a4fbb0248ef5c89c Mon Sep 17 00:00:00 2001 From: dara Date: Thu, 28 Mar 2024 16:22:33 -0400 Subject: [PATCH] Add LaCore integration (#1851) * Add LaCore * Update openapi/components/schemas/GatewayAccountConfig/LaCore.yaml Co-authored-by: Chris <85164331+noon-dawg@users.noreply.github.com> --------- Co-authored-by: Chris <85164331+noon-dawg@users.noreply.github.com> --- .../components/schemas/GatewayAccount.yaml | 1 + .../schemas/GatewayAccountConfig/LaCore.yaml | 28 +++++++++++++++++++ openapi/components/schemas/GatewayName.yaml | 1 + 3 files changed, 30 insertions(+) create mode 100644 openapi/components/schemas/GatewayAccountConfig/LaCore.yaml diff --git a/openapi/components/schemas/GatewayAccount.yaml b/openapi/components/schemas/GatewayAccount.yaml index 2d5b3aec7d..16ef99d9fa 100755 --- a/openapi/components/schemas/GatewayAccount.yaml +++ b/openapi/components/schemas/GatewayAccount.yaml @@ -95,6 +95,7 @@ discriminator: Khelocard: ./GatewayAccountConfig/Khelocard.yaml Klarna: ./GatewayAccountConfig/Klarna.yaml Konnektive: ./GatewayAccountConfig/Konnektive.yaml + LaCore: ./GatewayAccountConfig/LaCore.yaml loonie: ./GatewayAccountConfig/loonie.yaml LPG: ./GatewayAccountConfig/LPG.yaml MaxiCash: ./GatewayAccountConfig/MaxiCash.yaml diff --git a/openapi/components/schemas/GatewayAccountConfig/LaCore.yaml b/openapi/components/schemas/GatewayAccountConfig/LaCore.yaml new file mode 100644 index 0000000000..cfb12bd749 --- /dev/null +++ b/openapi/components/schemas/GatewayAccountConfig/LaCore.yaml @@ -0,0 +1,28 @@ +description: LaCore gateway configuration. +allOf: + - $ref: ../GatewayAccount.yaml + - type: object + required: + - credentials + properties: + credentials: + type: object + description: LaCore credentials object. + properties: + merchantId: + type: string + description: ID of the LaCore merchant. + username: + type: string + description: Username of the LaCore merchant. + password: + type: string + description: Password of the LaCore merchant. + format: password + writeOnly: true + required: + - merchantId + - username + - password + threeDSecureServer: + $ref: ./ThreeDSecureIO3dsServer.yaml diff --git a/openapi/components/schemas/GatewayName.yaml b/openapi/components/schemas/GatewayName.yaml index 5e165353c9..c0d79817aa 100644 --- a/openapi/components/schemas/GatewayName.yaml +++ b/openapi/components/schemas/GatewayName.yaml @@ -97,6 +97,7 @@ enum: - Khelocard - Klarna - Konnektive + - LaCore - loonie - LPG - MaxiCash