From 2326a9f286ecdc73fbb732756256343bab1455c1 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 22 Aug 2023 14:55:57 +0000 Subject: [PATCH 1/2] [PAGOPA-1164] psp business name: first impl --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 4 ++-- helm/values-prod.yaml | 4 ++-- helm/values-uat.yaml | 4 ++-- openapi/openapi-node.json | 2 +- openapi/openapi.json | 2 +- pom.xml | 2 +- src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java | 1 + .../gov/pagopa/afm/calculator/model/calculator/Transfer.java | 1 + .../gov/pagopa/afm/calculator/service/CalculatorService.java | 1 + src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java | 3 +++ src/test/resources/responses/getAmexFees.json | 3 ++- src/test/resources/responses/getFees.json | 3 ++- src/test/resources/responses/getFees2.json | 3 ++- src/test/resources/responses/getFees3.json | 3 ++- src/test/resources/responses/getFeesNoInTransfer.json | 3 ++- src/test/resources/responses/getFeesPaymentTypeNull.json | 3 ++- src/test/resources/responses/getFeesSubThreshold.json | 3 ++- 18 files changed, 31 insertions(+), 18 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 75d3354e..6a9660bf 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-afm-calculator description: Microservice that handles calculation for pagoPA Advanced Fees Management type: application -version: 2.25.0 -appVersion: 2.6.7 +version: 2.26.0 +appVersion: 2.6.8 dependencies: - name: microservice-chart version: 1.21.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 43feadae..add4aa06 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always livenessProbe: httpGet: @@ -110,7 +110,7 @@ microservice-chart: create: true image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always envConfig: envSecret: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 8ee2ac56..323d3bb5 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always livenessProbe: httpGet: @@ -109,7 +109,7 @@ microservice-chart: create: true image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always envConfig: envSecret: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index fa785608..ce102e14 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always livenessProbe: httpGet: @@ -109,7 +109,7 @@ microservice-chart: create: true image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always envConfig: envSecret: diff --git a/openapi/openapi-node.json b/openapi/openapi-node.json index 2c05b870..ebe16aa2 100644 --- a/openapi/openapi-node.json +++ b/openapi/openapi-node.json @@ -4,7 +4,7 @@ "title": "PagoPA API Calculator Logic for Node", "description": "Calculator Logic microservice for pagoPA AFM", "termsOfService": "https://www.pagopa.gov.it/", - "version": "2.6.7" + "version": "2.6.8" }, "servers": [ { diff --git a/openapi/openapi.json b/openapi/openapi.json index 11276d1a..86341883 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "title": "PagoPA API Calculator Logic", "description": "Calculator Logic microservice for pagoPA AFM", "termsOfService": "https://www.pagopa.gov.it/", - "version": "2.6.7" + "version": "2.6.8" }, "servers": [ { diff --git a/pom.xml b/pom.xml index e95fef95..e88a7b7b 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ it.gov.pagopa calculator - 2.6.7 + 2.6.8 afm-calculator Calculator Logic microservice for pagoPA AFM diff --git a/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java b/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java index c1c3e2f4..287a2c16 100644 --- a/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java +++ b/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java @@ -30,6 +30,7 @@ public class Bundle { @PartitionKey private String idPsp; private String abi; + private String pspBusinessName; private String name; private String description; diff --git a/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java b/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java index 19d7823a..f4a579ab 100644 --- a/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java +++ b/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java @@ -30,6 +30,7 @@ public class Transfer implements Comparable, Serializable { private String idBrokerPsp; private Boolean onUs; private String abi; + private String pspBusinessName; @Override public int compareTo(Transfer t) { diff --git a/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java b/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java index d8bebdc9..aeac536b 100644 --- a/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java +++ b/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java @@ -251,6 +251,7 @@ private Transfer createTransfer( .idChannel(bundle.getIdChannel()) .onUs(this.getOnUsValue(bundle, paymentOption)) .abi(bundle.getAbi()) + .pspBusinessName(bundle.getPspBusinessName()) .build(); } diff --git a/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java b/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java index 59e0571e..6ceb4c85 100644 --- a/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java +++ b/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java @@ -69,6 +69,7 @@ public static ValidBundle getMockGlobalValidBundle() { .id("2") .name("bundle2") .idPsp("123") + .pspBusinessName("psp business name 2") .paymentAmount(2L) .minPaymentAmount(0L) .maxPaymentAmount(1000L) @@ -85,6 +86,7 @@ public static ValidBundle getMockValidBundle() { .name("bundle1") .idPsp("ABC") .abi("14156") + .pspBusinessName("psp business name 1") .paymentAmount(1L) .minPaymentAmount(0L) .maxPaymentAmount(1000L) @@ -105,6 +107,7 @@ public static ValidBundle getMockAmexValidBundle() { .idChannel("AMEX_ONUS") .name("bundle1") .idPsp("AMEX") + .pspBusinessName("psp business name amex") .abi("36019") .paymentAmount(1L) .minPaymentAmount(0L) diff --git a/src/test/resources/responses/getAmexFees.json b/src/test/resources/responses/getAmexFees.json index 0deb4451..6e1321f3 100644 --- a/src/test/resources/responses/getAmexFees.json +++ b/src/test/resources/responses/getAmexFees.json @@ -14,7 +14,8 @@ "idChannel": "AMEX_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "36019" + "abi": "36019", + "pspBusinessName": "psp business name amex" } ] } diff --git a/src/test/resources/responses/getFees.json b/src/test/resources/responses/getFees.json index 035c679e..8061e5d1 100644 --- a/src/test/resources/responses/getFees.json +++ b/src/test/resources/responses/getFees.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFees2.json b/src/test/resources/responses/getFees2.json index 24ec83b5..60f51877 100644 --- a/src/test/resources/responses/getFees2.json +++ b/src/test/resources/responses/getFees2.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFees3.json b/src/test/resources/responses/getFees3.json index e3add793..54ce5fd3 100644 --- a/src/test/resources/responses/getFees3.json +++ b/src/test/resources/responses/getFees3.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFeesNoInTransfer.json b/src/test/resources/responses/getFeesNoInTransfer.json index c92ca795..32492559 100644 --- a/src/test/resources/responses/getFeesNoInTransfer.json +++ b/src/test/resources/responses/getFeesNoInTransfer.json @@ -14,7 +14,8 @@ "idChannel": null, "idBrokerPsp": null, "onUs": false, - "abi": null + "abi": null, + "pspBusinessName": "psp business name 2" } ] } diff --git a/src/test/resources/responses/getFeesPaymentTypeNull.json b/src/test/resources/responses/getFeesPaymentTypeNull.json index 89868d9d..1e64c40a 100644 --- a/src/test/resources/responses/getFeesPaymentTypeNull.json +++ b/src/test/resources/responses/getFeesPaymentTypeNull.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFeesSubThreshold.json b/src/test/resources/responses/getFeesSubThreshold.json index d9ca9c3f..8d5f60f5 100644 --- a/src/test/resources/responses/getFeesSubThreshold.json +++ b/src/test/resources/responses/getFeesSubThreshold.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } From 72166ec1bd4b0987c24328bb44b6b38d716b445c Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 22 Aug 2023 14:55:57 +0000 Subject: [PATCH 2/2] [PAGOPA-1164] psp business name: update integration test --- helm/Chart.yaml | 4 +-- helm/values-dev.yaml | 4 +-- helm/values-prod.yaml | 4 +-- helm/values-uat.yaml | 4 +-- integration-test/src/config/data.json | 28 +++++++++++++------ .../src/features/getFeeByPsp.feature | 9 ++++-- integration-test/src/features/getFees.feature | 3 +- openapi/openapi-node.json | 2 +- openapi/openapi.json | 2 +- pom.xml | 2 +- .../pagopa/afm/calculator/entity/Bundle.java | 1 + .../calculator/model/calculator/Transfer.java | 1 + .../calculator/service/CalculatorService.java | 1 + .../gov/pagopa/afm/calculator/TestUtil.java | 3 ++ src/test/resources/responses/getAmexFees.json | 3 +- src/test/resources/responses/getFees.json | 3 +- src/test/resources/responses/getFees2.json | 3 +- src/test/resources/responses/getFees3.json | 3 +- .../responses/getFeesNoInTransfer.json | 3 +- .../responses/getFeesPaymentTypeNull.json | 3 +- .../responses/getFeesSubThreshold.json | 3 +- 21 files changed, 58 insertions(+), 31 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 75d3354e..6a9660bf 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-afm-calculator description: Microservice that handles calculation for pagoPA Advanced Fees Management type: application -version: 2.25.0 -appVersion: 2.6.7 +version: 2.26.0 +appVersion: 2.6.8 dependencies: - name: microservice-chart version: 1.21.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 43feadae..add4aa06 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always livenessProbe: httpGet: @@ -110,7 +110,7 @@ microservice-chart: create: true image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always envConfig: envSecret: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 8ee2ac56..323d3bb5 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always livenessProbe: httpGet: @@ -109,7 +109,7 @@ microservice-chart: create: true image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always envConfig: envSecret: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index fa785608..ce102e14 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always livenessProbe: httpGet: @@ -109,7 +109,7 @@ microservice-chart: create: true image: repository: ghcr.io/pagopa/pagopa-afm-calculator - tag: "2.6.7" + tag: "2.6.8" pullPolicy: Always envConfig: envSecret: diff --git a/integration-test/src/config/data.json b/integration-test/src/config/data.json index f6964e86..51ba4258 100644 --- a/integration-test/src/config/data.json +++ b/integration-test/src/config/data.json @@ -17,7 +17,8 @@ "validityDateTo": null, "touchpoint": "ANY", "paymentType": null, - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-1" }, { "id": "int-test-2", @@ -36,7 +37,8 @@ "validityDateFrom": null, "validityDateTo": null, "touchpoint": "ANY", - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-2" }, { "id": "int-test-3", @@ -56,7 +58,8 @@ "validityDateFrom": null, "validityDateTo": null, "touchpoint": "ANY", - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-3" }, { "id": "int-test-4", @@ -72,6 +75,7 @@ "maxPaymentAmount": 999999999999999, "type": "GLOBAL", "abi": 14156, + "pspBusinessName": "psp business name int-test-4", "transferCategoryList": [ "TAX1" ], @@ -102,7 +106,8 @@ ], "validityDateFrom": null, "validityDateTo": null, - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-5" }, { "id": "int-test-6", @@ -121,7 +126,8 @@ "validityDateFrom": null, "validityDateTo": null, "paymentType": null, - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-6" }, { "id": "int-test-7", @@ -140,7 +146,8 @@ "validityDateFrom": null, "validityDateTo": null, "paymentType": null, - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-7" }, { "id": "int-test-8", @@ -159,7 +166,8 @@ "validityDateFrom": null, "validityDateTo": null, "paymentType": null, - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-8" }, { "id": "int-test-9", @@ -178,7 +186,8 @@ "validityDateFrom": null, "validityDateTo": null, "paymentType": null, - "abi": 14156 + "abi": 14156, + "pspBusinessName": "psp business name int-test-9" }, { "id": "int-test-10", @@ -197,7 +206,8 @@ "validityDateTo": null, "touchpoint": "ANY", "paymentType": "CP", - "abi": 36019 + "abi": 36019, + "pspBusinessName": "psp business name int-test-10" } ], "ciBundles": [ diff --git a/integration-test/src/features/getFeeByPsp.feature b/integration-test/src/features/getFeeByPsp.feature index 5a6b7c37..3a6172d3 100644 --- a/integration-test/src/features/getFeeByPsp.feature +++ b/integration-test/src/features/getFeeByPsp.feature @@ -44,7 +44,8 @@ Feature: GetFeeByPsp "idBrokerPsp": "88888888899", "idChannel": "88888888899_01_ONUS", "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name int-test-1" } ] } @@ -178,7 +179,8 @@ Feature: GetFeeByPsp "idBrokerPsp": "88888888899", "idChannel": "88888888899_01_ONUS", "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name int-test-7" } ] } @@ -314,7 +316,8 @@ Feature: GetFeeByPsp "idBrokerPsp": "88888888899", "idChannel": "AMEX_ONUS", "onUs": true, - "abi": "36019" + "abi": "36019", + "pspBusinessName": "psp business name int-test-10" } ] } diff --git a/integration-test/src/features/getFees.feature b/integration-test/src/features/getFees.feature index eb86fba6..c87c36d2 100644 --- a/integration-test/src/features/getFees.feature +++ b/integration-test/src/features/getFees.feature @@ -179,7 +179,8 @@ Feature: GetFees - Get List of fees by CI, amount, method, touchpoint "idChannel": "88888888899_01_ONUS", "idBrokerPsp": "88888888899", "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name int-test-7" } ] } diff --git a/openapi/openapi-node.json b/openapi/openapi-node.json index 2c05b870..ebe16aa2 100644 --- a/openapi/openapi-node.json +++ b/openapi/openapi-node.json @@ -4,7 +4,7 @@ "title": "PagoPA API Calculator Logic for Node", "description": "Calculator Logic microservice for pagoPA AFM", "termsOfService": "https://www.pagopa.gov.it/", - "version": "2.6.7" + "version": "2.6.8" }, "servers": [ { diff --git a/openapi/openapi.json b/openapi/openapi.json index 11276d1a..86341883 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "title": "PagoPA API Calculator Logic", "description": "Calculator Logic microservice for pagoPA AFM", "termsOfService": "https://www.pagopa.gov.it/", - "version": "2.6.7" + "version": "2.6.8" }, "servers": [ { diff --git a/pom.xml b/pom.xml index e95fef95..e88a7b7b 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ it.gov.pagopa calculator - 2.6.7 + 2.6.8 afm-calculator Calculator Logic microservice for pagoPA AFM diff --git a/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java b/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java index c1c3e2f4..287a2c16 100644 --- a/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java +++ b/src/main/java/it/gov/pagopa/afm/calculator/entity/Bundle.java @@ -30,6 +30,7 @@ public class Bundle { @PartitionKey private String idPsp; private String abi; + private String pspBusinessName; private String name; private String description; diff --git a/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java b/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java index 19d7823a..f4a579ab 100644 --- a/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java +++ b/src/main/java/it/gov/pagopa/afm/calculator/model/calculator/Transfer.java @@ -30,6 +30,7 @@ public class Transfer implements Comparable, Serializable { private String idBrokerPsp; private Boolean onUs; private String abi; + private String pspBusinessName; @Override public int compareTo(Transfer t) { diff --git a/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java b/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java index d8bebdc9..aeac536b 100644 --- a/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java +++ b/src/main/java/it/gov/pagopa/afm/calculator/service/CalculatorService.java @@ -251,6 +251,7 @@ private Transfer createTransfer( .idChannel(bundle.getIdChannel()) .onUs(this.getOnUsValue(bundle, paymentOption)) .abi(bundle.getAbi()) + .pspBusinessName(bundle.getPspBusinessName()) .build(); } diff --git a/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java b/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java index 59e0571e..6ceb4c85 100644 --- a/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java +++ b/src/test/java/it/gov/pagopa/afm/calculator/TestUtil.java @@ -69,6 +69,7 @@ public static ValidBundle getMockGlobalValidBundle() { .id("2") .name("bundle2") .idPsp("123") + .pspBusinessName("psp business name 2") .paymentAmount(2L) .minPaymentAmount(0L) .maxPaymentAmount(1000L) @@ -85,6 +86,7 @@ public static ValidBundle getMockValidBundle() { .name("bundle1") .idPsp("ABC") .abi("14156") + .pspBusinessName("psp business name 1") .paymentAmount(1L) .minPaymentAmount(0L) .maxPaymentAmount(1000L) @@ -105,6 +107,7 @@ public static ValidBundle getMockAmexValidBundle() { .idChannel("AMEX_ONUS") .name("bundle1") .idPsp("AMEX") + .pspBusinessName("psp business name amex") .abi("36019") .paymentAmount(1L) .minPaymentAmount(0L) diff --git a/src/test/resources/responses/getAmexFees.json b/src/test/resources/responses/getAmexFees.json index 0deb4451..6e1321f3 100644 --- a/src/test/resources/responses/getAmexFees.json +++ b/src/test/resources/responses/getAmexFees.json @@ -14,7 +14,8 @@ "idChannel": "AMEX_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "36019" + "abi": "36019", + "pspBusinessName": "psp business name amex" } ] } diff --git a/src/test/resources/responses/getFees.json b/src/test/resources/responses/getFees.json index 035c679e..8061e5d1 100644 --- a/src/test/resources/responses/getFees.json +++ b/src/test/resources/responses/getFees.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFees2.json b/src/test/resources/responses/getFees2.json index 24ec83b5..60f51877 100644 --- a/src/test/resources/responses/getFees2.json +++ b/src/test/resources/responses/getFees2.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFees3.json b/src/test/resources/responses/getFees3.json index e3add793..54ce5fd3 100644 --- a/src/test/resources/responses/getFees3.json +++ b/src/test/resources/responses/getFees3.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": true, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFeesNoInTransfer.json b/src/test/resources/responses/getFeesNoInTransfer.json index c92ca795..32492559 100644 --- a/src/test/resources/responses/getFeesNoInTransfer.json +++ b/src/test/resources/responses/getFeesNoInTransfer.json @@ -14,7 +14,8 @@ "idChannel": null, "idBrokerPsp": null, "onUs": false, - "abi": null + "abi": null, + "pspBusinessName": "psp business name 2" } ] } diff --git a/src/test/resources/responses/getFeesPaymentTypeNull.json b/src/test/resources/responses/getFeesPaymentTypeNull.json index 89868d9d..1e64c40a 100644 --- a/src/test/resources/responses/getFeesPaymentTypeNull.json +++ b/src/test/resources/responses/getFeesPaymentTypeNull.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] } diff --git a/src/test/resources/responses/getFeesSubThreshold.json b/src/test/resources/responses/getFeesSubThreshold.json index d9ca9c3f..8d5f60f5 100644 --- a/src/test/resources/responses/getFeesSubThreshold.json +++ b/src/test/resources/responses/getFeesSubThreshold.json @@ -14,7 +14,8 @@ "idChannel": "13212880150_07_ONUS", "idBrokerPsp": null, "onUs": false, - "abi": "14156" + "abi": "14156", + "pspBusinessName": "psp business name 1" } ] }