diff --git a/apps/onboarding-ms/src/main/docs/openapi.json b/apps/onboarding-ms/src/main/docs/openapi.json index 47fc42137..f179f59d6 100644 --- a/apps/onboarding-ms/src/main/docs/openapi.json +++ b/apps/onboarding-ms/src/main/docs/openapi.json @@ -1934,6 +1934,9 @@ "legalRegisterName" : { "type" : "string" }, + "longTermPayments" : { + "type" : "boolean" + }, "manager" : { "type" : "boolean" }, @@ -2701,6 +2704,9 @@ "legalRegisterName" : { "type" : "string" }, + "longTermPayments" : { + "type" : "boolean" + }, "abiCode" : { "type" : "string" }, diff --git a/apps/onboarding-ms/src/main/docs/openapi.yaml b/apps/onboarding-ms/src/main/docs/openapi.yaml index 453af0dfb..c2b13e31e 100644 --- a/apps/onboarding-ms/src/main/docs/openapi.yaml +++ b/apps/onboarding-ms/src/main/docs/openapi.yaml @@ -1404,6 +1404,8 @@ components: type: string legalRegisterName: type: string + longTermPayments: + type: boolean manager: type: boolean managerAuthorized: @@ -1993,6 +1995,8 @@ components: type: string legalRegisterName: type: string + longTermPayments: + type: boolean abiCode: type: string vatNumberGroup: diff --git a/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/BusinessData.java b/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/BusinessData.java index 25f6add6b..2e3d16a8f 100644 --- a/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/BusinessData.java +++ b/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/BusinessData.java @@ -9,5 +9,6 @@ public class BusinessData { private String businessRegisterNumber; private String legalRegisterNumber; private String legalRegisterName; + private boolean longTermPayments; } \ No newline at end of file