-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6d70d0
commit 8b10730
Showing
5 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/main/java/it/gov/pagopa/rtp/activator/service/ActivationPayerService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package it.gov.pagopa.rtp.activator.service; | ||
|
||
import it.gov.pagopa.rtp.activator.model.generated.ActivationDto; | ||
|
||
public interface ActivationPayerService { | ||
ActivationDto activatePayer(String payer, String fiscalCode); | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/it/gov/pagopa/rtp/activator/service/ActivationPayerServiceImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package it.gov.pagopa.rtp.activator.service; | ||
|
||
import it.gov.pagopa.rtp.activator.model.generated.ActivationDto; | ||
|
||
public class ActivationPayerServiceImpl implements ActivationPayerService{ | ||
|
||
@Override | ||
public ActivationDto activatePayer() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'activatePayer'"); | ||
// Try to save params into db | ||
// check the db response | ||
// if it's ok response 200 | ||
// if the record already exists | ||
// report 409 error | ||
} | ||
|
||
} |