generated from pagopa/pagopa-functions-template
-
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.
[SELC-5615] feat: added create attachment function (#614)
- Loading branch information
1 parent
a4ac1d6
commit 1ad9fde
Showing
28 changed files
with
4,013 additions
and
2,606 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...onboarding-cdc/src/main/java/it/pagopa/selfcare/onboarding/event/entity/BusinessData.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,10 @@ | ||
package it.pagopa.selfcare.onboarding.event.entity; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class BusinessData { | ||
private String businessRegisterNumber; | ||
private String legalRegisterNumber; | ||
private String legalRegisterName; | ||
} |
16 changes: 16 additions & 0 deletions
16
apps/onboarding-cdc/src/main/java/it/pagopa/selfcare/onboarding/event/entity/GPUData.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,16 @@ | ||
package it.pagopa.selfcare.onboarding.event.entity; | ||
|
||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
@Data | ||
@EqualsAndHashCode(callSuper = true) | ||
public class GPUData extends BusinessData { | ||
|
||
private boolean manager; | ||
private boolean managerAuthorized; | ||
private boolean managerEligible; | ||
private boolean managerProsecution; | ||
private boolean institutionCourtMeasures; | ||
|
||
} |
10 changes: 4 additions & 6 deletions
10
...-cdc/src/main/java/it/pagopa/selfcare/onboarding/event/entity/PaymentServiceProvider.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
32 changes: 32 additions & 0 deletions
32
...onboarding-functions/src/main/java/it/pagopa/selfcare/onboarding/entity/BusinessData.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,32 @@ | ||
package it.pagopa.selfcare.onboarding.entity; | ||
|
||
public class BusinessData { | ||
|
||
private String businessRegisterNumber; | ||
private String legalRegisterNumber; | ||
private String legalRegisterName; | ||
|
||
public String getBusinessRegisterNumber() { | ||
return businessRegisterNumber; | ||
} | ||
|
||
public void setBusinessRegisterNumber(String businessRegisterNumber) { | ||
this.businessRegisterNumber = businessRegisterNumber; | ||
} | ||
|
||
public String getLegalRegisterNumber() { | ||
return legalRegisterNumber; | ||
} | ||
|
||
public void setLegalRegisterNumber(String legalRegisterNumber) { | ||
this.legalRegisterNumber = legalRegisterNumber; | ||
} | ||
|
||
public String getLegalRegisterName() { | ||
return legalRegisterName; | ||
} | ||
|
||
public void setLegalRegisterName(String legalRegisterName) { | ||
this.legalRegisterName = legalRegisterName; | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
apps/onboarding-functions/src/main/java/it/pagopa/selfcare/onboarding/entity/GPUData.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,51 @@ | ||
package it.pagopa.selfcare.onboarding.entity; | ||
|
||
public class GPUData extends BusinessData { | ||
|
||
private boolean manager; | ||
private boolean managerAuthorized; | ||
private boolean managerEligible; | ||
private boolean managerProsecution; | ||
private boolean institutionCourtMeasures; | ||
|
||
public boolean isManager() { | ||
return manager; | ||
} | ||
|
||
public void setManager(boolean manager) { | ||
this.manager = manager; | ||
} | ||
|
||
public boolean isManagerAuthorized() { | ||
return managerAuthorized; | ||
} | ||
|
||
public void setManagerAuthorized(boolean managerAuthorized) { | ||
this.managerAuthorized = managerAuthorized; | ||
} | ||
|
||
public boolean isManagerEligible() { | ||
return managerEligible; | ||
} | ||
|
||
public void setManagerEligible(boolean managerEligible) { | ||
this.managerEligible = managerEligible; | ||
} | ||
|
||
public boolean isManagerProsecution() { | ||
return managerProsecution; | ||
} | ||
|
||
public void setManagerProsecution(boolean managerProsecution) { | ||
this.managerProsecution = managerProsecution; | ||
} | ||
|
||
public boolean isInstitutionCourtMeasures() { | ||
return institutionCourtMeasures; | ||
} | ||
|
||
public void setInstitutionCourtMeasures(boolean institutionCourtMeasures) { | ||
this.institutionCourtMeasures = institutionCourtMeasures; | ||
} | ||
} | ||
|
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
54 changes: 54 additions & 0 deletions
54
...ng-functions/src/main/java/it/pagopa/selfcare/onboarding/entity/OnboardingAttachment.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,54 @@ | ||
package it.pagopa.selfcare.onboarding.entity; | ||
|
||
import it.pagopa.selfcare.product.entity.AttachmentTemplate; | ||
|
||
public class OnboardingAttachment { | ||
private Onboarding onboarding; | ||
private AttachmentTemplate attachment; | ||
|
||
public OnboardingAttachment() {} | ||
|
||
private OnboardingAttachment(OnboardingAttachment.Builder builder) { | ||
this.onboarding = builder.onboarding; | ||
this.attachment = builder.attachment; | ||
} | ||
|
||
public static OnboardingAttachment.Builder builder() { | ||
return new OnboardingAttachment.Builder(); | ||
} | ||
|
||
public static class Builder { | ||
private Onboarding onboarding; | ||
private AttachmentTemplate attachment; | ||
|
||
public OnboardingAttachment.Builder onboarding(Onboarding onboarding) { | ||
this.onboarding = onboarding; | ||
return this; | ||
} | ||
|
||
public OnboardingAttachment.Builder attachment(AttachmentTemplate attachment) { | ||
this.attachment = attachment; | ||
return this; | ||
} | ||
|
||
public OnboardingAttachment build() { | ||
return new OnboardingAttachment(this); | ||
} | ||
} | ||
|
||
public AttachmentTemplate getAttachment() { | ||
return attachment; | ||
} | ||
|
||
public void setAttachment(AttachmentTemplate attachment) { | ||
this.attachment = attachment; | ||
} | ||
|
||
public Onboarding getOnboarding() { | ||
return onboarding; | ||
} | ||
|
||
public void setOnboarding(Onboarding onboarding) { | ||
this.onboarding = onboarding; | ||
} | ||
} |
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
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
Oops, something went wrong.