first commit
This commit is contained in:
parent
57d9d03475
commit
e889bddcab
@ -71,22 +71,6 @@ public class LegalCustomerProductDirectoryResource {
|
||||
{
|
||||
"data": {
|
||||
"customerProductAndServiceDirectory": {
|
||||
"party": {
|
||||
"partyName": [
|
||||
{
|
||||
"fullName": "TASCA RESTAURANT GOOD WORLD CEN, C.A."
|
||||
}
|
||||
],
|
||||
"partyType": "ORGANISATION",
|
||||
"partyIdentification": [
|
||||
{
|
||||
"partyIdentificationType": "TAX_IDENTIFICATION_NUMBER",
|
||||
"partyIdentification": {
|
||||
"identifierValue": "J000000001"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"accountStatus": {
|
||||
@ -152,7 +136,19 @@ public class LegalCustomerProductDirectoryResource {
|
||||
{
|
||||
"accountInvolvementType": "PARTY_IS_OWNER_OF_ACCOUNT",
|
||||
"partyReference": {
|
||||
"partyName": [
|
||||
{
|
||||
"fullName": "TASCA RESTAURANT GOOD WORLD CEN, C.A."
|
||||
}
|
||||
],
|
||||
"partyType": "ORGANISATION",
|
||||
"partyIdentification": [
|
||||
{
|
||||
"partyIdentificationType": "TAX_IDENTIFICATION_NUMBER",
|
||||
"partyIdentification": {
|
||||
"identifierValue": "J000000001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"partyIdentificationType": "TELEPHONE_NUMBER",
|
||||
"partyIdentification": {
|
||||
@ -324,18 +320,18 @@ public class LegalCustomerProductDirectoryResource {
|
||||
)
|
||||
})
|
||||
public Response retrieve(
|
||||
@HeaderParam("customerReferenceFintechId")
|
||||
@Parameter(description = "ID de la fintech", required = true, example = "pranical-test")
|
||||
String customerReferenceFintechId,
|
||||
|
||||
@HeaderParam("appId")
|
||||
@Parameter(description = "ID de la aplicación", required = true, example = "DANIAPP")
|
||||
String appId,
|
||||
|
||||
@PathParam("customerIbsNumber")
|
||||
@Parameter(description = "Número de cliente IBS (VCUSCUN)", example = "200053197")
|
||||
String customerIbsNumber,
|
||||
|
||||
@QueryParam("customerReferenceFintechId")
|
||||
@Parameter(description = "ID de la fintech", example = "pranical-test")
|
||||
String customerReferenceFintechId,
|
||||
|
||||
@QueryParam("appId")
|
||||
@Parameter(description = "ID de la aplicación", example = "DANIAPP")
|
||||
String appId,
|
||||
|
||||
@QueryParam("bankNumber")
|
||||
@Parameter(description = "Número de banco (VACMBNK)", example = "01")
|
||||
String bankNumber,
|
||||
@ -345,7 +341,7 @@ public class LegalCustomerProductDirectoryResource {
|
||||
String currencyCode,
|
||||
|
||||
@QueryParam("accountStatus")
|
||||
@Parameter(description = "Estatus de cuenta (VACMAST). 'A'=Activa BS, 'O'=Activa USD, 'ACTBSUSD'=Ambas", example = "A")
|
||||
@Parameter(description = "Estatus de cuenta (VACMAST). 'A'=Activada, 'D'=Desactivada, 'ACTBSUSD'=Ambas", example = "A")
|
||||
String accountStatus,
|
||||
|
||||
@QueryParam("productCvCode")
|
||||
@ -381,8 +377,8 @@ public class LegalCustomerProductDirectoryResource {
|
||||
try {
|
||||
return Response.ok(useCase.execute(
|
||||
LegalCustomerProductDirectoryRequest.builder()
|
||||
.customerReferenceFintechId(customerReferenceFintechId)
|
||||
.appId(appId)
|
||||
.customerReferenceFintechId(Objects.toString(customerReferenceFintechId, ""))
|
||||
.appId(Objects.toString(appId, ""))
|
||||
.customerIbsNumber(Objects.toString(customerIbsNumber, ""))
|
||||
.bankNumber(Objects.toString(bankNumber, ""))
|
||||
.currencyCode(Objects.toString(currencyCode, ""))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user