-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PPANTT-196] feat: introducing int tests #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
google-java-format
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 15 in fee3486
import reactor.core.publisher.Mono; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Lines 18 to 20 in fee3486
import java.time.Duration; | |
import java.util.concurrent.TimeUnit; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Lines 24 to 37 in fee3486
@Bean | |
public WebClient webClient(){ | |
HttpClient httpClient = HttpClient.create() | |
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000) // timeout restriction | |
.responseTimeout(Duration.ofMillis(5000)) | |
.doOnConnected(conn -> conn.addHandlerLast( | |
new ReadTimeoutHandler(5000, TimeUnit.MILLISECONDS)) | |
.addHandlerLast(new WriteTimeoutHandler(5000, TimeUnit.MILLISECONDS)) | |
); | |
WebClient webClient = WebClient.builder() | |
.clientConnector(new ReactorClientHttpConnector(httpClient)) | |
.build(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 39 in fee3486
return webClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 41 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 43 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Line 13 in fee3486
import it.gov.pagopa.mbd.service.model.mdb.GetMdbReceipt; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Line 15 in fee3486
import it.gov.pagopa.mbd.service.model.mdb.GetMbdRequest; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Line 26 in fee3486
private final MbdService mdbService; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 28 to 30 in fee3486
public MbdController(MbdService mdbService) { | |
this.mdbService = mdbService; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 32 to 51 in fee3486
@Operation(summary = "getMbd", description = "Return mbd data for payment on requirement ", | |
security = {@SecurityRequirement(name = "ApiKey")}) | |
@ApiResponses(value = { | |
@ApiResponse(responseCode = "200", description = "OK", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = GetCartResponse.class))), | |
@ApiResponse(responseCode = "400", description = "Bad Request", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "401", | |
description = "Unauthorized", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "403", | |
description = "Forbidden", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "404", description = "ibans for the brokerCode not found", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "429", | |
description = "Too many requests", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "500", | |
description = "Service unavailable", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 53 to 62 in fee3486
}) | |
@PostMapping(value = "/organizations/{fiscalCodeEC}/mbd", produces = MediaType.APPLICATION_JSON_VALUE) | |
public Mono<ResponseEntity> getMdb(@PathVariable("fiscalCodeEC") String fiscalCodeEC, | |
@RequestBody GetMbdRequest request) { | |
return mdbService.getMbd(fiscalCodeEC,request).onErrorResume(e -> { | |
if (e instanceof ConstraintViolationException) { | |
return Mono.error(e); | |
} | |
if (e instanceof AppException) { | |
return Mono.just(ResponseEntity.status(((AppException) e).getHttpStatus()) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 64 to 71 in fee3486
.body(GetCartErrorResponse.builder() | |
.errorUrl(request.getReturnUrls().getErrorUrl()).build())); | |
} | |
return Mono.just(ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).header("Content-Type", | |
MediaType.APPLICATION_JSON_VALUE).body(GetCartErrorResponse.builder() | |
.errorUrl(request.getReturnUrls().getErrorUrl()).build())); | |
}); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 73 to 93 in fee3486
@Operation(summary = "getPaymentReceipt", description = "Return receipt of payment on requirement ", | |
security = {@SecurityRequirement(name = "ApiKey")}) | |
@ApiResponses(value = { | |
@ApiResponse(responseCode = "200", description = "OK", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = GetMdbReceipt.class))), | |
@ApiResponse(responseCode = "400", description = "Bad Request", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "401", | |
description = "Unauthorized", content = @Content( | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "403", | |
description = "Forbidden", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "404", description = "ibans for the brokerCode not found", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "429", | |
description = "Too many requests", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "500", | |
description = "Service unavailable", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 95 to 101 in fee3486
}) | |
@GetMapping(value = "/organizations/{fiscalCode}/receipt/{nav}", produces = MediaType.APPLICATION_XML_VALUE) | |
public Mono<ResponseEntity> getPaymentReceipts(@PathVariable("fiscalCode") String fiscalCode, | |
@PathVariable("nav") String nav) { | |
return mdbService.getPaymentReceipts(fiscalCode, nav); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/AppError.java
Lines 15 to 19 in fee3486
PAYMENT_NOTICE_REQUEST_MAP_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Mapping DemandPaymentNoticeRequest", "Error Mapping DemandPaymentNoticeRequest"), | |
PAYMENT_NOTICE_REQUEST_CALL_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling DemandPaymentNoticeRequest", "Error Calling DemandPaymentNoticeRequest"), | |
CART_REQUEST_MAP_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling GetCartRequest", "Error Mapping GetCartRequest"), | |
CART_REQUEST_CALL_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling GetCartRequest", "Error Mapping GetCartRequest"), | |
PAYMENT_RECEIPTS_CALL_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling Payment Receipts", "Error Mapping GetPaymentReceipts"), |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/AppException.java
Lines 3 to 4 in fee3486
import java.util.Formatter; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/AppException.java
Line 6 in fee3486
import lombok.EqualsAndHashCode; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/CartMappingException.java
Lines 13 to 17 in fee3486
public CartMappingException(@NotNull String message, | |
Throwable cause) { | |
super(message, cause); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 7 in fee3486
import java.nio.charset.StandardCharsets; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 10 to 11 in fee3486
import jakarta.validation.ConstraintViolationException; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 46 to 47 in fee3486
protected Mono<ResponseEntity<Object>> handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 69 in fee3486
protected Mono<ResponseEntity<Object>> handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange request) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 72 to 79 in fee3486
ProblemJson.builder() | |
.status(HttpStatus.BAD_REQUEST.value()) | |
.title(AppError.BAD_REQUEST.getTitle()) | |
.detail( | |
String.format( | |
"Invalid value %s for property %s", | |
ex.getValue(), ((MethodArgumentTypeMismatchException) ex).getName())) | |
.build(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 93 in fee3486
protected Mono<ResponseEntity<Object>> handleUnsatisfiedRequestParameterException(UnsatisfiedRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 104 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 115 to 116 in fee3486
protected Mono<ResponseEntity<Object>> handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, | |
ServerWebExchange request) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 133 in fee3486
public Mono<ResponseEntity<ProblemJson>> handleMyException(ConstraintViolationException ex, ServerWebExchange exchange) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/WebClientException.java
Lines 13 to 17 in fee3486
public WebClientException(@NotNull String message, | |
Throwable cause) { | |
super(message, cause); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 3 in fee3486
import it.gov.pagopa.mbd.service.exception.CartMappingException; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 6 in fee3486
import it.gov.pagopa.mbd.service.model.mdb.PaymentNotice; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 11 to 12 in fee3486
import it.gov.pagopa.mbd.service.model.carts.ReturnUrls; | |
import it.gov.pagopa.mbd.service.model.mdb.GetMbdRequest; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 17 to 19 in fee3486
import org.springframework.oxm.jaxb.Jaxb2Marshaller; | |
import org.springframework.xml.transform.StringResult; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 23 to 25 in fee3486
import static org.hibernate.validator.internal.util.Contracts.assertNotNull; | |
import static org.hibernate.validator.internal.util.Contracts.assertTrue; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 29 to 31 in fee3486
public static DemandPaymentNoticeRequest mapDemandPaymentNoticeRequest( | |
String idPsp, String idBrokerPsp, String idChannel, String fiscalCodeEC, | |
Jaxb2Marshaller marshaller, GetMbdRequest getMdbRequest) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 33 in fee3486
PaymentNotice paymentNotice = getMdbRequest.getPaymentNotices().get(0); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 35 to 50 in fee3486
Ctebollo ctMarcaDaBollo = | |
Ctebollo.builder() | |
.debitore(CtDebitore.builder() | |
.codiceFiscaleDebitore(paymentNotice.getFiscalCode()) | |
.nomeDebitore(paymentNotice.getFirstName()) | |
.cognomeDebitore(paymentNotice.getLastName()) | |
.emailDebitore(paymentNotice.getEmail()) | |
.provinciaResidenza(paymentNotice.getProvince()) | |
.build()) | |
.enteCreditore(CtEnteCreditore.builder() | |
.codiceFiscaleEnte(fiscalCodeEC) | |
.build()) | |
.hashDocumento(CtHashDocumento.builder() | |
.hashDocumento(paymentNotice.getDocumentHash()) | |
.build()) | |
.build(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 52 to 53 in fee3486
StringResult sw = new StringResult(); | |
marshaller.marshal(ctMarcaDaBollo, sw); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 55 to 63 in fee3486
return DemandPaymentNoticeRequest.builder() | |
.idPSP(idPsp) | |
.idBrokerPSP(idBrokerPsp) | |
.idChannel(idChannel) | |
.idSoggettoServizio(getMdbRequest.getIdCIService()) | |
.password("") | |
.datiSpecificiServizio(Base64.getMimeEncoder().encode(sw.toString().getBytes())) | |
.build(); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 65 to 96 in fee3486
public static GetCartRequest mapCartRequest( | |
GetMbdRequest request, DemandPaymentNoticeResponse demandPaymentNoticeResponse) { | |
try { | |
assertNotNull(demandPaymentNoticeResponse); | |
CtPaymentOptionsDescriptionList ctPaymentOptionsDescriptionList = demandPaymentNoticeResponse.getPaymentList(); | |
assertNotNull(ctPaymentOptionsDescriptionList); | |
List<CtPaymentOptionDescription> ctPaymentOptionsDescriptions = | |
ctPaymentOptionsDescriptionList.getPaymentOptionDescription(); | |
assertNotNull(ctPaymentOptionsDescriptions); | |
assertTrue(!ctPaymentOptionsDescriptions.isEmpty(), "Missing PaymentOption"); | |
CtPaymentOptionDescription ctPaymentOptionDescription = ctPaymentOptionsDescriptions.get(0); | |
assertNotNull(demandPaymentNoticeResponse.getQrCode()); | |
return GetCartRequest.builder() | |
.emailNotice(request.getPaymentNotices().get(0).getEmail()) | |
.returnUrls(ReturnUrls.builder() | |
.cancelUrl(request.getReturnUrls().getCancelUrl()) | |
.errorUrl(request.getReturnUrls().getErrorUrl()) | |
.successUrl(request.getReturnUrls().getSuccessUrl()) | |
.build()) | |
.paymentNotices(Collections.singletonList( | |
CartPaymentNotice.builder() | |
.fiscalCode(demandPaymentNoticeResponse.getQrCode().getFiscalCode()) | |
.amount(ctPaymentOptionDescription.getAmount().toBigIntegerExact().longValue()) | |
.companyName(demandPaymentNoticeResponse.getOfficeName()) | |
.description(demandPaymentNoticeResponse.getPaymentDescription()) | |
.noticeNumber(demandPaymentNoticeResponse.getQrCode().getNoticeNumber()) | |
.build() | |
)) | |
.build(); | |
} catch (Exception e) { | |
throw new CartMappingException(e.getMessage(), e); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 98 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/CartPaymentNotice.java
Lines 14 to 19 in fee3486
private String noticeNumber; | |
private String fiscalCode; | |
private Long amount; | |
private String companyName; | |
private String description; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartErrorResponse.java
Lines 14 to 15 in fee3486
private String errorUrl; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartRequest.java
Line 3 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartRequest.java
Lines 8 to 9 in fee3486
import java.util.List; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartRequest.java
Lines 16 to 20 in fee3486
private String emailNotice; | |
private List<CartPaymentNotice> paymentNotices; | |
private ReturnUrls returnUrls; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartResponse.java
Lines 14 to 15 in fee3486
private String checkoutRedirectUrl; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/ReturnUrls.java
Lines 14 to 17 in fee3486
private String successUrl; | |
private String cancelUrl; | |
private String errorUrl; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Line 7 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Lines 12 to 13 in fee3486
import java.util.List; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Lines 21 to 28 in fee3486
@Size(min = 1, max = 1) | |
@Valid | |
private List<PaymentNotice> paymentNotices; | |
@NotBlank | |
private String idCIService; | |
@NotNull | |
@Valid | |
private ReturnUrls returnUrls; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Line 30 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMdbReceipt.java
Lines 16 to 17 in fee3486
private byte[] content; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/PaymentNotice.java
Lines 15 to 29 in fee3486
@NotBlank | |
private String firstName; | |
@NotBlank | |
private String lastName; | |
@NotBlank | |
private String fiscalCode; | |
@NotBlank | |
private String email; | |
@NotNull | |
private Long amount; | |
@NotBlank | |
private String province; | |
@Size(min = 44, max = 44) | |
private String documentHash; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/PaymentNotice.java
Line 31 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/ReturnUrls.java
Lines 15 to 21 in fee3486
@NotBlank | |
private String successUrl; | |
@NotBlank | |
private String cancelUrl; | |
@NotBlank | |
private String errorUrl; | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per ctDebitore complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 42 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 45 to 51 in fee3486
@XmlType(name = "ctDebitore", propOrder = { | |
"codiceFiscaleDebitore", | |
"nomeDebitore", | |
"cognomeDebitore", | |
"emailDebitore", | |
"provinciaResidenza" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 58 to 188 in fee3486
@XmlElement(required = true) | |
protected String codiceFiscaleDebitore; | |
@XmlElement(required = true) | |
protected String nomeDebitore; | |
@XmlElement(required = true) | |
protected String cognomeDebitore; | |
@XmlElement(required = true) | |
protected String emailDebitore; | |
@XmlElement(required = true) | |
protected String provinciaResidenza; | |
/** | |
* Recupera il valore della proprietà codiceFiscaleDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCodiceFiscaleDebitore() { | |
return codiceFiscaleDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà codiceFiscaleDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCodiceFiscaleDebitore(String value) { | |
this.codiceFiscaleDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà nomeDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getNomeDebitore() { | |
return nomeDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà nomeDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setNomeDebitore(String value) { | |
this.nomeDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà cognomeDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCognomeDebitore() { | |
return cognomeDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà cognomeDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCognomeDebitore(String value) { | |
this.cognomeDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà emailDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getEmailDebitore() { | |
return emailDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà emailDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setEmailDebitore(String value) { | |
this.emailDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà provinciaResidenza. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getProvinciaResidenza() { | |
return provinciaResidenza; | |
} | |
/** | |
* Imposta il valore della proprietà provinciaResidenza. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setProvinciaResidenza(String value) { | |
this.provinciaResidenza = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per ctEnteCreditore complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 37 to 38 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 43 in fee3486
@XmlType(name = "ctEnteCreditore", propOrder = { | |
"codiceFiscaleEnte" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 50 to 63 in fee3486
@XmlElement(required = true) | |
protected String codiceFiscaleEnte; | |
/** | |
* Recupera il valore della proprietà codiceFiscaleEnte. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCodiceFiscaleEnte() { | |
return codiceFiscaleEnte; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 65 to 75 in fee3486
/** | |
* Imposta il valore della proprietà codiceFiscaleEnte. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCodiceFiscaleEnte(String value) { | |
this.codiceFiscaleEnte = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 77 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per ctHashDocumento complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 37 to 38 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 43 in fee3486
@XmlType(name = "ctHashDocumento", propOrder = { | |
"hashDocumento" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 50 to 63 in fee3486
@XmlElement(required = true) | |
protected String hashDocumento; | |
/** | |
* Recupera il valore della proprietà hashDocumento. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getHashDocumento() { | |
return hashDocumento; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 65 to 75 in fee3486
/** | |
* Imposta il valore della proprietà hashDocumento. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setHashDocumento(String value) { | |
this.hashDocumento = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 77 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 19 to 20 in fee3486
* <p>Classe Java per ctebollo complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 22 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 36 to 37 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 40 to 44 in fee3486
@XmlType(name = "ctebollo", propOrder = { | |
"debitore", | |
"enteCreditore", | |
"hashDocumento" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 52 to 57 in fee3486
@XmlElement(required = true) | |
protected CtDebitore debitore; | |
@XmlElement(required = true) | |
protected CtEnteCreditore enteCreditore; | |
@XmlElement(required = true) | |
protected CtHashDocumento hashDocumento; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 59 to 69 in fee3486
/** | |
* Recupera il valore della proprietà debitore. | |
* | |
* @return | |
* possible object is | |
* {@link CtDebitore } | |
* | |
*/ | |
public CtDebitore getDebitore() { | |
return debitore; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 71 to 81 in fee3486
/** | |
* Imposta il valore della proprietà debitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtDebitore } | |
* | |
*/ | |
public void setDebitore(CtDebitore value) { | |
this.debitore = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 83 to 93 in fee3486
/** | |
* Recupera il valore della proprietà enteCreditore. | |
* | |
* @return | |
* possible object is | |
* {@link CtEnteCreditore } | |
* | |
*/ | |
public CtEnteCreditore getEnteCreditore() { | |
return enteCreditore; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 95 to 105 in fee3486
/** | |
* Imposta il valore della proprietà enteCreditore. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtEnteCreditore } | |
* | |
*/ | |
public void setEnteCreditore(CtEnteCreditore value) { | |
this.enteCreditore = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 107 to 117 in fee3486
/** | |
* Recupera il valore della proprietà hashDocumento. | |
* | |
* @return | |
* possible object is | |
* {@link CtHashDocumento } | |
* | |
*/ | |
public CtHashDocumento getHashDocumento() { | |
return hashDocumento; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 119 to 129 in fee3486
/** | |
* Imposta il valore della proprietà hashDocumento. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtHashDocumento } | |
* | |
*/ | |
public void setHashDocumento(CtHashDocumento value) { | |
this.hashDocumento = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 131 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 30 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.spcoop.puntoaccessopsp.ebollo package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 42 in fee3486
private final static QName _Service_QNAME = new QName("http://PuntoAccessoPSP.spcoop.gov.it/ebollo", "service"); | |
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.spcoop.puntoaccessopsp.ebollo | |
* | |
*/ | |
public ObjectFactory() { | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 50 in fee3486
/** | |
* Create an instance of {@link Ctebollo } | |
* | |
*/ | |
public Ctebollo createCtebollo() { | |
return new Ctebollo(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 52 to 58 in fee3486
/** | |
* Create an instance of {@link CtDebitore } | |
* | |
*/ | |
public CtDebitore createCtDebitore() { | |
return new CtDebitore(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 60 to 66 in fee3486
/** | |
* Create an instance of {@link CtEnteCreditore } | |
* | |
*/ | |
public CtEnteCreditore createCtEnteCreditore() { | |
return new CtEnteCreditore(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 68 to 74 in fee3486
/** | |
* Create an instance of {@link CtHashDocumento } | |
* | |
*/ | |
public CtHashDocumento createCtHashDocumento() { | |
return new CtHashDocumento(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 76 to 87 in fee3486
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Ctebollo }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Ctebollo }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://PuntoAccessoPSP.spcoop.gov.it/ebollo", name = "service") | |
public JAXBElement<Ctebollo> createService(Ctebollo value) { | |
return new JAXBElement<Ctebollo>(_Service_QNAME, Ctebollo.class, null, value); | |
} |
[google-java-format] reported by reviewdog 🐶
Line 89 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://PuntoAccessoPSP.spcoop.gov.it/ebollo", elementFormDefault = jakarta.xml.bind.annotation.XmlNsForm.QUALIFIED) |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import java.math.BigDecimal; | |
import javax.xml.datatype.XMLGregorianCalendar; |
[google-java-format] reported by reviewdog 🐶
Line 18 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
Line 23 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 25 to 26 in fee3486
* <p>Classe Java per ctPaymentOptionDescription complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 28 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 43 to 44 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 47 to 52 in fee3486
@XmlType(name = "ctPaymentOptionDescription", propOrder = { | |
"amount", | |
"options", | |
"dueDate", | |
"paymentNote" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 59 to 66 in fee3486
@XmlElement(required = true) | |
protected BigDecimal amount; | |
@XmlElement(required = true) | |
@XmlSchemaType(name = "string") | |
protected StAmountOptionPSP options; | |
@XmlSchemaType(name = "date") | |
protected XMLGregorianCalendar dueDate; | |
protected String paymentNote; |
[google-java-format] reported by reviewdog 🐶
Lines 68 to 78 in fee3486
/** | |
* Recupera il valore della proprietà amount. | |
* | |
* @return | |
* possible object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public BigDecimal getAmount() { | |
return amount; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 80 to 90 in fee3486
/** | |
* Imposta il valore della proprietà amount. | |
* | |
* @param value | |
* allowed object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public void setAmount(BigDecimal value) { | |
this.amount = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 92 to 102 in fee3486
/** | |
* Recupera il valore della proprietà options. | |
* | |
* @return | |
* possible object is | |
* {@link StAmountOptionPSP } | |
* | |
*/ | |
public StAmountOptionPSP getOptions() { | |
return options; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 104 to 114 in fee3486
/** | |
* Imposta il valore della proprietà options. | |
* | |
* @param value | |
* allowed object is | |
* {@link StAmountOptionPSP } | |
* | |
*/ | |
public void setOptions(StAmountOptionPSP value) { | |
this.options = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 116 to 126 in fee3486
/** | |
* Recupera il valore della proprietà dueDate. | |
* | |
* @return | |
* possible object is | |
* {@link XMLGregorianCalendar } | |
* | |
*/ | |
public XMLGregorianCalendar getDueDate() { | |
return dueDate; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 128 to 138 in fee3486
/** | |
* Imposta il valore della proprietà dueDate. | |
* | |
* @param value | |
* allowed object is | |
* {@link XMLGregorianCalendar } | |
* | |
*/ | |
public void setDueDate(XMLGregorianCalendar value) { | |
this.dueDate = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 140 to 150 in fee3486
/** | |
* Recupera il valore della proprietà paymentNote. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getPaymentNote() { | |
return paymentNote; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 152 to 162 in fee3486
/** | |
* Imposta il valore della proprietà paymentNote. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setPaymentNote(String value) { | |
this.paymentNote = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 164 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import java.util.ArrayList; | |
import java.util.List; |
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
Line 22 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 24 to 25 in fee3486
* <p>Classe Java per ctPaymentOptionsDescriptionList complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 27 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 40 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 43 to 45 in fee3486
@XmlType(name = "ctPaymentOptionsDescriptionList", propOrder = { | |
"paymentOptionDescription" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 52 to 53 in fee3486
@XmlElement(required = true) | |
protected List<CtPaymentOptionDescription> paymentOptionDescription; |
[google-java-format] reported by reviewdog 🐶
Lines 55 to 81 in fee3486
/** | |
* Gets the value of the paymentOptionDescription property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the paymentOptionDescription property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getPaymentOptionDescription().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link CtPaymentOptionDescription } | |
* | |
* | |
*/ | |
public List<CtPaymentOptionDescription> getPaymentOptionDescription() { | |
if (paymentOptionDescription == null) { | |
paymentOptionDescription = new ArrayList<CtPaymentOptionDescription>(); | |
} | |
return this.paymentOptionDescription; |
[google-java-format] reported by reviewdog 🐶
Line 83 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 22 to 23 in fee3486
* <p>Classe Java per ctQrCode complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 42 to 45 in fee3486
@XmlType(name = "ctQrCode", propOrder = { | |
"fiscalCode", | |
"noticeNumber" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 52 to 55 in fee3486
@XmlElement(required = true) | |
protected String fiscalCode; | |
@XmlElement(required = true) | |
protected String noticeNumber; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 57 to 67 in fee3486
/** | |
* Recupera il valore della proprietà fiscalCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFiscalCode() { | |
return fiscalCode; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 69 to 79 in fee3486
/** | |
* Imposta il valore della proprietà fiscalCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFiscalCode(String value) { | |
this.fiscalCode = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 81 to 91 in fee3486
/** | |
* Recupera il valore della proprietà noticeNumber. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getNoticeNumber() { | |
return noticeNumber; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 93 to 103 in fee3486
/** | |
* Imposta il valore della proprietà noticeNumber. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setNoticeNumber(String value) { | |
this.noticeNumber = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 105 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 20 in fee3486
* <p>Classe Java per demandPaymentNoticeRequest complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 22 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 40 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 47 to 54 in fee3486
@XmlType(name = "demandPaymentNoticeRequest", propOrder = { | |
"idPSP", | |
"idBrokerPSP", | |
"idChannel", | |
"password", | |
"idSoggettoServizio", | |
"datiSpecificiServizio" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 58 to 212 in fee3486
@XmlElement(required = true) | |
protected String idPSP; | |
@XmlElement(required = true) | |
protected String idBrokerPSP; | |
@XmlElement(required = true) | |
protected String idChannel; | |
@XmlElement(required = true) | |
protected String password; | |
@XmlElement(required = true) | |
protected String idSoggettoServizio; | |
@XmlElement(required = true) | |
protected byte[] datiSpecificiServizio; | |
/** | |
* Recupera il valore della proprietà idPSP. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdPSP() { | |
return idPSP; | |
} | |
/** | |
* Imposta il valore della proprietà idPSP. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdPSP(String value) { | |
this.idPSP = value; | |
} | |
/** | |
* Recupera il valore della proprietà idBrokerPSP. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdBrokerPSP() { | |
return idBrokerPSP; | |
} | |
/** | |
* Imposta il valore della proprietà idBrokerPSP. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdBrokerPSP(String value) { | |
this.idBrokerPSP = value; | |
} | |
/** | |
* Recupera il valore della proprietà idChannel. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdChannel() { | |
return idChannel; | |
} | |
/** | |
* Imposta il valore della proprietà idChannel. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdChannel(String value) { | |
this.idChannel = value; | |
} | |
/** | |
* Recupera il valore della proprietà password. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getPassword() { | |
return password; | |
} | |
/** | |
* Imposta il valore della proprietà password. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setPassword(String value) { | |
this.password = value; | |
} | |
/** | |
* Recupera il valore della proprietà idSoggettoServizio. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdSoggettoServizio() { | |
return idSoggettoServizio; | |
} | |
/** | |
* Imposta il valore della proprietà idSoggettoServizio. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdSoggettoServizio(String value) { | |
this.idSoggettoServizio = value; | |
} | |
/** | |
* Recupera il valore della proprietà datiSpecificiServizio. | |
* | |
* @return | |
* possible object is | |
* byte[] | |
*/ | |
public byte[] getDatiSpecificiServizio() { | |
return datiSpecificiServizio; | |
} | |
/** | |
* Imposta il valore della proprietà datiSpecificiServizio. | |
* | |
* @param value | |
* allowed object is | |
* byte[] | |
*/ | |
public void setDatiSpecificiServizio(byte[] value) { | |
this.datiSpecificiServizio = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 11 in fee3486
import it.gov.pagopa.mbd.service.model.xml.xsd.common_types.v1_0.CtFaultBean; |
[google-java-format] reported by reviewdog 🐶
Line 13 in fee3486
import it.gov.pagopa.mbd.service.model.xml.xsd.common_types.v1_0.StOutcome; |
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per demandPaymentNoticeResponse complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 42 to 43 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 46 to 53 in fee3486
@XmlType(name = "demandPaymentNoticeResponse", propOrder = { | |
"qrCode", | |
"paymentList", | |
"paymentDescription", | |
"fiscalCodePA", | |
"companyName", | |
"officeName" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 58 to 211 in fee3486
public class DemandPaymentNoticeResponse | |
extends CtResponse | |
{ | |
protected CtQrCode qrCode; | |
protected CtPaymentOptionsDescriptionList paymentList; | |
protected String paymentDescription; | |
protected String fiscalCodePA; | |
protected String companyName; | |
protected String officeName; | |
/** | |
* Recupera il valore della proprietà qrCode. | |
* | |
* @return | |
* possible object is | |
* {@link CtQrCode } | |
* | |
*/ | |
public CtQrCode getQrCode() { | |
return qrCode; | |
} | |
/** | |
* Imposta il valore della proprietà qrCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtQrCode } | |
* | |
*/ | |
public void setQrCode(CtQrCode value) { | |
this.qrCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà paymentList. | |
* | |
* @return | |
* possible object is | |
* {@link CtPaymentOptionsDescriptionList } | |
* | |
*/ | |
public CtPaymentOptionsDescriptionList getPaymentList() { | |
return paymentList; | |
} | |
/** | |
* Imposta il valore della proprietà paymentList. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtPaymentOptionsDescriptionList } | |
* | |
*/ | |
public void setPaymentList(CtPaymentOptionsDescriptionList value) { | |
this.paymentList = value; | |
} | |
/** | |
* Recupera il valore della proprietà paymentDescription. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getPaymentDescription() { | |
return paymentDescription; | |
} | |
/** | |
* Imposta il valore della proprietà paymentDescription. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setPaymentDescription(String value) { | |
this.paymentDescription = value; | |
} | |
/** | |
* Recupera il valore della proprietà fiscalCodePA. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFiscalCodePA() { | |
return fiscalCodePA; | |
} | |
/** | |
* Imposta il valore della proprietà fiscalCodePA. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFiscalCodePA(String value) { | |
this.fiscalCodePA = value; | |
} | |
/** | |
* Recupera il valore della proprietà companyName. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCompanyName() { | |
return companyName; | |
} | |
/** | |
* Imposta il valore della proprietà companyName. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCompanyName(String value) { | |
this.companyName = value; | |
} | |
/** | |
* Recupera il valore della proprietà officeName. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOfficeName() { | |
return officeName; | |
} | |
/** | |
* Imposta il valore della proprietà officeName. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOfficeName(String value) { | |
this.officeName = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.27 alle 04:50:09 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 12 to 14 in fee3486
import org.w3c.dom.Element; | |
import javax.xml.namespace.QName; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 19 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 22 to 23 in fee3486
* <p>Classe Java per detail complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 42 to 44 in fee3486
@XmlType(name = "detail", propOrder = { | |
"any" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 47 to 50 in fee3486
@XmlAnyElement(lax = true) | |
protected List<Object> any; | |
@XmlAnyAttribute | |
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 52 to 80 in fee3486
/** | |
* Gets the value of the any property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the any property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getAny().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Element } | |
* {@link Object } | |
* | |
* | |
*/ | |
public List<Object> getAny() { | |
if (any == null) { | |
any = new ArrayList<Object>(); | |
} | |
return this.any; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 82 to 97 in fee3486
/** | |
* Gets a map that contains attributes that aren't bound to any typed property on this class. | |
* | |
* <p> | |
* the map is keyed by the name of the attribute and | |
* the value is the string value of the attribute. | |
* | |
* the map returned by this method is live, and you can add new attribute | |
* by updating the map directly. Because of this design, there's no setter. | |
* | |
* | |
* @return | |
* always non-null | |
*/ | |
public Map<QName, String> getOtherAttributes() { | |
return otherAttributes; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 99 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 100 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 18 to 19 in fee3486
* <p>Classe Java per faultBean complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 40 to 41 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 44 to 53 in fee3486
@XmlType(name = "faultBean", propOrder = { | |
"faultCode", | |
"faultString", | |
"id", | |
"description", | |
"serial", | |
"originalFaultCode", | |
"originalFaultString", | |
"originalDescription" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 56 to 259 in fee3486
@XmlElement(required = true) | |
protected String faultCode; | |
@XmlElement(required = true) | |
protected String faultString; | |
@XmlElement(required = true) | |
protected String id; | |
protected String description; | |
protected Integer serial; | |
protected String originalFaultCode; | |
protected String originalFaultString; | |
protected String originalDescription; | |
/** | |
* Recupera il valore della proprietà faultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultCode() { | |
return faultCode; | |
} | |
/** | |
* Imposta il valore della proprietà faultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultCode(String value) { | |
this.faultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultString() { | |
return faultString; | |
} | |
/** | |
* Imposta il valore della proprietà faultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultString(String value) { | |
this.faultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà id. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getId() { | |
return id; | |
} | |
/** | |
* Imposta il valore della proprietà id. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setId(String value) { | |
this.id = value; | |
} | |
/** | |
* Recupera il valore della proprietà description. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getDescription() { | |
return description; | |
} | |
/** | |
* Imposta il valore della proprietà description. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setDescription(String value) { | |
this.description = value; | |
} | |
/** | |
* Recupera il valore della proprietà serial. | |
* | |
* @return | |
* possible object is | |
* {@link Integer } | |
* | |
*/ | |
public Integer getSerial() { | |
return serial; | |
} | |
/** | |
* Imposta il valore della proprietà serial. | |
* | |
* @param value | |
* allowed object is | |
* {@link Integer } | |
* | |
*/ | |
public void setSerial(Integer value) { | |
this.serial = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultCode() { | |
return originalFaultCode; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultCode(String value) { | |
this.originalFaultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultString() { | |
return originalFaultString; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultString(String value) { | |
this.originalFaultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalDescription. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalDescription() { | |
return originalDescription; | |
} | |
/** | |
* Imposta il valore della proprietà originalDescription. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalDescription(String value) { | |
this.originalDescription = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import javax.xml.namespace.QName; | |
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 30 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.pagopa.pagopa_api.node.nodeforpsp package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 118 in fee3486
private final static QName _DemandPaymentNoticeRequest_QNAME = new QName("http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", "demandPaymentNoticeRequest"); | |
private final static QName _DemandPaymentNoticeResponse_QNAME = new QName("http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", "demandPaymentNoticeResponse"); | |
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.pagopa.pagopa_api.node.nodeforpsp | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link DemandPaymentNoticeRequest } | |
* | |
*/ | |
public DemandPaymentNoticeRequest createDemandPaymentNoticeRequest() { | |
return new DemandPaymentNoticeRequest(); | |
} | |
/** | |
* Create an instance of {@link DemandPaymentNoticeResponse } | |
* | |
*/ | |
public DemandPaymentNoticeResponse createDemandPaymentNoticeResponse() { | |
return new DemandPaymentNoticeResponse(); | |
} | |
/** | |
* Create an instance of {@link FaultBean } | |
* | |
*/ | |
public FaultBean createFaultBean() { | |
return new FaultBean(); | |
} | |
/** | |
* Create an instance of {@link CtQrCode } | |
* | |
*/ | |
public CtQrCode createCtQrCode() { | |
return new CtQrCode(); | |
} | |
/** | |
* Create an instance of {@link CtPaymentOptionDescription } | |
* | |
*/ | |
public CtPaymentOptionDescription createCtPaymentOptionDescription() { | |
return new CtPaymentOptionDescription(); | |
} | |
/** | |
* Create an instance of {@link CtPaymentOptionsDescriptionList } | |
* | |
*/ | |
public CtPaymentOptionsDescriptionList createCtPaymentOptionsDescriptionList() { | |
return new CtPaymentOptionsDescriptionList(); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeRequest }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeRequest }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", name = "demandPaymentNoticeRequest") | |
public JAXBElement<DemandPaymentNoticeRequest> createDemandPaymentNoticeRequest(DemandPaymentNoticeRequest value) { | |
return new JAXBElement<DemandPaymentNoticeRequest>(_DemandPaymentNoticeRequest_QNAME, DemandPaymentNoticeRequest.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeResponse }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeResponse }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", name = "demandPaymentNoticeResponse") | |
public JAXBElement<DemandPaymentNoticeResponse> createDemandPaymentNoticeResponse(DemandPaymentNoticeResponse value) { | |
return new JAXBElement<DemandPaymentNoticeResponse>(_DemandPaymentNoticeResponse_QNAME, DemandPaymentNoticeResponse.class, null, value); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 16 to 17 in fee3486
* <p>Classe Java per stAmountOptionPSP. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 19 in fee3486
* <pre> |
[google-java-format] reported by reviewdog 🐶
Line 29 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 34 to 47 in fee3486
EQ, | |
LS, | |
GT, | |
ANY; | |
public String value() { | |
return name(); | |
} | |
public static StAmountOptionPSP fromValue(String v) { | |
return valueOf(v); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd") |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.25 alle 06:15:33 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
Lines 21 to 23 in fee3486
import java.math.BigDecimal; | |
[google-java-format] reported by reviewdog 🐶
Lines 25 to 26 in fee3486
* <p>Classe Java per ctTransferPAReceiptV2 complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 28 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 50 to 51 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 54 to 64 in fee3486
@XmlType(name = "ctTransferPAReceiptV2", propOrder = { | |
"idTransfer", | |
"transferAmount", | |
"fiscalCodePA", | |
"companyName", | |
"iban", | |
"mbdAttachment", | |
"remittanceInformation", | |
"transferCategory", | |
"metadata" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 71 to 292 in fee3486
protected int idTransfer; | |
@XmlElement(required = true) | |
protected BigDecimal transferAmount; | |
@XmlElement(required = true) | |
protected String fiscalCodePA; | |
protected String companyName; | |
@XmlElement(name = "IBAN") | |
protected String iban; | |
@XmlElement(name = "MBDAttachment") | |
protected byte[] mbdAttachment; | |
@XmlElement(required = true) | |
protected String remittanceInformation; | |
@XmlElement(required = true) | |
protected String transferCategory; | |
protected CtMetadata metadata; | |
/** | |
* Recupera il valore della proprietà idTransfer. | |
* | |
*/ | |
public int getIdTransfer() { | |
return idTransfer; | |
} | |
/** | |
* Imposta il valore della proprietà idTransfer. | |
* | |
*/ | |
public void setIdTransfer(int value) { | |
this.idTransfer = value; | |
} | |
/** | |
* Recupera il valore della proprietà transferAmount. | |
* | |
* @return | |
* possible object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public BigDecimal getTransferAmount() { | |
return transferAmount; | |
} | |
/** | |
* Imposta il valore della proprietà transferAmount. | |
* | |
* @param value | |
* allowed object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public void setTransferAmount(BigDecimal value) { | |
this.transferAmount = value; | |
} | |
/** | |
* Recupera il valore della proprietà fiscalCodePA. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFiscalCodePA() { | |
return fiscalCodePA; | |
} | |
/** | |
* Imposta il valore della proprietà fiscalCodePA. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFiscalCodePA(String value) { | |
this.fiscalCodePA = value; | |
} | |
/** | |
* Recupera il valore della proprietà companyName. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCompanyName() { | |
return companyName; | |
} | |
/** | |
* Imposta il valore della proprietà companyName. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCompanyName(String value) { | |
this.companyName = value; | |
} | |
/** | |
* Recupera il valore della proprietà iban. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIBAN() { | |
return iban; | |
} | |
/** | |
* Imposta il valore della proprietà iban. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIBAN(String value) { | |
this.iban = value; | |
} | |
/** | |
* Recupera il valore della proprietà mbdAttachment. | |
* | |
* @return | |
* possible object is | |
* byte[] | |
*/ | |
public byte[] getMBDAttachment() { | |
return mbdAttachment; | |
} | |
/** | |
* Imposta il valore della proprietà mbdAttachment. | |
* | |
* @param value | |
* allowed object is | |
* byte[] | |
*/ | |
public void setMBDAttachment(byte[] value) { | |
this.mbdAttachment = value; | |
} | |
/** | |
* Recupera il valore della proprietà remittanceInformation. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getRemittanceInformation() { | |
return remittanceInformation; | |
} | |
/** | |
* Imposta il valore della proprietà remittanceInformation. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setRemittanceInformation(String value) { | |
this.remittanceInformation = value; | |
} | |
/** | |
* Recupera il valore della proprietà transferCategory. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getTransferCategory() { | |
return transferCategory; | |
} | |
/** | |
* Imposta il valore della proprietà transferCategory. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setTransferCategory(String value) { | |
this.transferCategory = value; | |
} | |
/** | |
* Recupera il valore della proprietà metadata. | |
* | |
* @return | |
* possible object is | |
* {@link CtMetadata } | |
* | |
*/ | |
public CtMetadata getMetadata() { | |
return metadata; | |
} | |
/** | |
* Imposta il valore della proprietà metadata. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtMetadata } | |
* | |
*/ | |
public void setMetadata(CtMetadata value) { | |
this.metadata = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.25 alle 06:15:33 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 13 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 15 to 26 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.pagopa.pagopa_api.pa.pafornode package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 31 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 32 to 46 in fee3486
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.pagopa.pagopa_api.pa.pafornode | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link CtTransferPAReceiptV2 } | |
* | |
*/ | |
public CtTransferPAReceiptV2 createCtTransferPAReceiptV2() { | |
return new CtTransferPAReceiptV2(); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 2 to 4 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Line 22 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Line 24 in fee3486
* <p>Classe Java per Body complex type. |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 39 to 40 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 43 to 46 in fee3486
@XmlType(name = "Body", propOrder = { | |
"demandPaymentNoticeRequest", | |
"demandPaymentNoticeResponse" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 53 to 58 in fee3486
@XmlElement(name = "demandPaymentNoticeRequest", required = false, namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd") | |
protected DemandPaymentNoticeRequest demandPaymentNoticeRequest; | |
@XmlElement(name = "demandPaymentNoticeResponse", required = false, namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd") | |
protected DemandPaymentNoticeResponse demandPaymentNoticeResponse; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 12 to 14 in fee3486
import org.w3c.dom.Element; | |
import javax.xml.namespace.QName; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 19 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 22 to 23 in fee3486
* <p>Classe Java per detail complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 42 to 44 in fee3486
@XmlType(name = "detail", propOrder = { | |
"any" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 47 to 50 in fee3486
@XmlAnyElement(lax = true) | |
protected List<Object> any; | |
@XmlAnyAttribute | |
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 52 to 80 in fee3486
/** | |
* Gets the value of the any property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the any property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getAny().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Element } | |
* {@link Object } | |
* | |
* | |
*/ | |
public List<Object> getAny() { | |
if (any == null) { | |
any = new ArrayList<Object>(); | |
} | |
return this.any; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 82 to 97 in fee3486
/** | |
* Gets a map that contains attributes that aren't bound to any typed property on this class. | |
* | |
* <p> | |
* the map is keyed by the name of the attribute and | |
* the value is the string value of the attribute. | |
* | |
* the map returned by this method is live, and you can add new attribute | |
* by updating the map directly. Because of this design, there's no setter. | |
* | |
* | |
* @return | |
* always non-null | |
*/ | |
public Map<QName, String> getOtherAttributes() { | |
return otherAttributes; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 99 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 100 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 20 in fee3486
* <p>Classe Java per Envelope complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 22 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 41 in fee3486
@XmlType(name = "Envelope", propOrder = { | |
"body", | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 48 to 65 in fee3486
@XmlElement(name = "Body", namespace = "http://schemas.xmlsoap.org/soap/envelope/", required = true) | |
protected Body body; | |
public Body getBody() { | |
return body; | |
} | |
/** | |
* Imposta il valore della proprietà body. | |
* | |
* @param value | |
* allowed object is | |
* {@link Body } | |
* | |
*/ | |
public void setBody(Body value) { | |
this.body = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 67 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 68 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 12 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 15 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 17 to 18 in fee3486
* <p>Classe Java per Fault complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 20 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 39 to 44 in fee3486
@XmlType(name = "Fault", propOrder = { | |
"faultcode", | |
"faultstring", | |
"faultactor", | |
"detail" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 47 to 150 in fee3486
@XmlElement(required = true) | |
protected QName faultcode; | |
@XmlElement(required = true) | |
protected String faultstring; | |
@XmlSchemaType(name = "anyURI") | |
protected String faultactor; | |
protected Detail detail; | |
/** | |
* Recupera il valore della proprietà faultcode. | |
* | |
* @return | |
* possible object is | |
* {@link QName } | |
* | |
*/ | |
public QName getFaultcode() { | |
return faultcode; | |
} | |
/** | |
* Imposta il valore della proprietà faultcode. | |
* | |
* @param value | |
* allowed object is | |
* {@link QName } | |
* | |
*/ | |
public void setFaultcode(QName value) { | |
this.faultcode = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultstring. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultstring() { | |
return faultstring; | |
} | |
/** | |
* Imposta il valore della proprietà faultstring. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultstring(String value) { | |
this.faultstring = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultactor. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultactor() { | |
return faultactor; | |
} | |
/** | |
* Imposta il valore della proprietà faultactor. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultactor(String value) { | |
this.faultactor = value; | |
} | |
/** | |
* Recupera il valore della proprietà detail. | |
* | |
* @return | |
* possible object is | |
* {@link Detail } | |
* | |
*/ | |
public Detail getDetail() { | |
return detail; | |
} | |
/** | |
* Imposta il valore della proprietà detail. | |
* | |
* @param value | |
* allowed object is | |
* {@link Detail } | |
* | |
*/ | |
public void setDetail(Detail value) { | |
this.detail = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 12 to 14 in fee3486
import org.w3c.dom.Element; | |
import javax.xml.namespace.QName; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 19 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 22 to 23 in fee3486
* <p>Classe Java per Header complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 42 to 44 in fee3486
@XmlType(name = "Header", propOrder = { | |
"any" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 47 to 50 in fee3486
@XmlAnyElement(lax = true) | |
protected List<Object> any; | |
@XmlAnyAttribute | |
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 52 to 80 in fee3486
/** | |
* Gets the value of the any property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the any property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getAny().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Element } | |
* {@link Object } | |
* | |
* | |
*/ | |
public List<Object> getAny() { | |
if (any == null) { | |
any = new ArrayList<Object>(); | |
} | |
return this.any; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 82 to 97 in fee3486
/** | |
* Gets a map that contains attributes that aren't bound to any typed property on this class. | |
* | |
* <p> | |
* the map is keyed by the name of the attribute and | |
* the value is the string value of the attribute. | |
* | |
* the map returned by this method is live, and you can add new attribute | |
* by updating the map directly. Because of this design, there's no setter. | |
* | |
* | |
* @return | |
* always non-null | |
*/ | |
public Map<QName, String> getOtherAttributes() { | |
return otherAttributes; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 99 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 100 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 30 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the org.xmlsoap.schemas.soap.envelope package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 138 in fee3486
private final static QName _Envelope_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Envelope"); | |
private final static QName _Header_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Header"); | |
private final static QName _Body_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Body"); | |
private final static QName _Fault_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Fault"); | |
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.xmlsoap.schemas.soap.envelope | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link Envelope } | |
* | |
*/ | |
public Envelope createEnvelope() { | |
return new Envelope(); | |
} | |
/** | |
* Create an instance of {@link Header } | |
* | |
*/ | |
public Header createHeader() { | |
return new Header(); | |
} | |
/** | |
* Create an instance of {@link Body } | |
* | |
*/ | |
public Body createBody() { | |
return new Body(); | |
} | |
/** | |
* Create an instance of {@link Fault } | |
* | |
*/ | |
public Fault createFault() { | |
return new Fault(); | |
} | |
/** | |
* Create an instance of {@link Detail } | |
* | |
*/ | |
public Detail createDetail() { | |
return new Detail(); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Envelope") | |
public JAXBElement<Envelope> createEnvelope(Envelope value) { | |
return new JAXBElement<Envelope>(_Envelope_QNAME, Envelope.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Header }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Header }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Header") | |
public JAXBElement<Header> createHeader(Header value) { | |
return new JAXBElement<Header>(_Header_QNAME, Header.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Body }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Body }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Body") | |
public JAXBElement<Body> createBody(Body value) { | |
return new JAXBElement<Body>(_Body_QNAME, Body.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Fault }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Fault }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Fault") | |
public JAXBElement<Fault> createFault(Fault value) { | |
return new JAXBElement<Fault>(_Fault_QNAME, Fault.class, null, value); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 19 in fee3486
* <p>Classe Java per ctFaultBean complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 40 to 41 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 53 in fee3486
@XmlType(name = "ctFaultBean", propOrder = { | |
"faultCode", | |
"faultString", | |
"id", | |
"description", | |
"serial", | |
"originalFaultCode", | |
"originalFaultString", | |
"originalDescription" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 56 to 259 in fee3486
@XmlElement(required = true) | |
protected String faultCode; | |
@XmlElement(required = true) | |
protected String faultString; | |
@XmlElement(required = true) | |
protected String id; | |
protected String description; | |
protected Integer serial; | |
protected String originalFaultCode; | |
protected String originalFaultString; | |
protected String originalDescription; | |
/** | |
* Recupera il valore della proprietà faultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultCode() { | |
return faultCode; | |
} | |
/** | |
* Imposta il valore della proprietà faultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultCode(String value) { | |
this.faultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultString() { | |
return faultString; | |
} | |
/** | |
* Imposta il valore della proprietà faultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultString(String value) { | |
this.faultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà id. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getId() { | |
return id; | |
} | |
/** | |
* Imposta il valore della proprietà id. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setId(String value) { | |
this.id = value; | |
} | |
/** | |
* Recupera il valore della proprietà description. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getDescription() { | |
return description; | |
} | |
/** | |
* Imposta il valore della proprietà description. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setDescription(String value) { | |
this.description = value; | |
} | |
/** | |
* Recupera il valore della proprietà serial. | |
* | |
* @return | |
* possible object is | |
* {@link Integer } | |
* | |
*/ | |
public Integer getSerial() { | |
return serial; | |
} | |
/** | |
* Imposta il valore della proprietà serial. | |
* | |
* @param value | |
* allowed object is | |
* {@link Integer } | |
* | |
*/ | |
public void setSerial(Integer value) { | |
this.serial = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultCode() { | |
return originalFaultCode; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultCode(String value) { | |
this.originalFaultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultString() { | |
return originalFaultString; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultString(String value) { | |
this.originalFaultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalDescription. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalDescription() { | |
return originalDescription; | |
} | |
/** | |
* Imposta il valore della proprietà originalDescription. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalDescription(String value) { | |
this.originalDescription = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 19 in fee3486
* <p>Classe Java per ctMapEntry complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 34 to 35 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 38 to 41 in fee3486
@XmlType(name = "ctMapEntry", propOrder = { | |
"key", | |
"value" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 47 in fee3486
@XmlElement(required = true) | |
protected String key; | |
@XmlElement(required = true) | |
protected String value; |
[google-java-format] reported by reviewdog 🐶
Lines 49 to 59 in fee3486
/** | |
* Recupera il valore della proprietà key. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getKey() { | |
return key; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 61 to 71 in fee3486
/** | |
* Imposta il valore della proprietà key. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setKey(String value) { | |
this.key = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 73 to 83 in fee3486
/** | |
* Recupera il valore della proprietà value. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getValue() { | |
return value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 85 to 95 in fee3486
/** | |
* Imposta il valore della proprietà value. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setValue(String value) { | |
this.value = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 97 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import java.util.ArrayList; | |
import java.util.List; |
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 20 to 21 in fee3486
* <p>Classe Java per ctMetadata complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 23 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 41 in fee3486
@XmlType(name = "ctMetadata", propOrder = { | |
"mapEntry" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 45 in fee3486
@XmlElement(required = true) | |
protected List<CtMapEntry> mapEntry; |
[google-java-format] reported by reviewdog 🐶
Lines 47 to 73 in fee3486
/** | |
* Gets the value of the mapEntry property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the mapEntry property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getMapEntry().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link CtMapEntry } | |
* | |
* | |
*/ | |
public List<CtMapEntry> getMapEntry() { | |
if (mapEntry == null) { | |
mapEntry = new ArrayList<CtMapEntry>(); | |
} | |
return this.mapEntry; |
[google-java-format] reported by reviewdog 🐶
Line 75 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 22 in fee3486
import lombok.AllArgsConstructor; | |
import lombok.Builder; | |
import lombok.Data; | |
import lombok.NoArgsConstructor; | |
[google-java-format] reported by reviewdog 🐶
Lines 25 to 26 in fee3486
* <p>Classe Java per ctResponse complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 28 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 42 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 45 to 51 in fee3486
@XmlType(name = "ctResponse", propOrder = { | |
"outcome", | |
"fault" | |
}) | |
@XmlSeeAlso({ | |
DemandPaymentNoticeResponse.class | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 54 to 57 in fee3486
@XmlElement(required = true) | |
@XmlSchemaType(name = "string") | |
protected StOutcome outcome; | |
protected CtFaultBean fault; |
[google-java-format] reported by reviewdog 🐶
Lines 59 to 69 in fee3486
/** | |
* Recupera il valore della proprietà outcome. | |
* | |
* @return | |
* possible object is | |
* {@link StOutcome } | |
* | |
*/ | |
public StOutcome getOutcome() { | |
return outcome; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 71 to 81 in fee3486
/** | |
* Imposta il valore della proprietà outcome. | |
* | |
* @param value | |
* allowed object is | |
* {@link StOutcome } | |
* | |
*/ | |
public void setOutcome(StOutcome value) { | |
this.outcome = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 83 to 93 in fee3486
/** | |
* Recupera il valore della proprietà fault. | |
* | |
* @return | |
* possible object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public CtFaultBean getFault() { | |
return fault; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 95 to 105 in fee3486
/** | |
* Imposta il valore della proprietà fault. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public void setFault(CtFaultBean value) { | |
this.fault = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 107 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 19 in fee3486
* <p>Classe Java per ctRichiestaMarcaDaBollo complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 43 in fee3486
@XmlType(name = "ctRichiestaMarcaDaBollo", propOrder = { | |
"hashDocumento", | |
"tipoBollo", | |
"provinciaResidenza" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 46 to 51 in fee3486
@XmlElement(required = true) | |
protected byte[] hashDocumento; | |
@XmlElement(required = true) | |
protected String tipoBollo; | |
@XmlElement(required = true) | |
protected String provinciaResidenza; |
[google-java-format] reported by reviewdog 🐶
Lines 53 to 62 in fee3486
/** | |
* Recupera il valore della proprietà hashDocumento. | |
* | |
* @return | |
* possible object is | |
* byte[] | |
*/ | |
public byte[] getHashDocumento() { | |
return hashDocumento; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 64 to 73 in fee3486
/** | |
* Imposta il valore della proprietà hashDocumento. | |
* | |
* @param value | |
* allowed object is | |
* byte[] | |
*/ | |
public void setHashDocumento(byte[] value) { | |
this.hashDocumento = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 75 to 85 in fee3486
/** | |
* Recupera il valore della proprietà tipoBollo. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getTipoBollo() { | |
return tipoBollo; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 87 to 97 in fee3486
/** | |
* Imposta il valore della proprietà tipoBollo. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setTipoBollo(String value) { | |
this.tipoBollo = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 99 to 109 in fee3486
/** | |
* Recupera il valore della proprietà provinciaResidenza. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getProvinciaResidenza() { | |
return provinciaResidenza; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 111 to 121 in fee3486
/** | |
* Imposta il valore della proprietà provinciaResidenza. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setProvinciaResidenza(String value) { | |
this.provinciaResidenza = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 123 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 15 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 17 to 18 in fee3486
* <p>Classe Java per ctRisposta complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 32 to 33 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 36 to 38 in fee3486
@XmlType(name = "ctRisposta", propOrder = { | |
"fault" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 66 in fee3486
protected CtFaultBean fault; | |
/** | |
* Recupera il valore della proprietà fault. | |
* | |
* @return | |
* possible object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public CtFaultBean getFault() { | |
return fault; | |
} | |
/** | |
* Imposta il valore della proprietà fault. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public void setFault(CtFaultBean value) { | |
this.fault = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 13 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 15 to 26 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.pagopa.pagopa_api.xsd.common_types.v1_0 package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 31 to 86 in fee3486
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.pagopa.pagopa_api.xsd.common_types.v1_0 | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link CtRichiestaMarcaDaBollo } | |
* | |
*/ | |
public CtRichiestaMarcaDaBollo createCtRichiestaMarcaDaBollo() { | |
return new CtRichiestaMarcaDaBollo(); | |
} | |
/** | |
* Create an instance of {@link CtMapEntry } | |
* | |
*/ | |
public CtMapEntry createCtMapEntry() { | |
return new CtMapEntry(); | |
} | |
/** | |
* Create an instance of {@link CtMetadata } | |
* | |
*/ | |
public CtMetadata createCtMetadata() { | |
return new CtMetadata(); | |
} | |
/** | |
* Create an instance of {@link CtFaultBean } | |
* | |
*/ | |
public CtFaultBean createCtFaultBean() { | |
return new CtFaultBean(); | |
} | |
/** | |
* Create an instance of {@link CtResponse } | |
* | |
*/ | |
public CtResponse createCtResponse() { | |
return new CtResponse(); | |
} | |
/** | |
* Create an instance of {@link CtRisposta } | |
* | |
*/ | |
public CtRisposta createCtRisposta() { | |
return new CtRisposta(); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 16 to 17 in fee3486
* <p>Classe Java per stOutcome. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 19 in fee3486
* <pre> |
[google-java-format] reported by reviewdog 🐶
Line 27 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Line 32 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 33 to 42 in fee3486
OK, | |
KO; | |
public String value() { | |
return name(); | |
} | |
public static StOutcome fromValue(String v) { | |
return valueOf(v); | |
} |
[google-java-format] reported by reviewdog 🐶
Line 44 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/xsd/common-types/v1.0.0/") |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/MbdService.java
Lines 9 to 11 in fee3486
Mono<ResponseEntity> getMbd(String fiscalCodeEC, GetMbdRequest request); | |
Mono<ResponseEntity> getPaymentReceipts(String fiscalCode, String nav); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/MbdService.java
Line 13 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 16 in fee3486
import lombok.extern.slf4j.Slf4j; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 27 to 29 in fee3486
import java.util.HashMap; | |
import java.util.Set; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 34 to 43 in fee3486
private final Validator validator; | |
private final ReactiveClient reactiveSoapClient; | |
private final Jaxb2Marshaller jaxb2Marshaller; | |
private final String mdbLinkBaseUrl; | |
private final String idPsp; | |
private final String idBrokerPsp; | |
private final String channelId; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 45 to 64 in fee3486
@Autowired | |
public MbdServiceImpl( | |
Validator validator, ReactiveClient reactiveSoapClient, | |
Jaxb2Marshaller jaxb2Marshaller, | |
@Value("mbd.link.baseUrl") | |
String mdbLinkBaseUrl, | |
@Value("mbd.mapper.idPsp") | |
String idPsp, | |
@Value("mbd.mapper.idBrokerPsp") | |
String idBrokerPsp, | |
@Value("mbd.mapper.channelId") | |
String channelId) { | |
this.validator = validator; | |
this.reactiveSoapClient = reactiveSoapClient; | |
this.jaxb2Marshaller = jaxb2Marshaller; | |
this.mdbLinkBaseUrl = mdbLinkBaseUrl; | |
this.idPsp = idPsp; | |
this.idBrokerPsp = idBrokerPsp; | |
this.channelId = channelId; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 66 to 111 in fee3486
@Override | |
public Mono<ResponseEntity> getMbd(String fiscalCodeEC, GetMbdRequest request) { | |
HashMap<String, DemandPaymentNoticeResponse> hashMap = new HashMap(); | |
return Mono.just(request) | |
.doFirst(() -> { | |
Set<ConstraintViolation<GetMbdRequest>> errors = validator.validate(request); | |
if (!errors.isEmpty()) { | |
throw new ConstraintViolationException(errors); | |
} | |
}) | |
.onErrorMap(ConstraintViolationException.class, e -> { | |
log.error("Encountered an error during demandPaymentNotice Validation: {}", e.getMessage()); | |
return e; | |
}) | |
.map(item -> RequestMapper.mapDemandPaymentNoticeRequest(idPsp, idBrokerPsp, channelId, fiscalCodeEC, | |
jaxb2Marshaller, item)) | |
.onErrorMap(XmlMappingException.class, e -> { | |
log.error("Encountered an error during demandPaymentNotice Request Mapping: {}", e.getMessage()); | |
return new AppException(AppError.PAYMENT_NOTICE_REQUEST_MAP_ERROR, e); | |
}) | |
.flatMap(reactiveSoapClient::demandPaymentNotice) | |
.onErrorMap(WebClientException.class, e -> { | |
log.error("Encountered an error during demandPaymentNotice Call: {}", e.getMessage()); | |
return new AppException(AppError.PAYMENT_NOTICE_REQUEST_CALL_ERROR, e); | |
}) | |
.map(demandPaymentNoticeResponse -> { | |
hashMap.put("demandPaymentNoticeResponse", demandPaymentNoticeResponse); | |
return RequestMapper.mapCartRequest(request, demandPaymentNoticeResponse); | |
}) | |
.onErrorMap(CartMappingException.class, e -> { | |
log.error("Encountered an error during cart mapping: {}", e.getMessage()); | |
return new AppException(AppError.CART_REQUEST_MAP_ERROR, e); | |
}) | |
.flatMap(reactiveSoapClient::getCart) | |
.onErrorMap(WebClientException.class, e -> { | |
log.error("Encountered an error during getCart Call: {}", e.getMessage()); | |
return new AppException(AppError.CART_REQUEST_CALL_ERROR, e); | |
}) | |
.map(item -> ResponseEntity.ok() | |
.header("MBD-Link", | |
StringUtils.joinWith("/", mdbLinkBaseUrl, | |
"mbd/v1/organizations", fiscalCodeEC, | |
"receipt", hashMap.get("demandPaymentNoticeResponse").getQrCode().getNoticeNumber())) | |
.header( "MBD-NAV", hashMap.get("demandPaymentNoticeResponse").getQrCode() | |
.getNoticeNumber()) | |
.body(item)); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 113 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 115 to 126 in fee3486
@Override | |
public Mono<ResponseEntity> getPaymentReceipts(String fiscalCode, String nav) { | |
return Mono.zip(Mono.just(fiscalCode),Mono.just(nav).map(item -> nav.substring(1))) | |
.flatMap(tuple -> reactiveSoapClient.getPaymentReceipt(tuple.getT1(),tuple.getT2())) | |
.onErrorResume(e -> { | |
log.error("Encountered an error during getPaymentReceiptCall Call: {}", e.getMessage()); | |
return Mono.error(new AppException(AppError.PAYMENT_RECEIPTS_CALL_ERROR, e)); | |
}) | |
.map(item -> ResponseEntity.ok() | |
.header("Content-Type", MediaType.APPLICATION_JSON_VALUE) | |
.body(GetMdbReceipt.builder().content(item.getMBDAttachment()).build())); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 128 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 129 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Line 3 in fee3486
import com.fasterxml.jackson.databind.ObjectMapper; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 13 to 17 in fee3486
import org.springframework.test.web.servlet.MockMvc; | |
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | |
import org.springframework.test.web.servlet.result.MockMvcResultMatchers; | |
import static org.junit.jupiter.api.Assertions.*; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 25 to 26 in fee3486
@Autowired | |
private WebTestClient webClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 30 to 32 in fee3486
webClient.get().uri("/v3/api-docs").accept(MediaType.APPLICATION_JSON).exchange() | |
.expectStatus().is2xxSuccessful() | |
.expectBody().consumeWith( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 34 to 49 in fee3486
try { | |
assertNotNull(result); | |
assertNotNull(result.getResponseBody()); | |
final String content = new String(result.getResponseBodyContent()); | |
assertFalse(content.isBlank()); | |
assertFalse(content.contains("${"), "Generated swagger contains placeholders"); | |
Object swagger = | |
objectMapper.readValue(new String(result.getResponseBodyContent()), Object.class); | |
String formatted = | |
objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(swagger); | |
Path basePath = Paths.get("openapi/"); | |
Files.createDirectories(basePath); | |
Files.write(basePath.resolve("openapi.json"), formatted.getBytes()); | |
} catch (Exception e) { | |
assertTrue(false); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Line 3 in fee3486
import com.fasterxml.jackson.core.JsonProcessingException; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Line 14 in fee3486
import lombok.SneakyThrows; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 21 to 30 in fee3486
import java.nio.charset.StandardCharsets; | |
import java.util.Collections; | |
import static com.github.tomakehurst.wiremock.client.WireMock.*; | |
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; | |
import static org.junit.jupiter.api.Assertions.assertNotNull; | |
import static org.junit.jupiter.api.Assertions.assertThrows; | |
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; | |
import static org.springframework.http.MediaType.APPLICATION_XML_VALUE; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 34 to 63 in fee3486
@Autowired | |
ObjectMapper mapper; | |
@RegisterExtension | |
private static final WireMockExtension WIRE_MOCK_EXTENSION = | |
WireMockExtension.newInstance().options(wireMockConfig().port(8086)).build(); | |
@Inject | |
ReactiveClient reactiveClient; | |
@Test | |
void demandPaymentNoticeShouldReturnOk() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/demand").withHeader("Content-Type", matching(APPLICATION_XML_VALUE)) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_XML_VALUE) | |
.withBody("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n" + | |
"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:common=\"http://pagopa-api.pagopa.gov.it/xsd/common-types/v1.0.0/\" xmlns:nfp=\"http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd\">\n" + | |
" <soapenv:Body>\n" + | |
" <nfp:demandPaymentNoticeResponse>\n" + | |
" <outcome>OK</outcome>\n" + | |
" </nfp:demandPaymentNoticeResponse>\n" + | |
" </soapenv:Body>\n" + | |
"</soapenv:Envelope>" | |
))); | |
Mono<DemandPaymentNoticeResponse> demandPaymentNoticeResponseMono = reactiveClient.demandPaymentNotice( | |
DemandPaymentNoticeRequest.builder() | |
.idPSP("1212") | |
.idBrokerPSP("121212") | |
.idChannel("232323") | |
.password("") | |
.datiSpecificiServizio("test".getBytes(StandardCharsets.UTF_8)) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 65 to 83 in fee3486
DemandPaymentNoticeResponse demandPaymentNoticeResponse = demandPaymentNoticeResponseMono.block(); | |
assertNotNull(demandPaymentNoticeResponse); | |
} | |
@Test | |
void demandPaymentNoticeShouldReturnKO() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/demand").withHeader("Content-Type", matching(APPLICATION_XML_VALUE)) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_XML_VALUE) | |
.withBody("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n" + | |
"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:common=\"http://pagopa-api.pagopa.gov.it/xsd/common-types/v1.0.0/\" xmlns:nfp=\"http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd\">\n" + | |
" <soapenv:Body>\n" + | |
" <nfp:demandPaymentNoticeResponse>\n" + | |
" <outcome>KO</outcome>\n" + | |
" </nfp:demandPaymentNoticeResponse>\n" + | |
" </soapenv:Body>\n" + | |
"</soapenv:Envelope>" | |
))); | |
Mono<DemandPaymentNoticeResponse> demandPaymentNoticeResponseMono = reactiveClient.demandPaymentNotice( | |
DemandPaymentNoticeRequest.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 90 to 138 in fee3486
assertThrows(WebClientException.class, () -> demandPaymentNoticeResponseMono.block()); | |
} | |
@SneakyThrows | |
@Test | |
void getCartWithOkResponse() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/cart").withHeader("Content-Type", matching(APPLICATION_JSON_VALUE)) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_JSON_VALUE) | |
.withBody(mapper.writeValueAsString(GetCartResponse.builder().checkoutRedirectUrl("testUrl").build())))); | |
Mono<GetCartResponse> getCartResponseMono = reactiveClient.getCart( | |
GetCartRequest.builder().paymentNotices(Collections.singletonList( | |
CartPaymentNotice.builder().build())).build()); | |
GetCartResponse getCartResponse = getCartResponseMono.block(); | |
assertNotNull(getCartResponse); | |
} | |
@SneakyThrows | |
@Test | |
void getCartWithKOResponse() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/cart").withHeader("Content-Type", matching(APPLICATION_JSON_VALUE)) | |
.willReturn(aResponse().withStatus(500).withHeader("Content-Type", APPLICATION_JSON_VALUE))); | |
Mono<GetCartResponse> getCartResponseMono = reactiveClient.getCart( | |
GetCartRequest.builder().paymentNotices(Collections.singletonList( | |
CartPaymentNotice.builder().build())).build()); | |
assertThrows(WebClientException.class, () -> getCartResponseMono.block()); | |
} | |
@Test | |
void getPaymentReceiptWithOk() throws JsonProcessingException { | |
WIRE_MOCK_EXTENSION.stubFor(get(urlMatching("/receipt/.*")) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_JSON_VALUE) | |
.withBody(mapper.writeValueAsString(CtTransferPAReceiptV2.builder().build())))); | |
Mono<CtTransferPAReceiptV2> getResponseMono = reactiveClient.getPaymentReceipt("test","test"); | |
CtTransferPAReceiptV2 getResponse = getResponseMono.block(); | |
assertNotNull(getResponse); | |
} | |
@Test | |
void getPaymentReceiptWithKO() throws JsonProcessingException { | |
WIRE_MOCK_EXTENSION.stubFor(get(urlMatching("/receipt/.*")) | |
.willReturn(aResponse().withStatus(500).withHeader("Content-Type", APPLICATION_JSON_VALUE) | |
.withBody(mapper.writeValueAsString(CtTransferPAReceiptV2.builder().build())))); | |
Mono<CtTransferPAReceiptV2> getResponseMono = reactiveClient.getPaymentReceipt("test","test"); | |
assertThrows(WebClientException.class, () -> getResponseMono.block()); | |
} | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 3 in fee3486
import com.fasterxml.jackson.databind.ObjectMapper; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 11 in fee3486
import org.junit.jupiter.api.BeforeEach; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 24 to 31 in fee3486
import java.util.Collections; | |
import static org.junit.jupiter.api.Assertions.*; | |
import static org.mockito.ArgumentMatchers.any; | |
import static org.mockito.Mockito.when; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 36 to 45 in fee3486
@MockBean | |
private MbdService mbdService; | |
@Autowired | |
private WebTestClient webClient; | |
@BeforeEach | |
void setUp() { | |
Mockito.reset(mbdService); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 47 to 48 in fee3486
@Inject | |
ObjectMapper objectMapper; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 50 to 69 in fee3486
@Test | |
void getMdbShouldReturnCheckoutUrlOnPositiveRequest() throws Exception { | |
when(mbdService.getMbd(any(),any())).thenAnswer(item -> | |
Mono.just(ResponseEntity.ok().body(GetCartResponse.builder() | |
.checkoutRedirectUrl("testUrl").build()))); | |
webClient.post().uri("/organizations/test/mbd").bodyValue( | |
objectMapper.writeValueAsBytes(GetMbdRequest.builder() | |
.idCIService("test") | |
.paymentNotices(Collections.singletonList( | |
PaymentNotice.builder().build() | |
)) | |
.returnUrls(ReturnUrls.builder().build()) | |
.build())).header("Content-Type",MediaType.APPLICATION_JSON_VALUE) | |
.exchange().expectStatus().is2xxSuccessful() | |
.expectBody(GetCartResponse.class).consumeWith(result -> { | |
GetCartResponse getCartResponse = result.getResponseBody(); | |
assertNotNull(getCartResponse); | |
assertNotNull(getCartResponse.getCheckoutRedirectUrl()); | |
assertEquals(getCartResponse.getCheckoutRedirectUrl(), "testUrl"); | |
}); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 71 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 73 to 93 in fee3486
@Test | |
void getMdbShouldReturnErrorUrlOnKoRequest() throws Exception { | |
when(mbdService.getMbd(any(),any())).thenAnswer(item -> | |
Mono.error(new RuntimeException(""))); | |
webClient.post().uri("/organizations/test/mbd").bodyValue( | |
objectMapper.writeValueAsBytes(GetMbdRequest.builder() | |
.idCIService("test") | |
.paymentNotices(Collections.singletonList( | |
PaymentNotice.builder().build() | |
)) | |
.returnUrls(ReturnUrls.builder().errorUrl("testUrl").build()) | |
.build())).header("Content-Type",MediaType.APPLICATION_JSON_VALUE) | |
.exchange().expectStatus().is5xxServerError() | |
.expectBody(GetCartErrorResponse.class) | |
.consumeWith(result -> { | |
GetCartErrorResponse getCartResponse = result.getResponseBody(); | |
assertNotNull(getCartResponse); | |
assertNotNull(getCartResponse.getErrorUrl()); | |
assertEquals(getCartResponse.getErrorUrl(), "testUrl"); | |
}); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 95 to 107 in fee3486
@Test | |
void getPaymentReceiptsShouldRetunrContentOnValidCall() throws Exception { | |
when(mbdService.getPaymentReceipts(any(),any())).thenAnswer(item -> | |
Mono.just(ResponseEntity.ok().body("ABC".getBytes()))); | |
webClient.get().uri("/organizations/test/receipt/30000000001") | |
.exchange().expectStatus().is2xxSuccessful() | |
.expectBody(String.class) | |
.consumeWith(result -> { | |
String body = result.getResponseBody(); | |
assertNotNull(body); | |
assertEquals(body, "ABC"); | |
}); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 109 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 3 in fee3486
import it.gov.pagopa.mbd.service.client.ReactiveClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 16 in fee3486
import org.junit.jupiter.api.Test; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 22 to 30 in fee3486
import javax.xml.datatype.DatatypeConfigurationException; | |
import javax.xml.datatype.DatatypeFactory; | |
import java.math.BigDecimal; | |
import java.util.Collections; | |
import static org.junit.jupiter.api.Assertions.*; | |
import static org.mockito.ArgumentMatchers.any; | |
import static org.mockito.Mockito.when; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 34 to 35 in fee3486
@MockBean | |
private ReactiveClient reactiveClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 37 to 38 in fee3486
@Inject | |
private MbdService mbdService; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 40 to 49 in fee3486
@Test | |
void getMdbShouldReturnResponseEntityOnValidData() throws DatatypeConfigurationException { | |
DemandPaymentNoticeResponse demandPaymentNoticeResponse = DemandPaymentNoticeResponse.builder() | |
.qrCode(CtQrCode.builder() | |
.noticeNumber("3000000001") | |
.fiscalCode("AAAAAAAAAA01") | |
.build()) | |
.paymentList( | |
CtPaymentOptionsDescriptionList.builder() | |
.paymentOptionDescription(Collections.singletonList( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 51 to 81 in fee3486
.paymentNote("Note") | |
.amount(BigDecimal.TEN) | |
.dueDate(DatatypeFactory.newInstance().newXMLGregorianCalendar()) | |
.options(StAmountOptionPSP.ANY).build() | |
)) | |
.build()).build(); | |
demandPaymentNoticeResponse.setOutcome(StOutcome.OK); | |
when(reactiveClient.demandPaymentNotice(any())).thenAnswer( | |
item -> Mono.just(demandPaymentNoticeResponse)); | |
GetCartResponse getCartResponse = GetCartResponse.builder().checkoutRedirectUrl("testUrl").build(); | |
when(reactiveClient.getCart(any())).thenAnswer(item -> Mono.just(getCartResponse)); | |
Mono<ResponseEntity> responseEntityMono = mbdService.getMbd("test",GetMbdRequest.builder() | |
.idCIService("1000") | |
.paymentNotices(Collections.singletonList( | |
PaymentNotice.builder() | |
.amount(1000L) | |
.documentHash("1".repeat(44)) | |
.email("test@gmail.com") | |
.fiscalCode("AAAAAAAAAAAAA01") | |
.lastName("test") | |
.firstName("test") | |
.province("RM") | |
.build() | |
)) | |
.returnUrls(ReturnUrls.builder() | |
.errorUrl("testUrl") | |
.successUrl("testUrl") | |
.cancelUrl("testUrl") | |
.build()) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 84 to 113 in fee3486
ResponseEntity responseEntity = responseEntityMono.block(); | |
assertTrue(responseEntity.getStatusCode().is2xxSuccessful()); | |
GetCartResponse response = (GetCartResponse) responseEntity.getBody(); | |
assertEquals(response.getCheckoutRedirectUrl(), "testUrl"); | |
} | |
@Test | |
void getMdbShouldReturnKoOnErrorClientCall() throws DatatypeConfigurationException { | |
DemandPaymentNoticeResponse demandPaymentNoticeResponse = DemandPaymentNoticeResponse.builder() | |
.qrCode(CtQrCode.builder() | |
.noticeNumber("3000000001") | |
.fiscalCode("AAAAAAAAAA01") | |
.build()) | |
.paymentList( | |
CtPaymentOptionsDescriptionList.builder() | |
.paymentOptionDescription(Collections.singletonList( | |
CtPaymentOptionDescription.builder() | |
.paymentNote("Note") | |
.amount(BigDecimal.TEN) | |
.dueDate(DatatypeFactory.newInstance().newXMLGregorianCalendar()) | |
.options(StAmountOptionPSP.ANY).build() | |
)) | |
.build()).build(); | |
demandPaymentNoticeResponse.setOutcome(StOutcome.OK); | |
when(reactiveClient.demandPaymentNotice(any())).thenAnswer( | |
item -> Mono.just(demandPaymentNoticeResponse)); | |
when(reactiveClient.getCart(any())).thenAnswer(item -> Mono.error(new WebClientException("Error", null))); | |
Mono<ResponseEntity> responseEntityMono = mbdService.getMbd("test",GetMbdRequest.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 115 in fee3486
.paymentNotices(Collections.singletonList( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 117 to 126 in fee3486
.amount(1000L) | |
.documentHash("1".repeat(44)) | |
.email("test@gmail.com") | |
.fiscalCode("AAAAAAAAAAAAA01") | |
.lastName("test") | |
.firstName("test") | |
.province("RM") | |
.build() | |
)) | |
.returnUrls(ReturnUrls.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 133 to 161 in fee3486
assertThrows(AppException.class, () -> responseEntityMono.block()); | |
} | |
@Test | |
void getMdbShouldReturnKOOnInvalidData() throws DatatypeConfigurationException { | |
DemandPaymentNoticeResponse demandPaymentNoticeResponse = DemandPaymentNoticeResponse.builder() | |
.qrCode(CtQrCode.builder() | |
.noticeNumber("3000000001") | |
.fiscalCode("AAAAAAAAAA01") | |
.build()) | |
.paymentList( | |
CtPaymentOptionsDescriptionList.builder() | |
.paymentOptionDescription(Collections.singletonList( | |
CtPaymentOptionDescription.builder() | |
.paymentNote("Note") | |
.amount(BigDecimal.TEN) | |
.dueDate(DatatypeFactory.newInstance().newXMLGregorianCalendar()) | |
.options(StAmountOptionPSP.ANY).build() | |
)) | |
.build()).build(); | |
demandPaymentNoticeResponse.setOutcome(StOutcome.OK); | |
when(reactiveClient.demandPaymentNotice(any())).thenAnswer( | |
item -> Mono.just(demandPaymentNoticeResponse)); | |
GetCartResponse getCartResponse = GetCartResponse.builder().checkoutRedirectUrl("testUrl").build(); | |
when(reactiveClient.getCart(any())).thenAnswer(item -> Mono.just(getCartResponse)); | |
Mono<ResponseEntity> responseEntityMono = mbdService.getMbd("test",GetMbdRequest.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 163 in fee3486
.paymentNotices(Collections.singletonList( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 165 to 174 in fee3486
.amount(1000L) | |
.documentHash("1".repeat(10)) | |
.email("test@gmail.com") | |
.fiscalCode("AAAAAAAAAAAAA01") | |
.lastName("test") | |
.firstName("test") | |
.province("RM") | |
.build() | |
)) | |
.returnUrls(ReturnUrls.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 181 to 199 in fee3486
assertThrows(ConstraintViolationException.class, () -> responseEntityMono.block()); | |
} | |
@Test | |
void getPaymentReceiptsShouldReturnOk() { | |
when(reactiveClient.getPaymentReceipt(any(),any())).thenAnswer( | |
item -> Mono.just(CtTransferPAReceiptV2.builder().mbdAttachment("test".getBytes()).build())); | |
ResponseEntity responseEntity = mbdService.getPaymentReceipts("test","test").block(); | |
assertTrue(responseEntity.getStatusCode().is2xxSuccessful()); | |
} | |
@Test | |
void getPaymentReceiptsShouldReturnKoException() { | |
when(reactiveClient.getPaymentReceipt(any(),any())).thenAnswer( | |
item -> Mono.error(new RuntimeException("Test Error"))); | |
assertThrows(AppException.class, () -> mbdService.getPaymentReceipts("test","test").block()); | |
} | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
google-java-format
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 15 in fee3486
import reactor.core.publisher.Mono; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Lines 18 to 20 in fee3486
import java.time.Duration; | |
import java.util.concurrent.TimeUnit; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Lines 24 to 37 in fee3486
@Bean | |
public WebClient webClient(){ | |
HttpClient httpClient = HttpClient.create() | |
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000) // timeout restriction | |
.responseTimeout(Duration.ofMillis(5000)) | |
.doOnConnected(conn -> conn.addHandlerLast( | |
new ReadTimeoutHandler(5000, TimeUnit.MILLISECONDS)) | |
.addHandlerLast(new WriteTimeoutHandler(5000, TimeUnit.MILLISECONDS)) | |
); | |
WebClient webClient = WebClient.builder() | |
.clientConnector(new ReactorClientHttpConnector(httpClient)) | |
.build(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 39 in fee3486
return webClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 41 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/config/WebClientConfiguration.java
Line 43 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Line 13 in fee3486
import it.gov.pagopa.mbd.service.model.mdb.GetMdbReceipt; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Line 15 in fee3486
import it.gov.pagopa.mbd.service.model.mdb.GetMbdRequest; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Line 26 in fee3486
private final MbdService mdbService; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 28 to 30 in fee3486
public MbdController(MbdService mdbService) { | |
this.mdbService = mdbService; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 32 to 51 in fee3486
@Operation(summary = "getMbd", description = "Return mbd data for payment on requirement ", | |
security = {@SecurityRequirement(name = "ApiKey")}) | |
@ApiResponses(value = { | |
@ApiResponse(responseCode = "200", description = "OK", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = GetCartResponse.class))), | |
@ApiResponse(responseCode = "400", description = "Bad Request", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "401", | |
description = "Unauthorized", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "403", | |
description = "Forbidden", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "404", description = "ibans for the brokerCode not found", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "429", | |
description = "Too many requests", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "500", | |
description = "Service unavailable", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 53 to 62 in fee3486
}) | |
@PostMapping(value = "/organizations/{fiscalCodeEC}/mbd", produces = MediaType.APPLICATION_JSON_VALUE) | |
public Mono<ResponseEntity> getMdb(@PathVariable("fiscalCodeEC") String fiscalCodeEC, | |
@RequestBody GetMbdRequest request) { | |
return mdbService.getMbd(fiscalCodeEC,request).onErrorResume(e -> { | |
if (e instanceof ConstraintViolationException) { | |
return Mono.error(e); | |
} | |
if (e instanceof AppException) { | |
return Mono.just(ResponseEntity.status(((AppException) e).getHttpStatus()) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 64 to 71 in fee3486
.body(GetCartErrorResponse.builder() | |
.errorUrl(request.getReturnUrls().getErrorUrl()).build())); | |
} | |
return Mono.just(ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).header("Content-Type", | |
MediaType.APPLICATION_JSON_VALUE).body(GetCartErrorResponse.builder() | |
.errorUrl(request.getReturnUrls().getErrorUrl()).build())); | |
}); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 73 to 93 in fee3486
@Operation(summary = "getPaymentReceipt", description = "Return receipt of payment on requirement ", | |
security = {@SecurityRequirement(name = "ApiKey")}) | |
@ApiResponses(value = { | |
@ApiResponse(responseCode = "200", description = "OK", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = GetMdbReceipt.class))), | |
@ApiResponse(responseCode = "400", description = "Bad Request", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "401", | |
description = "Unauthorized", content = @Content( | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "403", | |
description = "Forbidden", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "404", description = "ibans for the brokerCode not found", | |
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, | |
schema = @Schema(implementation = ProblemJson.class))), | |
@ApiResponse(responseCode = "429", | |
description = "Too many requests", content = @Content(schema = @Schema())), | |
@ApiResponse(responseCode = "500", | |
description = "Service unavailable", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/controller/MbdController.java
Lines 95 to 101 in fee3486
}) | |
@GetMapping(value = "/organizations/{fiscalCode}/receipt/{nav}", produces = MediaType.APPLICATION_XML_VALUE) | |
public Mono<ResponseEntity> getPaymentReceipts(@PathVariable("fiscalCode") String fiscalCode, | |
@PathVariable("nav") String nav) { | |
return mdbService.getPaymentReceipts(fiscalCode, nav); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/AppError.java
Lines 15 to 19 in fee3486
PAYMENT_NOTICE_REQUEST_MAP_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Mapping DemandPaymentNoticeRequest", "Error Mapping DemandPaymentNoticeRequest"), | |
PAYMENT_NOTICE_REQUEST_CALL_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling DemandPaymentNoticeRequest", "Error Calling DemandPaymentNoticeRequest"), | |
CART_REQUEST_MAP_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling GetCartRequest", "Error Mapping GetCartRequest"), | |
CART_REQUEST_CALL_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling GetCartRequest", "Error Mapping GetCartRequest"), | |
PAYMENT_RECEIPTS_CALL_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Error Calling Payment Receipts", "Error Mapping GetPaymentReceipts"), |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/AppException.java
Lines 3 to 4 in fee3486
import java.util.Formatter; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/AppException.java
Line 6 in fee3486
import lombok.EqualsAndHashCode; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/CartMappingException.java
Lines 13 to 17 in fee3486
public CartMappingException(@NotNull String message, | |
Throwable cause) { | |
super(message, cause); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 7 in fee3486
import java.nio.charset.StandardCharsets; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 10 to 11 in fee3486
import jakarta.validation.ConstraintViolationException; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 46 to 47 in fee3486
protected Mono<ResponseEntity<Object>> handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 69 in fee3486
protected Mono<ResponseEntity<Object>> handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange request) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 72 to 79 in fee3486
ProblemJson.builder() | |
.status(HttpStatus.BAD_REQUEST.value()) | |
.title(AppError.BAD_REQUEST.getTitle()) | |
.detail( | |
String.format( | |
"Invalid value %s for property %s", | |
ex.getValue(), ((MethodArgumentTypeMismatchException) ex).getName())) | |
.build(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 93 in fee3486
protected Mono<ResponseEntity<Object>> handleUnsatisfiedRequestParameterException(UnsatisfiedRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 104 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Lines 115 to 116 in fee3486
protected Mono<ResponseEntity<Object>> handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, | |
ServerWebExchange request) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/ErrorHandler.java
Line 133 in fee3486
public Mono<ResponseEntity<ProblemJson>> handleMyException(ConstraintViolationException ex, ServerWebExchange exchange) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/exception/WebClientException.java
Lines 13 to 17 in fee3486
public WebClientException(@NotNull String message, | |
Throwable cause) { | |
super(message, cause); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 3 in fee3486
import it.gov.pagopa.mbd.service.exception.CartMappingException; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 6 in fee3486
import it.gov.pagopa.mbd.service.model.mdb.PaymentNotice; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 11 to 12 in fee3486
import it.gov.pagopa.mbd.service.model.carts.ReturnUrls; | |
import it.gov.pagopa.mbd.service.model.mdb.GetMbdRequest; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 17 to 19 in fee3486
import org.springframework.oxm.jaxb.Jaxb2Marshaller; | |
import org.springframework.xml.transform.StringResult; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 23 to 25 in fee3486
import static org.hibernate.validator.internal.util.Contracts.assertNotNull; | |
import static org.hibernate.validator.internal.util.Contracts.assertTrue; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 29 to 31 in fee3486
public static DemandPaymentNoticeRequest mapDemandPaymentNoticeRequest( | |
String idPsp, String idBrokerPsp, String idChannel, String fiscalCodeEC, | |
Jaxb2Marshaller marshaller, GetMbdRequest getMdbRequest) { |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 33 in fee3486
PaymentNotice paymentNotice = getMdbRequest.getPaymentNotices().get(0); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 35 to 50 in fee3486
Ctebollo ctMarcaDaBollo = | |
Ctebollo.builder() | |
.debitore(CtDebitore.builder() | |
.codiceFiscaleDebitore(paymentNotice.getFiscalCode()) | |
.nomeDebitore(paymentNotice.getFirstName()) | |
.cognomeDebitore(paymentNotice.getLastName()) | |
.emailDebitore(paymentNotice.getEmail()) | |
.provinciaResidenza(paymentNotice.getProvince()) | |
.build()) | |
.enteCreditore(CtEnteCreditore.builder() | |
.codiceFiscaleEnte(fiscalCodeEC) | |
.build()) | |
.hashDocumento(CtHashDocumento.builder() | |
.hashDocumento(paymentNotice.getDocumentHash()) | |
.build()) | |
.build(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 52 to 53 in fee3486
StringResult sw = new StringResult(); | |
marshaller.marshal(ctMarcaDaBollo, sw); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 55 to 63 in fee3486
return DemandPaymentNoticeRequest.builder() | |
.idPSP(idPsp) | |
.idBrokerPSP(idBrokerPsp) | |
.idChannel(idChannel) | |
.idSoggettoServizio(getMdbRequest.getIdCIService()) | |
.password("") | |
.datiSpecificiServizio(Base64.getMimeEncoder().encode(sw.toString().getBytes())) | |
.build(); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Lines 65 to 96 in fee3486
public static GetCartRequest mapCartRequest( | |
GetMbdRequest request, DemandPaymentNoticeResponse demandPaymentNoticeResponse) { | |
try { | |
assertNotNull(demandPaymentNoticeResponse); | |
CtPaymentOptionsDescriptionList ctPaymentOptionsDescriptionList = demandPaymentNoticeResponse.getPaymentList(); | |
assertNotNull(ctPaymentOptionsDescriptionList); | |
List<CtPaymentOptionDescription> ctPaymentOptionsDescriptions = | |
ctPaymentOptionsDescriptionList.getPaymentOptionDescription(); | |
assertNotNull(ctPaymentOptionsDescriptions); | |
assertTrue(!ctPaymentOptionsDescriptions.isEmpty(), "Missing PaymentOption"); | |
CtPaymentOptionDescription ctPaymentOptionDescription = ctPaymentOptionsDescriptions.get(0); | |
assertNotNull(demandPaymentNoticeResponse.getQrCode()); | |
return GetCartRequest.builder() | |
.emailNotice(request.getPaymentNotices().get(0).getEmail()) | |
.returnUrls(ReturnUrls.builder() | |
.cancelUrl(request.getReturnUrls().getCancelUrl()) | |
.errorUrl(request.getReturnUrls().getErrorUrl()) | |
.successUrl(request.getReturnUrls().getSuccessUrl()) | |
.build()) | |
.paymentNotices(Collections.singletonList( | |
CartPaymentNotice.builder() | |
.fiscalCode(demandPaymentNoticeResponse.getQrCode().getFiscalCode()) | |
.amount(ctPaymentOptionDescription.getAmount().toBigIntegerExact().longValue()) | |
.companyName(demandPaymentNoticeResponse.getOfficeName()) | |
.description(demandPaymentNoticeResponse.getPaymentDescription()) | |
.noticeNumber(demandPaymentNoticeResponse.getQrCode().getNoticeNumber()) | |
.build() | |
)) | |
.build(); | |
} catch (Exception e) { | |
throw new CartMappingException(e.getMessage(), e); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/mapper/RequestMapper.java
Line 98 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/CartPaymentNotice.java
Lines 14 to 19 in fee3486
private String noticeNumber; | |
private String fiscalCode; | |
private Long amount; | |
private String companyName; | |
private String description; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartErrorResponse.java
Lines 14 to 15 in fee3486
private String errorUrl; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartRequest.java
Line 3 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartRequest.java
Lines 8 to 9 in fee3486
import java.util.List; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartRequest.java
Lines 16 to 20 in fee3486
private String emailNotice; | |
private List<CartPaymentNotice> paymentNotices; | |
private ReturnUrls returnUrls; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/GetCartResponse.java
Lines 14 to 15 in fee3486
private String checkoutRedirectUrl; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/carts/ReturnUrls.java
Lines 14 to 17 in fee3486
private String successUrl; | |
private String cancelUrl; | |
private String errorUrl; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Line 7 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Lines 12 to 13 in fee3486
import java.util.List; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Lines 21 to 28 in fee3486
@Size(min = 1, max = 1) | |
@Valid | |
private List<PaymentNotice> paymentNotices; | |
@NotBlank | |
private String idCIService; | |
@NotNull | |
@Valid | |
private ReturnUrls returnUrls; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMbdRequest.java
Line 30 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/GetMdbReceipt.java
Lines 16 to 17 in fee3486
private byte[] content; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/PaymentNotice.java
Lines 15 to 29 in fee3486
@NotBlank | |
private String firstName; | |
@NotBlank | |
private String lastName; | |
@NotBlank | |
private String fiscalCode; | |
@NotBlank | |
private String email; | |
@NotNull | |
private Long amount; | |
@NotBlank | |
private String province; | |
@Size(min = 44, max = 44) | |
private String documentHash; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/PaymentNotice.java
Line 31 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/mdb/ReturnUrls.java
Lines 15 to 21 in fee3486
@NotBlank | |
private String successUrl; | |
@NotBlank | |
private String cancelUrl; | |
@NotBlank | |
private String errorUrl; | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per ctDebitore complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 42 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 45 to 51 in fee3486
@XmlType(name = "ctDebitore", propOrder = { | |
"codiceFiscaleDebitore", | |
"nomeDebitore", | |
"cognomeDebitore", | |
"emailDebitore", | |
"provinciaResidenza" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 58 to 188 in fee3486
@XmlElement(required = true) | |
protected String codiceFiscaleDebitore; | |
@XmlElement(required = true) | |
protected String nomeDebitore; | |
@XmlElement(required = true) | |
protected String cognomeDebitore; | |
@XmlElement(required = true) | |
protected String emailDebitore; | |
@XmlElement(required = true) | |
protected String provinciaResidenza; | |
/** | |
* Recupera il valore della proprietà codiceFiscaleDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCodiceFiscaleDebitore() { | |
return codiceFiscaleDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà codiceFiscaleDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCodiceFiscaleDebitore(String value) { | |
this.codiceFiscaleDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà nomeDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getNomeDebitore() { | |
return nomeDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà nomeDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setNomeDebitore(String value) { | |
this.nomeDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà cognomeDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCognomeDebitore() { | |
return cognomeDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà cognomeDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCognomeDebitore(String value) { | |
this.cognomeDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà emailDebitore. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getEmailDebitore() { | |
return emailDebitore; | |
} | |
/** | |
* Imposta il valore della proprietà emailDebitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setEmailDebitore(String value) { | |
this.emailDebitore = value; | |
} | |
/** | |
* Recupera il valore della proprietà provinciaResidenza. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getProvinciaResidenza() { | |
return provinciaResidenza; | |
} | |
/** | |
* Imposta il valore della proprietà provinciaResidenza. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setProvinciaResidenza(String value) { | |
this.provinciaResidenza = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per ctEnteCreditore complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 37 to 38 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 43 in fee3486
@XmlType(name = "ctEnteCreditore", propOrder = { | |
"codiceFiscaleEnte" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 50 to 63 in fee3486
@XmlElement(required = true) | |
protected String codiceFiscaleEnte; | |
/** | |
* Recupera il valore della proprietà codiceFiscaleEnte. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCodiceFiscaleEnte() { | |
return codiceFiscaleEnte; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 65 to 75 in fee3486
/** | |
* Imposta il valore della proprietà codiceFiscaleEnte. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCodiceFiscaleEnte(String value) { | |
this.codiceFiscaleEnte = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 77 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per ctHashDocumento complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 37 to 38 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 43 in fee3486
@XmlType(name = "ctHashDocumento", propOrder = { | |
"hashDocumento" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 50 to 63 in fee3486
@XmlElement(required = true) | |
protected String hashDocumento; | |
/** | |
* Recupera il valore della proprietà hashDocumento. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getHashDocumento() { | |
return hashDocumento; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 65 to 75 in fee3486
/** | |
* Imposta il valore della proprietà hashDocumento. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setHashDocumento(String value) { | |
this.hashDocumento = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 77 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 19 to 20 in fee3486
* <p>Classe Java per ctebollo complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 22 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 36 to 37 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 40 to 44 in fee3486
@XmlType(name = "ctebollo", propOrder = { | |
"debitore", | |
"enteCreditore", | |
"hashDocumento" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 52 to 57 in fee3486
@XmlElement(required = true) | |
protected CtDebitore debitore; | |
@XmlElement(required = true) | |
protected CtEnteCreditore enteCreditore; | |
@XmlElement(required = true) | |
protected CtHashDocumento hashDocumento; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 59 to 69 in fee3486
/** | |
* Recupera il valore della proprietà debitore. | |
* | |
* @return | |
* possible object is | |
* {@link CtDebitore } | |
* | |
*/ | |
public CtDebitore getDebitore() { | |
return debitore; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 71 to 81 in fee3486
/** | |
* Imposta il valore della proprietà debitore. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtDebitore } | |
* | |
*/ | |
public void setDebitore(CtDebitore value) { | |
this.debitore = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 83 to 93 in fee3486
/** | |
* Recupera il valore della proprietà enteCreditore. | |
* | |
* @return | |
* possible object is | |
* {@link CtEnteCreditore } | |
* | |
*/ | |
public CtEnteCreditore getEnteCreditore() { | |
return enteCreditore; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 95 to 105 in fee3486
/** | |
* Imposta il valore della proprietà enteCreditore. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtEnteCreditore } | |
* | |
*/ | |
public void setEnteCreditore(CtEnteCreditore value) { | |
this.enteCreditore = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 107 to 117 in fee3486
/** | |
* Recupera il valore della proprietà hashDocumento. | |
* | |
* @return | |
* possible object is | |
* {@link CtHashDocumento } | |
* | |
*/ | |
public CtHashDocumento getHashDocumento() { | |
return hashDocumento; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Lines 119 to 129 in fee3486
/** | |
* Imposta il valore della proprietà hashDocumento. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtHashDocumento } | |
* | |
*/ | |
public void setHashDocumento(CtHashDocumento value) { | |
this.hashDocumento = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/marcaDaBollo/Ctebollo.java
Line 131 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 30 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.spcoop.puntoaccessopsp.ebollo package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 42 in fee3486
private final static QName _Service_QNAME = new QName("http://PuntoAccessoPSP.spcoop.gov.it/ebollo", "service"); | |
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.spcoop.puntoaccessopsp.ebollo | |
* | |
*/ | |
public ObjectFactory() { | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 50 in fee3486
/** | |
* Create an instance of {@link Ctebollo } | |
* | |
*/ | |
public Ctebollo createCtebollo() { | |
return new Ctebollo(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 52 to 58 in fee3486
/** | |
* Create an instance of {@link CtDebitore } | |
* | |
*/ | |
public CtDebitore createCtDebitore() { | |
return new CtDebitore(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 60 to 66 in fee3486
/** | |
* Create an instance of {@link CtEnteCreditore } | |
* | |
*/ | |
public CtEnteCreditore createCtEnteCreditore() { | |
return new CtEnteCreditore(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 68 to 74 in fee3486
/** | |
* Create an instance of {@link CtHashDocumento } | |
* | |
*/ | |
public CtHashDocumento createCtHashDocumento() { | |
return new CtHashDocumento(); | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 76 to 87 in fee3486
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Ctebollo }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Ctebollo }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://PuntoAccessoPSP.spcoop.gov.it/ebollo", name = "service") | |
public JAXBElement<Ctebollo> createService(Ctebollo value) { | |
return new JAXBElement<Ctebollo>(_Service_QNAME, Ctebollo.class, null, value); | |
} |
[google-java-format] reported by reviewdog 🐶
Line 89 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:00:54 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://PuntoAccessoPSP.spcoop.gov.it/ebollo", elementFormDefault = jakarta.xml.bind.annotation.XmlNsForm.QUALIFIED) |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import java.math.BigDecimal; | |
import javax.xml.datatype.XMLGregorianCalendar; |
[google-java-format] reported by reviewdog 🐶
Line 18 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
Line 23 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 25 to 26 in fee3486
* <p>Classe Java per ctPaymentOptionDescription complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 28 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 43 to 44 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 47 to 52 in fee3486
@XmlType(name = "ctPaymentOptionDescription", propOrder = { | |
"amount", | |
"options", | |
"dueDate", | |
"paymentNote" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 59 to 66 in fee3486
@XmlElement(required = true) | |
protected BigDecimal amount; | |
@XmlElement(required = true) | |
@XmlSchemaType(name = "string") | |
protected StAmountOptionPSP options; | |
@XmlSchemaType(name = "date") | |
protected XMLGregorianCalendar dueDate; | |
protected String paymentNote; |
[google-java-format] reported by reviewdog 🐶
Lines 68 to 78 in fee3486
/** | |
* Recupera il valore della proprietà amount. | |
* | |
* @return | |
* possible object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public BigDecimal getAmount() { | |
return amount; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 80 to 90 in fee3486
/** | |
* Imposta il valore della proprietà amount. | |
* | |
* @param value | |
* allowed object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public void setAmount(BigDecimal value) { | |
this.amount = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 92 to 102 in fee3486
/** | |
* Recupera il valore della proprietà options. | |
* | |
* @return | |
* possible object is | |
* {@link StAmountOptionPSP } | |
* | |
*/ | |
public StAmountOptionPSP getOptions() { | |
return options; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 104 to 114 in fee3486
/** | |
* Imposta il valore della proprietà options. | |
* | |
* @param value | |
* allowed object is | |
* {@link StAmountOptionPSP } | |
* | |
*/ | |
public void setOptions(StAmountOptionPSP value) { | |
this.options = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 116 to 126 in fee3486
/** | |
* Recupera il valore della proprietà dueDate. | |
* | |
* @return | |
* possible object is | |
* {@link XMLGregorianCalendar } | |
* | |
*/ | |
public XMLGregorianCalendar getDueDate() { | |
return dueDate; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 128 to 138 in fee3486
/** | |
* Imposta il valore della proprietà dueDate. | |
* | |
* @param value | |
* allowed object is | |
* {@link XMLGregorianCalendar } | |
* | |
*/ | |
public void setDueDate(XMLGregorianCalendar value) { | |
this.dueDate = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 140 to 150 in fee3486
/** | |
* Recupera il valore della proprietà paymentNote. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getPaymentNote() { | |
return paymentNote; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 152 to 162 in fee3486
/** | |
* Imposta il valore della proprietà paymentNote. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setPaymentNote(String value) { | |
this.paymentNote = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 164 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import java.util.ArrayList; | |
import java.util.List; |
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
Line 22 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 24 to 25 in fee3486
* <p>Classe Java per ctPaymentOptionsDescriptionList complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 27 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 40 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 43 to 45 in fee3486
@XmlType(name = "ctPaymentOptionsDescriptionList", propOrder = { | |
"paymentOptionDescription" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 52 to 53 in fee3486
@XmlElement(required = true) | |
protected List<CtPaymentOptionDescription> paymentOptionDescription; |
[google-java-format] reported by reviewdog 🐶
Lines 55 to 81 in fee3486
/** | |
* Gets the value of the paymentOptionDescription property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the paymentOptionDescription property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getPaymentOptionDescription().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link CtPaymentOptionDescription } | |
* | |
* | |
*/ | |
public List<CtPaymentOptionDescription> getPaymentOptionDescription() { | |
if (paymentOptionDescription == null) { | |
paymentOptionDescription = new ArrayList<CtPaymentOptionDescription>(); | |
} | |
return this.paymentOptionDescription; |
[google-java-format] reported by reviewdog 🐶
Line 83 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 22 to 23 in fee3486
* <p>Classe Java per ctQrCode complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 42 to 45 in fee3486
@XmlType(name = "ctQrCode", propOrder = { | |
"fiscalCode", | |
"noticeNumber" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 52 to 55 in fee3486
@XmlElement(required = true) | |
protected String fiscalCode; | |
@XmlElement(required = true) | |
protected String noticeNumber; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 57 to 67 in fee3486
/** | |
* Recupera il valore della proprietà fiscalCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFiscalCode() { | |
return fiscalCode; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 69 to 79 in fee3486
/** | |
* Imposta il valore della proprietà fiscalCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFiscalCode(String value) { | |
this.fiscalCode = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 81 to 91 in fee3486
/** | |
* Recupera il valore della proprietà noticeNumber. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getNoticeNumber() { | |
return noticeNumber; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Lines 93 to 103 in fee3486
/** | |
* Imposta il valore della proprietà noticeNumber. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setNoticeNumber(String value) { | |
this.noticeNumber = value; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/CtQrCode.java
Line 105 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 20 in fee3486
* <p>Classe Java per demandPaymentNoticeRequest complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 22 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 40 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 47 to 54 in fee3486
@XmlType(name = "demandPaymentNoticeRequest", propOrder = { | |
"idPSP", | |
"idBrokerPSP", | |
"idChannel", | |
"password", | |
"idSoggettoServizio", | |
"datiSpecificiServizio" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 58 to 212 in fee3486
@XmlElement(required = true) | |
protected String idPSP; | |
@XmlElement(required = true) | |
protected String idBrokerPSP; | |
@XmlElement(required = true) | |
protected String idChannel; | |
@XmlElement(required = true) | |
protected String password; | |
@XmlElement(required = true) | |
protected String idSoggettoServizio; | |
@XmlElement(required = true) | |
protected byte[] datiSpecificiServizio; | |
/** | |
* Recupera il valore della proprietà idPSP. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdPSP() { | |
return idPSP; | |
} | |
/** | |
* Imposta il valore della proprietà idPSP. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdPSP(String value) { | |
this.idPSP = value; | |
} | |
/** | |
* Recupera il valore della proprietà idBrokerPSP. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdBrokerPSP() { | |
return idBrokerPSP; | |
} | |
/** | |
* Imposta il valore della proprietà idBrokerPSP. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdBrokerPSP(String value) { | |
this.idBrokerPSP = value; | |
} | |
/** | |
* Recupera il valore della proprietà idChannel. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdChannel() { | |
return idChannel; | |
} | |
/** | |
* Imposta il valore della proprietà idChannel. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdChannel(String value) { | |
this.idChannel = value; | |
} | |
/** | |
* Recupera il valore della proprietà password. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getPassword() { | |
return password; | |
} | |
/** | |
* Imposta il valore della proprietà password. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setPassword(String value) { | |
this.password = value; | |
} | |
/** | |
* Recupera il valore della proprietà idSoggettoServizio. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIdSoggettoServizio() { | |
return idSoggettoServizio; | |
} | |
/** | |
* Imposta il valore della proprietà idSoggettoServizio. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIdSoggettoServizio(String value) { | |
this.idSoggettoServizio = value; | |
} | |
/** | |
* Recupera il valore della proprietà datiSpecificiServizio. | |
* | |
* @return | |
* possible object is | |
* byte[] | |
*/ | |
public byte[] getDatiSpecificiServizio() { | |
return datiSpecificiServizio; | |
} | |
/** | |
* Imposta il valore della proprietà datiSpecificiServizio. | |
* | |
* @param value | |
* allowed object is | |
* byte[] | |
*/ | |
public void setDatiSpecificiServizio(byte[] value) { | |
this.datiSpecificiServizio = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 11 in fee3486
import it.gov.pagopa.mbd.service.model.xml.xsd.common_types.v1_0.CtFaultBean; |
[google-java-format] reported by reviewdog 🐶
Line 13 in fee3486
import it.gov.pagopa.mbd.service.model.xml.xsd.common_types.v1_0.StOutcome; |
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 22 to 23 in fee3486
* <p>Classe Java per demandPaymentNoticeResponse complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 42 to 43 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 46 to 53 in fee3486
@XmlType(name = "demandPaymentNoticeResponse", propOrder = { | |
"qrCode", | |
"paymentList", | |
"paymentDescription", | |
"fiscalCodePA", | |
"companyName", | |
"officeName" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 58 to 211 in fee3486
public class DemandPaymentNoticeResponse | |
extends CtResponse | |
{ | |
protected CtQrCode qrCode; | |
protected CtPaymentOptionsDescriptionList paymentList; | |
protected String paymentDescription; | |
protected String fiscalCodePA; | |
protected String companyName; | |
protected String officeName; | |
/** | |
* Recupera il valore della proprietà qrCode. | |
* | |
* @return | |
* possible object is | |
* {@link CtQrCode } | |
* | |
*/ | |
public CtQrCode getQrCode() { | |
return qrCode; | |
} | |
/** | |
* Imposta il valore della proprietà qrCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtQrCode } | |
* | |
*/ | |
public void setQrCode(CtQrCode value) { | |
this.qrCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà paymentList. | |
* | |
* @return | |
* possible object is | |
* {@link CtPaymentOptionsDescriptionList } | |
* | |
*/ | |
public CtPaymentOptionsDescriptionList getPaymentList() { | |
return paymentList; | |
} | |
/** | |
* Imposta il valore della proprietà paymentList. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtPaymentOptionsDescriptionList } | |
* | |
*/ | |
public void setPaymentList(CtPaymentOptionsDescriptionList value) { | |
this.paymentList = value; | |
} | |
/** | |
* Recupera il valore della proprietà paymentDescription. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getPaymentDescription() { | |
return paymentDescription; | |
} | |
/** | |
* Imposta il valore della proprietà paymentDescription. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setPaymentDescription(String value) { | |
this.paymentDescription = value; | |
} | |
/** | |
* Recupera il valore della proprietà fiscalCodePA. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFiscalCodePA() { | |
return fiscalCodePA; | |
} | |
/** | |
* Imposta il valore della proprietà fiscalCodePA. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFiscalCodePA(String value) { | |
this.fiscalCodePA = value; | |
} | |
/** | |
* Recupera il valore della proprietà companyName. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCompanyName() { | |
return companyName; | |
} | |
/** | |
* Imposta il valore della proprietà companyName. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCompanyName(String value) { | |
this.companyName = value; | |
} | |
/** | |
* Recupera il valore della proprietà officeName. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOfficeName() { | |
return officeName; | |
} | |
/** | |
* Imposta il valore della proprietà officeName. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOfficeName(String value) { | |
this.officeName = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.27 alle 04:50:09 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 12 to 14 in fee3486
import org.w3c.dom.Element; | |
import javax.xml.namespace.QName; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 19 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 22 to 23 in fee3486
* <p>Classe Java per detail complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 42 to 44 in fee3486
@XmlType(name = "detail", propOrder = { | |
"any" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 47 to 50 in fee3486
@XmlAnyElement(lax = true) | |
protected List<Object> any; | |
@XmlAnyAttribute | |
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 52 to 80 in fee3486
/** | |
* Gets the value of the any property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the any property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getAny().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Element } | |
* {@link Object } | |
* | |
* | |
*/ | |
public List<Object> getAny() { | |
if (any == null) { | |
any = new ArrayList<Object>(); | |
} | |
return this.any; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Lines 82 to 97 in fee3486
/** | |
* Gets a map that contains attributes that aren't bound to any typed property on this class. | |
* | |
* <p> | |
* the map is keyed by the name of the attribute and | |
* the value is the string value of the attribute. | |
* | |
* the map returned by this method is live, and you can add new attribute | |
* by updating the map directly. Because of this design, there's no setter. | |
* | |
* | |
* @return | |
* always non-null | |
*/ | |
public Map<QName, String> getOtherAttributes() { | |
return otherAttributes; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 99 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/Detail.java
Line 100 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 18 to 19 in fee3486
* <p>Classe Java per faultBean complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 40 to 41 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 44 to 53 in fee3486
@XmlType(name = "faultBean", propOrder = { | |
"faultCode", | |
"faultString", | |
"id", | |
"description", | |
"serial", | |
"originalFaultCode", | |
"originalFaultString", | |
"originalDescription" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/nodeforpsp/FaultBean.java
Lines 56 to 259 in fee3486
@XmlElement(required = true) | |
protected String faultCode; | |
@XmlElement(required = true) | |
protected String faultString; | |
@XmlElement(required = true) | |
protected String id; | |
protected String description; | |
protected Integer serial; | |
protected String originalFaultCode; | |
protected String originalFaultString; | |
protected String originalDescription; | |
/** | |
* Recupera il valore della proprietà faultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultCode() { | |
return faultCode; | |
} | |
/** | |
* Imposta il valore della proprietà faultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultCode(String value) { | |
this.faultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultString() { | |
return faultString; | |
} | |
/** | |
* Imposta il valore della proprietà faultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultString(String value) { | |
this.faultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà id. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getId() { | |
return id; | |
} | |
/** | |
* Imposta il valore della proprietà id. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setId(String value) { | |
this.id = value; | |
} | |
/** | |
* Recupera il valore della proprietà description. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getDescription() { | |
return description; | |
} | |
/** | |
* Imposta il valore della proprietà description. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setDescription(String value) { | |
this.description = value; | |
} | |
/** | |
* Recupera il valore della proprietà serial. | |
* | |
* @return | |
* possible object is | |
* {@link Integer } | |
* | |
*/ | |
public Integer getSerial() { | |
return serial; | |
} | |
/** | |
* Imposta il valore della proprietà serial. | |
* | |
* @param value | |
* allowed object is | |
* {@link Integer } | |
* | |
*/ | |
public void setSerial(Integer value) { | |
this.serial = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultCode() { | |
return originalFaultCode; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultCode(String value) { | |
this.originalFaultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultString() { | |
return originalFaultString; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultString(String value) { | |
this.originalFaultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalDescription. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalDescription() { | |
return originalDescription; | |
} | |
/** | |
* Imposta il valore della proprietà originalDescription. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalDescription(String value) { | |
this.originalDescription = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import javax.xml.namespace.QName; | |
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 30 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.pagopa.pagopa_api.node.nodeforpsp package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 118 in fee3486
private final static QName _DemandPaymentNoticeRequest_QNAME = new QName("http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", "demandPaymentNoticeRequest"); | |
private final static QName _DemandPaymentNoticeResponse_QNAME = new QName("http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", "demandPaymentNoticeResponse"); | |
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.pagopa.pagopa_api.node.nodeforpsp | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link DemandPaymentNoticeRequest } | |
* | |
*/ | |
public DemandPaymentNoticeRequest createDemandPaymentNoticeRequest() { | |
return new DemandPaymentNoticeRequest(); | |
} | |
/** | |
* Create an instance of {@link DemandPaymentNoticeResponse } | |
* | |
*/ | |
public DemandPaymentNoticeResponse createDemandPaymentNoticeResponse() { | |
return new DemandPaymentNoticeResponse(); | |
} | |
/** | |
* Create an instance of {@link FaultBean } | |
* | |
*/ | |
public FaultBean createFaultBean() { | |
return new FaultBean(); | |
} | |
/** | |
* Create an instance of {@link CtQrCode } | |
* | |
*/ | |
public CtQrCode createCtQrCode() { | |
return new CtQrCode(); | |
} | |
/** | |
* Create an instance of {@link CtPaymentOptionDescription } | |
* | |
*/ | |
public CtPaymentOptionDescription createCtPaymentOptionDescription() { | |
return new CtPaymentOptionDescription(); | |
} | |
/** | |
* Create an instance of {@link CtPaymentOptionsDescriptionList } | |
* | |
*/ | |
public CtPaymentOptionsDescriptionList createCtPaymentOptionsDescriptionList() { | |
return new CtPaymentOptionsDescriptionList(); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeRequest }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeRequest }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", name = "demandPaymentNoticeRequest") | |
public JAXBElement<DemandPaymentNoticeRequest> createDemandPaymentNoticeRequest(DemandPaymentNoticeRequest value) { | |
return new JAXBElement<DemandPaymentNoticeRequest>(_DemandPaymentNoticeRequest_QNAME, DemandPaymentNoticeRequest.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeResponse }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link DemandPaymentNoticeResponse }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd", name = "demandPaymentNoticeResponse") | |
public JAXBElement<DemandPaymentNoticeResponse> createDemandPaymentNoticeResponse(DemandPaymentNoticeResponse value) { | |
return new JAXBElement<DemandPaymentNoticeResponse>(_DemandPaymentNoticeResponse_QNAME, DemandPaymentNoticeResponse.class, null, value); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 16 to 17 in fee3486
* <p>Classe Java per stAmountOptionPSP. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 19 in fee3486
* <pre> |
[google-java-format] reported by reviewdog 🐶
Line 29 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 34 to 47 in fee3486
EQ, | |
LS, | |
GT, | |
ANY; | |
public String value() { | |
return name(); | |
} | |
public static StAmountOptionPSP fromValue(String v) { | |
return valueOf(v); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd") |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.25 alle 06:15:33 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
import lombok.AllArgsConstructor; |
[google-java-format] reported by reviewdog 🐶
Lines 21 to 23 in fee3486
import java.math.BigDecimal; | |
[google-java-format] reported by reviewdog 🐶
Lines 25 to 26 in fee3486
* <p>Classe Java per ctTransferPAReceiptV2 complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 28 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 50 to 51 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 54 to 64 in fee3486
@XmlType(name = "ctTransferPAReceiptV2", propOrder = { | |
"idTransfer", | |
"transferAmount", | |
"fiscalCodePA", | |
"companyName", | |
"iban", | |
"mbdAttachment", | |
"remittanceInformation", | |
"transferCategory", | |
"metadata" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 71 to 292 in fee3486
protected int idTransfer; | |
@XmlElement(required = true) | |
protected BigDecimal transferAmount; | |
@XmlElement(required = true) | |
protected String fiscalCodePA; | |
protected String companyName; | |
@XmlElement(name = "IBAN") | |
protected String iban; | |
@XmlElement(name = "MBDAttachment") | |
protected byte[] mbdAttachment; | |
@XmlElement(required = true) | |
protected String remittanceInformation; | |
@XmlElement(required = true) | |
protected String transferCategory; | |
protected CtMetadata metadata; | |
/** | |
* Recupera il valore della proprietà idTransfer. | |
* | |
*/ | |
public int getIdTransfer() { | |
return idTransfer; | |
} | |
/** | |
* Imposta il valore della proprietà idTransfer. | |
* | |
*/ | |
public void setIdTransfer(int value) { | |
this.idTransfer = value; | |
} | |
/** | |
* Recupera il valore della proprietà transferAmount. | |
* | |
* @return | |
* possible object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public BigDecimal getTransferAmount() { | |
return transferAmount; | |
} | |
/** | |
* Imposta il valore della proprietà transferAmount. | |
* | |
* @param value | |
* allowed object is | |
* {@link BigDecimal } | |
* | |
*/ | |
public void setTransferAmount(BigDecimal value) { | |
this.transferAmount = value; | |
} | |
/** | |
* Recupera il valore della proprietà fiscalCodePA. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFiscalCodePA() { | |
return fiscalCodePA; | |
} | |
/** | |
* Imposta il valore della proprietà fiscalCodePA. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFiscalCodePA(String value) { | |
this.fiscalCodePA = value; | |
} | |
/** | |
* Recupera il valore della proprietà companyName. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCompanyName() { | |
return companyName; | |
} | |
/** | |
* Imposta il valore della proprietà companyName. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCompanyName(String value) { | |
this.companyName = value; | |
} | |
/** | |
* Recupera il valore della proprietà iban. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getIBAN() { | |
return iban; | |
} | |
/** | |
* Imposta il valore della proprietà iban. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setIBAN(String value) { | |
this.iban = value; | |
} | |
/** | |
* Recupera il valore della proprietà mbdAttachment. | |
* | |
* @return | |
* possible object is | |
* byte[] | |
*/ | |
public byte[] getMBDAttachment() { | |
return mbdAttachment; | |
} | |
/** | |
* Imposta il valore della proprietà mbdAttachment. | |
* | |
* @param value | |
* allowed object is | |
* byte[] | |
*/ | |
public void setMBDAttachment(byte[] value) { | |
this.mbdAttachment = value; | |
} | |
/** | |
* Recupera il valore della proprietà remittanceInformation. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getRemittanceInformation() { | |
return remittanceInformation; | |
} | |
/** | |
* Imposta il valore della proprietà remittanceInformation. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setRemittanceInformation(String value) { | |
this.remittanceInformation = value; | |
} | |
/** | |
* Recupera il valore della proprietà transferCategory. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getTransferCategory() { | |
return transferCategory; | |
} | |
/** | |
* Imposta il valore della proprietà transferCategory. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setTransferCategory(String value) { | |
this.transferCategory = value; | |
} | |
/** | |
* Recupera il valore della proprietà metadata. | |
* | |
* @return | |
* possible object is | |
* {@link CtMetadata } | |
* | |
*/ | |
public CtMetadata getMetadata() { | |
return metadata; | |
} | |
/** | |
* Imposta il valore della proprietà metadata. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtMetadata } | |
* | |
*/ | |
public void setMetadata(CtMetadata value) { | |
this.metadata = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.25 alle 06:15:33 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 13 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 15 to 26 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.pagopa.pagopa_api.pa.pafornode package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 31 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 32 to 46 in fee3486
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.pagopa.pagopa_api.pa.pafornode | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link CtTransferPAReceiptV2 } | |
* | |
*/ | |
public CtTransferPAReceiptV2 createCtTransferPAReceiptV2() { | |
return new CtTransferPAReceiptV2(); | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 2 to 4 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Line 22 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Line 24 in fee3486
* <p>Classe Java per Body complex type. |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 39 to 40 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 43 to 46 in fee3486
@XmlType(name = "Body", propOrder = { | |
"demandPaymentNoticeRequest", | |
"demandPaymentNoticeResponse" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Body.java
Lines 53 to 58 in fee3486
@XmlElement(name = "demandPaymentNoticeRequest", required = false, namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd") | |
protected DemandPaymentNoticeRequest demandPaymentNoticeRequest; | |
@XmlElement(name = "demandPaymentNoticeResponse", required = false, namespace = "http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd") | |
protected DemandPaymentNoticeResponse demandPaymentNoticeResponse; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 12 to 14 in fee3486
import org.w3c.dom.Element; | |
import javax.xml.namespace.QName; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 19 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 22 to 23 in fee3486
* <p>Classe Java per detail complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 42 to 44 in fee3486
@XmlType(name = "detail", propOrder = { | |
"any" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 47 to 50 in fee3486
@XmlAnyElement(lax = true) | |
protected List<Object> any; | |
@XmlAnyAttribute | |
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 52 to 80 in fee3486
/** | |
* Gets the value of the any property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the any property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getAny().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Element } | |
* {@link Object } | |
* | |
* | |
*/ | |
public List<Object> getAny() { | |
if (any == null) { | |
any = new ArrayList<Object>(); | |
} | |
return this.any; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Lines 82 to 97 in fee3486
/** | |
* Gets a map that contains attributes that aren't bound to any typed property on this class. | |
* | |
* <p> | |
* the map is keyed by the name of the attribute and | |
* the value is the string value of the attribute. | |
* | |
* the map returned by this method is live, and you can add new attribute | |
* by updating the map directly. Because of this design, there's no setter. | |
* | |
* | |
* @return | |
* always non-null | |
*/ | |
public Map<QName, String> getOtherAttributes() { | |
return otherAttributes; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 99 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Detail.java
Line 100 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 20 in fee3486
* <p>Classe Java per Envelope complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 22 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 41 in fee3486
@XmlType(name = "Envelope", propOrder = { | |
"body", | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 48 to 65 in fee3486
@XmlElement(name = "Body", namespace = "http://schemas.xmlsoap.org/soap/envelope/", required = true) | |
protected Body body; | |
public Body getBody() { | |
return body; | |
} | |
/** | |
* Imposta il valore della proprietà body. | |
* | |
* @param value | |
* allowed object is | |
* {@link Body } | |
* | |
*/ | |
public void setBody(Body value) { | |
this.body = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 67 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 68 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 12 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 15 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 17 to 18 in fee3486
* <p>Classe Java per Fault complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Line 20 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 39 to 44 in fee3486
@XmlType(name = "Fault", propOrder = { | |
"faultcode", | |
"faultstring", | |
"faultactor", | |
"detail" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Fault.java
Lines 47 to 150 in fee3486
@XmlElement(required = true) | |
protected QName faultcode; | |
@XmlElement(required = true) | |
protected String faultstring; | |
@XmlSchemaType(name = "anyURI") | |
protected String faultactor; | |
protected Detail detail; | |
/** | |
* Recupera il valore della proprietà faultcode. | |
* | |
* @return | |
* possible object is | |
* {@link QName } | |
* | |
*/ | |
public QName getFaultcode() { | |
return faultcode; | |
} | |
/** | |
* Imposta il valore della proprietà faultcode. | |
* | |
* @param value | |
* allowed object is | |
* {@link QName } | |
* | |
*/ | |
public void setFaultcode(QName value) { | |
this.faultcode = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultstring. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultstring() { | |
return faultstring; | |
} | |
/** | |
* Imposta il valore della proprietà faultstring. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultstring(String value) { | |
this.faultstring = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultactor. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultactor() { | |
return faultactor; | |
} | |
/** | |
* Imposta il valore della proprietà faultactor. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultactor(String value) { | |
this.faultactor = value; | |
} | |
/** | |
* Recupera il valore della proprietà detail. | |
* | |
* @return | |
* possible object is | |
* {@link Detail } | |
* | |
*/ | |
public Detail getDetail() { | |
return detail; | |
} | |
/** | |
* Imposta il valore della proprietà detail. | |
* | |
* @param value | |
* allowed object is | |
* {@link Detail } | |
* | |
*/ | |
public void setDetail(Detail value) { | |
this.detail = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 12 to 14 in fee3486
import org.w3c.dom.Element; | |
import javax.xml.namespace.QName; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 19 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 22 to 23 in fee3486
* <p>Classe Java per Header complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 25 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 38 to 39 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 42 to 44 in fee3486
@XmlType(name = "Header", propOrder = { | |
"any" | |
}) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 47 to 50 in fee3486
@XmlAnyElement(lax = true) | |
protected List<Object> any; | |
@XmlAnyAttribute | |
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 52 to 80 in fee3486
/** | |
* Gets the value of the any property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the any property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getAny().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Element } | |
* {@link Object } | |
* | |
* | |
*/ | |
public List<Object> getAny() { | |
if (any == null) { | |
any = new ArrayList<Object>(); | |
} | |
return this.any; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Lines 82 to 97 in fee3486
/** | |
* Gets a map that contains attributes that aren't bound to any typed property on this class. | |
* | |
* <p> | |
* the map is keyed by the name of the attribute and | |
* the value is the string value of the attribute. | |
* | |
* the map returned by this method is live, and you can add new attribute | |
* by updating the map directly. Because of this design, there's no setter. | |
* | |
* | |
* @return | |
* always non-null | |
*/ | |
public Map<QName, String> getOtherAttributes() { | |
return otherAttributes; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 99 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/model/xml/node/soap/envelope/Header.java
Line 100 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 19 to 30 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the org.xmlsoap.schemas.soap.envelope package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 138 in fee3486
private final static QName _Envelope_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Envelope"); | |
private final static QName _Header_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Header"); | |
private final static QName _Body_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Body"); | |
private final static QName _Fault_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Fault"); | |
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.xmlsoap.schemas.soap.envelope | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link Envelope } | |
* | |
*/ | |
public Envelope createEnvelope() { | |
return new Envelope(); | |
} | |
/** | |
* Create an instance of {@link Header } | |
* | |
*/ | |
public Header createHeader() { | |
return new Header(); | |
} | |
/** | |
* Create an instance of {@link Body } | |
* | |
*/ | |
public Body createBody() { | |
return new Body(); | |
} | |
/** | |
* Create an instance of {@link Fault } | |
* | |
*/ | |
public Fault createFault() { | |
return new Fault(); | |
} | |
/** | |
* Create an instance of {@link Detail } | |
* | |
*/ | |
public Detail createDetail() { | |
return new Detail(); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Envelope") | |
public JAXBElement<Envelope> createEnvelope(Envelope value) { | |
return new JAXBElement<Envelope>(_Envelope_QNAME, Envelope.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Header }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Header }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Header") | |
public JAXBElement<Header> createHeader(Header value) { | |
return new JAXBElement<Header>(_Header_QNAME, Header.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Body }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Body }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Body") | |
public JAXBElement<Body> createBody(Body value) { | |
return new JAXBElement<Body>(_Body_QNAME, Body.class, null, value); | |
} | |
/** | |
* Create an instance of {@link JAXBElement }{@code <}{@link Fault }{@code >} | |
* | |
* @param value | |
* Java instance representing xml element's value. | |
* @return | |
* the new instance of {@link JAXBElement }{@code <}{@link Fault }{@code >} | |
*/ | |
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Fault") | |
public JAXBElement<Fault> createFault(Fault value) { | |
return new JAXBElement<Fault>(_Fault_QNAME, Fault.class, null, value); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.28 alle 03:55:01 PM CET |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 19 in fee3486
* <p>Classe Java per ctFaultBean complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 40 to 41 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 53 in fee3486
@XmlType(name = "ctFaultBean", propOrder = { | |
"faultCode", | |
"faultString", | |
"id", | |
"description", | |
"serial", | |
"originalFaultCode", | |
"originalFaultString", | |
"originalDescription" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 56 to 259 in fee3486
@XmlElement(required = true) | |
protected String faultCode; | |
@XmlElement(required = true) | |
protected String faultString; | |
@XmlElement(required = true) | |
protected String id; | |
protected String description; | |
protected Integer serial; | |
protected String originalFaultCode; | |
protected String originalFaultString; | |
protected String originalDescription; | |
/** | |
* Recupera il valore della proprietà faultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultCode() { | |
return faultCode; | |
} | |
/** | |
* Imposta il valore della proprietà faultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultCode(String value) { | |
this.faultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà faultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getFaultString() { | |
return faultString; | |
} | |
/** | |
* Imposta il valore della proprietà faultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setFaultString(String value) { | |
this.faultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà id. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getId() { | |
return id; | |
} | |
/** | |
* Imposta il valore della proprietà id. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setId(String value) { | |
this.id = value; | |
} | |
/** | |
* Recupera il valore della proprietà description. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getDescription() { | |
return description; | |
} | |
/** | |
* Imposta il valore della proprietà description. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setDescription(String value) { | |
this.description = value; | |
} | |
/** | |
* Recupera il valore della proprietà serial. | |
* | |
* @return | |
* possible object is | |
* {@link Integer } | |
* | |
*/ | |
public Integer getSerial() { | |
return serial; | |
} | |
/** | |
* Imposta il valore della proprietà serial. | |
* | |
* @param value | |
* allowed object is | |
* {@link Integer } | |
* | |
*/ | |
public void setSerial(Integer value) { | |
this.serial = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultCode. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultCode() { | |
return originalFaultCode; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultCode. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultCode(String value) { | |
this.originalFaultCode = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalFaultString. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalFaultString() { | |
return originalFaultString; | |
} | |
/** | |
* Imposta il valore della proprietà originalFaultString. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalFaultString(String value) { | |
this.originalFaultString = value; | |
} | |
/** | |
* Recupera il valore della proprietà originalDescription. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getOriginalDescription() { | |
return originalDescription; | |
} | |
/** | |
* Imposta il valore della proprietà originalDescription. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setOriginalDescription(String value) { | |
this.originalDescription = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 19 in fee3486
* <p>Classe Java per ctMapEntry complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 34 to 35 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 38 to 41 in fee3486
@XmlType(name = "ctMapEntry", propOrder = { | |
"key", | |
"value" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 47 in fee3486
@XmlElement(required = true) | |
protected String key; | |
@XmlElement(required = true) | |
protected String value; |
[google-java-format] reported by reviewdog 🐶
Lines 49 to 59 in fee3486
/** | |
* Recupera il valore della proprietà key. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getKey() { | |
return key; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 61 to 71 in fee3486
/** | |
* Imposta il valore della proprietà key. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setKey(String value) { | |
this.key = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 73 to 83 in fee3486
/** | |
* Recupera il valore della proprietà value. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getValue() { | |
return value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 85 to 95 in fee3486
/** | |
* Imposta il valore della proprietà value. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setValue(String value) { | |
this.value = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 97 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 11 to 12 in fee3486
import java.util.ArrayList; | |
import java.util.List; |
[google-java-format] reported by reviewdog 🐶
Line 17 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 20 to 21 in fee3486
* <p>Classe Java per ctMetadata complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 23 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 41 in fee3486
@XmlType(name = "ctMetadata", propOrder = { | |
"mapEntry" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 44 to 45 in fee3486
@XmlElement(required = true) | |
protected List<CtMapEntry> mapEntry; |
[google-java-format] reported by reviewdog 🐶
Lines 47 to 73 in fee3486
/** | |
* Gets the value of the mapEntry property. | |
* | |
* <p> | |
* This accessor method returns a reference to the live list, | |
* not a snapshot. Therefore any modification you make to the | |
* returned list will be present inside the Jakarta XML Binding object. | |
* This is why there is not a <CODE>set</CODE> method for the mapEntry property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getMapEntry().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link CtMapEntry } | |
* | |
* | |
*/ | |
public List<CtMapEntry> getMapEntry() { | |
if (mapEntry == null) { | |
mapEntry = new ArrayList<CtMapEntry>(); | |
} | |
return this.mapEntry; |
[google-java-format] reported by reviewdog 🐶
Line 75 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 22 in fee3486
import lombok.AllArgsConstructor; | |
import lombok.Builder; | |
import lombok.Data; | |
import lombok.NoArgsConstructor; | |
[google-java-format] reported by reviewdog 🐶
Lines 25 to 26 in fee3486
* <p>Classe Java per ctResponse complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 28 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 42 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 45 to 51 in fee3486
@XmlType(name = "ctResponse", propOrder = { | |
"outcome", | |
"fault" | |
}) | |
@XmlSeeAlso({ | |
DemandPaymentNoticeResponse.class | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 54 to 57 in fee3486
@XmlElement(required = true) | |
@XmlSchemaType(name = "string") | |
protected StOutcome outcome; | |
protected CtFaultBean fault; |
[google-java-format] reported by reviewdog 🐶
Lines 59 to 69 in fee3486
/** | |
* Recupera il valore della proprietà outcome. | |
* | |
* @return | |
* possible object is | |
* {@link StOutcome } | |
* | |
*/ | |
public StOutcome getOutcome() { | |
return outcome; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 71 to 81 in fee3486
/** | |
* Imposta il valore della proprietà outcome. | |
* | |
* @param value | |
* allowed object is | |
* {@link StOutcome } | |
* | |
*/ | |
public void setOutcome(StOutcome value) { | |
this.outcome = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 83 to 93 in fee3486
/** | |
* Recupera il valore della proprietà fault. | |
* | |
* @return | |
* possible object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public CtFaultBean getFault() { | |
return fault; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 95 to 105 in fee3486
/** | |
* Imposta il valore della proprietà fault. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public void setFault(CtFaultBean value) { | |
this.fault = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 107 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 16 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 18 to 19 in fee3486
* <p>Classe Java per ctRichiestaMarcaDaBollo complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 21 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 35 to 36 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 39 to 43 in fee3486
@XmlType(name = "ctRichiestaMarcaDaBollo", propOrder = { | |
"hashDocumento", | |
"tipoBollo", | |
"provinciaResidenza" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 46 to 51 in fee3486
@XmlElement(required = true) | |
protected byte[] hashDocumento; | |
@XmlElement(required = true) | |
protected String tipoBollo; | |
@XmlElement(required = true) | |
protected String provinciaResidenza; |
[google-java-format] reported by reviewdog 🐶
Lines 53 to 62 in fee3486
/** | |
* Recupera il valore della proprietà hashDocumento. | |
* | |
* @return | |
* possible object is | |
* byte[] | |
*/ | |
public byte[] getHashDocumento() { | |
return hashDocumento; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 64 to 73 in fee3486
/** | |
* Imposta il valore della proprietà hashDocumento. | |
* | |
* @param value | |
* allowed object is | |
* byte[] | |
*/ | |
public void setHashDocumento(byte[] value) { | |
this.hashDocumento = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 75 to 85 in fee3486
/** | |
* Recupera il valore della proprietà tipoBollo. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getTipoBollo() { | |
return tipoBollo; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 87 to 97 in fee3486
/** | |
* Imposta il valore della proprietà tipoBollo. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setTipoBollo(String value) { | |
this.tipoBollo = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 99 to 109 in fee3486
/** | |
* Recupera il valore della proprietà provinciaResidenza. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getProvinciaResidenza() { | |
return provinciaResidenza; | |
} |
[google-java-format] reported by reviewdog 🐶
Lines 111 to 121 in fee3486
/** | |
* Imposta il valore della proprietà provinciaResidenza. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setProvinciaResidenza(String value) { | |
this.provinciaResidenza = value; | |
} |
[google-java-format] reported by reviewdog 🐶
Line 123 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 15 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 17 to 18 in fee3486
* <p>Classe Java per ctRisposta complex type. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 20 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Lines 32 to 33 in fee3486
* | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 36 to 38 in fee3486
@XmlType(name = "ctRisposta", propOrder = { | |
"fault" | |
}) |
[google-java-format] reported by reviewdog 🐶
Lines 41 to 66 in fee3486
protected CtFaultBean fault; | |
/** | |
* Recupera il valore della proprietà fault. | |
* | |
* @return | |
* possible object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public CtFaultBean getFault() { | |
return fault; | |
} | |
/** | |
* Imposta il valore della proprietà fault. | |
* | |
* @param value | |
* allowed object is | |
* {@link CtFaultBean } | |
* | |
*/ | |
public void setFault(CtFaultBean value) { | |
this.fault = value; | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 13 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 15 to 26 in fee3486
* This object contains factory methods for each | |
* Java content interface and Java element interface | |
* generated in the it.gov.pagopa.pagopa_api.xsd.common_types.v1_0 package. | |
* <p>An ObjectFactory allows you to programatically | |
* construct new instances of the Java representation | |
* for XML content. The Java representation of XML | |
* content can consist of schema derived interfaces | |
* and classes representing the binding of schema | |
* type definitions, element declarations and model | |
* groups. Factory methods for each of these are | |
* provided in this class. | |
* |
[google-java-format] reported by reviewdog 🐶
Lines 31 to 86 in fee3486
/** | |
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.gov.pagopa.pagopa_api.xsd.common_types.v1_0 | |
* | |
*/ | |
public ObjectFactory() { | |
} | |
/** | |
* Create an instance of {@link CtRichiestaMarcaDaBollo } | |
* | |
*/ | |
public CtRichiestaMarcaDaBollo createCtRichiestaMarcaDaBollo() { | |
return new CtRichiestaMarcaDaBollo(); | |
} | |
/** | |
* Create an instance of {@link CtMapEntry } | |
* | |
*/ | |
public CtMapEntry createCtMapEntry() { | |
return new CtMapEntry(); | |
} | |
/** | |
* Create an instance of {@link CtMetadata } | |
* | |
*/ | |
public CtMetadata createCtMetadata() { | |
return new CtMetadata(); | |
} | |
/** | |
* Create an instance of {@link CtFaultBean } | |
* | |
*/ | |
public CtFaultBean createCtFaultBean() { | |
return new CtFaultBean(); | |
} | |
/** | |
* Create an instance of {@link CtResponse } | |
* | |
*/ | |
public CtResponse createCtResponse() { | |
return new CtResponse(); | |
} | |
/** | |
* Create an instance of {@link CtRisposta } | |
* | |
*/ | |
public CtRisposta createCtRisposta() { | |
return new CtRisposta(); | |
} | |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
[google-java-format] reported by reviewdog 🐶
Line 14 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 16 to 17 in fee3486
* <p>Classe Java per stOutcome. | |
* |
[google-java-format] reported by reviewdog 🐶
Line 19 in fee3486
* <pre> |
[google-java-format] reported by reviewdog 🐶
Line 27 in fee3486
* |
[google-java-format] reported by reviewdog 🐶
Line 32 in fee3486
[google-java-format] reported by reviewdog 🐶
Lines 33 to 42 in fee3486
OK, | |
KO; | |
public String value() { | |
return name(); | |
} | |
public static StOutcome fromValue(String v) { | |
return valueOf(v); | |
} |
[google-java-format] reported by reviewdog 🐶
Line 44 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
Lines 2 to 5 in fee3486
// Questo file è stato generato dall'Eclipse Implementation of JAXB, v3.0.0 | |
// Vedere https://eclipse-ee4j.github.io/jaxb-ri | |
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. | |
// Generato il: 2024.11.21 alle 04:46:32 PM CET |
[google-java-format] reported by reviewdog 🐶
Line 8 in fee3486
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/xsd/common-types/v1.0.0/") |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/MbdService.java
Lines 9 to 11 in fee3486
Mono<ResponseEntity> getMbd(String fiscalCodeEC, GetMbdRequest request); | |
Mono<ResponseEntity> getPaymentReceipts(String fiscalCode, String nav); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/MbdService.java
Line 13 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 16 in fee3486
import lombok.extern.slf4j.Slf4j; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 27 to 29 in fee3486
import java.util.HashMap; | |
import java.util.Set; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 34 to 43 in fee3486
private final Validator validator; | |
private final ReactiveClient reactiveSoapClient; | |
private final Jaxb2Marshaller jaxb2Marshaller; | |
private final String mdbLinkBaseUrl; | |
private final String idPsp; | |
private final String idBrokerPsp; | |
private final String channelId; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 45 to 64 in fee3486
@Autowired | |
public MbdServiceImpl( | |
Validator validator, ReactiveClient reactiveSoapClient, | |
Jaxb2Marshaller jaxb2Marshaller, | |
@Value("mbd.link.baseUrl") | |
String mdbLinkBaseUrl, | |
@Value("mbd.mapper.idPsp") | |
String idPsp, | |
@Value("mbd.mapper.idBrokerPsp") | |
String idBrokerPsp, | |
@Value("mbd.mapper.channelId") | |
String channelId) { | |
this.validator = validator; | |
this.reactiveSoapClient = reactiveSoapClient; | |
this.jaxb2Marshaller = jaxb2Marshaller; | |
this.mdbLinkBaseUrl = mdbLinkBaseUrl; | |
this.idPsp = idPsp; | |
this.idBrokerPsp = idBrokerPsp; | |
this.channelId = channelId; | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 66 to 111 in fee3486
@Override | |
public Mono<ResponseEntity> getMbd(String fiscalCodeEC, GetMbdRequest request) { | |
HashMap<String, DemandPaymentNoticeResponse> hashMap = new HashMap(); | |
return Mono.just(request) | |
.doFirst(() -> { | |
Set<ConstraintViolation<GetMbdRequest>> errors = validator.validate(request); | |
if (!errors.isEmpty()) { | |
throw new ConstraintViolationException(errors); | |
} | |
}) | |
.onErrorMap(ConstraintViolationException.class, e -> { | |
log.error("Encountered an error during demandPaymentNotice Validation: {}", e.getMessage()); | |
return e; | |
}) | |
.map(item -> RequestMapper.mapDemandPaymentNoticeRequest(idPsp, idBrokerPsp, channelId, fiscalCodeEC, | |
jaxb2Marshaller, item)) | |
.onErrorMap(XmlMappingException.class, e -> { | |
log.error("Encountered an error during demandPaymentNotice Request Mapping: {}", e.getMessage()); | |
return new AppException(AppError.PAYMENT_NOTICE_REQUEST_MAP_ERROR, e); | |
}) | |
.flatMap(reactiveSoapClient::demandPaymentNotice) | |
.onErrorMap(WebClientException.class, e -> { | |
log.error("Encountered an error during demandPaymentNotice Call: {}", e.getMessage()); | |
return new AppException(AppError.PAYMENT_NOTICE_REQUEST_CALL_ERROR, e); | |
}) | |
.map(demandPaymentNoticeResponse -> { | |
hashMap.put("demandPaymentNoticeResponse", demandPaymentNoticeResponse); | |
return RequestMapper.mapCartRequest(request, demandPaymentNoticeResponse); | |
}) | |
.onErrorMap(CartMappingException.class, e -> { | |
log.error("Encountered an error during cart mapping: {}", e.getMessage()); | |
return new AppException(AppError.CART_REQUEST_MAP_ERROR, e); | |
}) | |
.flatMap(reactiveSoapClient::getCart) | |
.onErrorMap(WebClientException.class, e -> { | |
log.error("Encountered an error during getCart Call: {}", e.getMessage()); | |
return new AppException(AppError.CART_REQUEST_CALL_ERROR, e); | |
}) | |
.map(item -> ResponseEntity.ok() | |
.header("MBD-Link", | |
StringUtils.joinWith("/", mdbLinkBaseUrl, | |
"mbd/v1/organizations", fiscalCodeEC, | |
"receipt", hashMap.get("demandPaymentNoticeResponse").getQrCode().getNoticeNumber())) | |
.header( "MBD-NAV", hashMap.get("demandPaymentNoticeResponse").getQrCode() | |
.getNoticeNumber()) | |
.body(item)); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 113 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Lines 115 to 126 in fee3486
@Override | |
public Mono<ResponseEntity> getPaymentReceipts(String fiscalCode, String nav) { | |
return Mono.zip(Mono.just(fiscalCode),Mono.just(nav).map(item -> nav.substring(1))) | |
.flatMap(tuple -> reactiveSoapClient.getPaymentReceipt(tuple.getT1(),tuple.getT2())) | |
.onErrorResume(e -> { | |
log.error("Encountered an error during getPaymentReceiptCall Call: {}", e.getMessage()); | |
return Mono.error(new AppException(AppError.PAYMENT_RECEIPTS_CALL_ERROR, e)); | |
}) | |
.map(item -> ResponseEntity.ok() | |
.header("Content-Type", MediaType.APPLICATION_JSON_VALUE) | |
.body(GetMdbReceipt.builder().content(item.getMBDAttachment()).build())); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 128 in fee3486
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/main/java/it/gov/pagopa/mbd/service/service/impl/MbdServiceImpl.java
Line 129 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Line 3 in fee3486
import com.fasterxml.jackson.databind.ObjectMapper; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 13 to 17 in fee3486
import org.springframework.test.web.servlet.MockMvc; | |
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | |
import org.springframework.test.web.servlet.result.MockMvcResultMatchers; | |
import static org.junit.jupiter.api.Assertions.*; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 25 to 26 in fee3486
@Autowired | |
private WebTestClient webClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 30 to 32 in fee3486
webClient.get().uri("/v3/api-docs").accept(MediaType.APPLICATION_JSON).exchange() | |
.expectStatus().is2xxSuccessful() | |
.expectBody().consumeWith( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/OpenApiGenerationTest.java
Lines 34 to 49 in fee3486
try { | |
assertNotNull(result); | |
assertNotNull(result.getResponseBody()); | |
final String content = new String(result.getResponseBodyContent()); | |
assertFalse(content.isBlank()); | |
assertFalse(content.contains("${"), "Generated swagger contains placeholders"); | |
Object swagger = | |
objectMapper.readValue(new String(result.getResponseBodyContent()), Object.class); | |
String formatted = | |
objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(swagger); | |
Path basePath = Paths.get("openapi/"); | |
Files.createDirectories(basePath); | |
Files.write(basePath.resolve("openapi.json"), formatted.getBytes()); | |
} catch (Exception e) { | |
assertTrue(false); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Line 3 in fee3486
import com.fasterxml.jackson.core.JsonProcessingException; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Line 14 in fee3486
import lombok.SneakyThrows; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 21 to 30 in fee3486
import java.nio.charset.StandardCharsets; | |
import java.util.Collections; | |
import static com.github.tomakehurst.wiremock.client.WireMock.*; | |
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; | |
import static org.junit.jupiter.api.Assertions.assertNotNull; | |
import static org.junit.jupiter.api.Assertions.assertThrows; | |
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; | |
import static org.springframework.http.MediaType.APPLICATION_XML_VALUE; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 34 to 63 in fee3486
@Autowired | |
ObjectMapper mapper; | |
@RegisterExtension | |
private static final WireMockExtension WIRE_MOCK_EXTENSION = | |
WireMockExtension.newInstance().options(wireMockConfig().port(8086)).build(); | |
@Inject | |
ReactiveClient reactiveClient; | |
@Test | |
void demandPaymentNoticeShouldReturnOk() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/demand").withHeader("Content-Type", matching(APPLICATION_XML_VALUE)) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_XML_VALUE) | |
.withBody("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n" + | |
"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:common=\"http://pagopa-api.pagopa.gov.it/xsd/common-types/v1.0.0/\" xmlns:nfp=\"http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd\">\n" + | |
" <soapenv:Body>\n" + | |
" <nfp:demandPaymentNoticeResponse>\n" + | |
" <outcome>OK</outcome>\n" + | |
" </nfp:demandPaymentNoticeResponse>\n" + | |
" </soapenv:Body>\n" + | |
"</soapenv:Envelope>" | |
))); | |
Mono<DemandPaymentNoticeResponse> demandPaymentNoticeResponseMono = reactiveClient.demandPaymentNotice( | |
DemandPaymentNoticeRequest.builder() | |
.idPSP("1212") | |
.idBrokerPSP("121212") | |
.idChannel("232323") | |
.password("") | |
.datiSpecificiServizio("test".getBytes(StandardCharsets.UTF_8)) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 65 to 83 in fee3486
DemandPaymentNoticeResponse demandPaymentNoticeResponse = demandPaymentNoticeResponseMono.block(); | |
assertNotNull(demandPaymentNoticeResponse); | |
} | |
@Test | |
void demandPaymentNoticeShouldReturnKO() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/demand").withHeader("Content-Type", matching(APPLICATION_XML_VALUE)) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_XML_VALUE) | |
.withBody("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n" + | |
"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:common=\"http://pagopa-api.pagopa.gov.it/xsd/common-types/v1.0.0/\" xmlns:nfp=\"http://pagopa-api.pagopa.gov.it/node/nodeForPsp.xsd\">\n" + | |
" <soapenv:Body>\n" + | |
" <nfp:demandPaymentNoticeResponse>\n" + | |
" <outcome>KO</outcome>\n" + | |
" </nfp:demandPaymentNoticeResponse>\n" + | |
" </soapenv:Body>\n" + | |
"</soapenv:Envelope>" | |
))); | |
Mono<DemandPaymentNoticeResponse> demandPaymentNoticeResponseMono = reactiveClient.demandPaymentNotice( | |
DemandPaymentNoticeRequest.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/client/ReactiveClientTest.java
Lines 90 to 138 in fee3486
assertThrows(WebClientException.class, () -> demandPaymentNoticeResponseMono.block()); | |
} | |
@SneakyThrows | |
@Test | |
void getCartWithOkResponse() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/cart").withHeader("Content-Type", matching(APPLICATION_JSON_VALUE)) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_JSON_VALUE) | |
.withBody(mapper.writeValueAsString(GetCartResponse.builder().checkoutRedirectUrl("testUrl").build())))); | |
Mono<GetCartResponse> getCartResponseMono = reactiveClient.getCart( | |
GetCartRequest.builder().paymentNotices(Collections.singletonList( | |
CartPaymentNotice.builder().build())).build()); | |
GetCartResponse getCartResponse = getCartResponseMono.block(); | |
assertNotNull(getCartResponse); | |
} | |
@SneakyThrows | |
@Test | |
void getCartWithKOResponse() { | |
WIRE_MOCK_EXTENSION.stubFor(post("/cart").withHeader("Content-Type", matching(APPLICATION_JSON_VALUE)) | |
.willReturn(aResponse().withStatus(500).withHeader("Content-Type", APPLICATION_JSON_VALUE))); | |
Mono<GetCartResponse> getCartResponseMono = reactiveClient.getCart( | |
GetCartRequest.builder().paymentNotices(Collections.singletonList( | |
CartPaymentNotice.builder().build())).build()); | |
assertThrows(WebClientException.class, () -> getCartResponseMono.block()); | |
} | |
@Test | |
void getPaymentReceiptWithOk() throws JsonProcessingException { | |
WIRE_MOCK_EXTENSION.stubFor(get(urlMatching("/receipt/.*")) | |
.willReturn(aResponse().withStatus(200).withHeader("Content-Type", APPLICATION_JSON_VALUE) | |
.withBody(mapper.writeValueAsString(CtTransferPAReceiptV2.builder().build())))); | |
Mono<CtTransferPAReceiptV2> getResponseMono = reactiveClient.getPaymentReceipt("test","test"); | |
CtTransferPAReceiptV2 getResponse = getResponseMono.block(); | |
assertNotNull(getResponse); | |
} | |
@Test | |
void getPaymentReceiptWithKO() throws JsonProcessingException { | |
WIRE_MOCK_EXTENSION.stubFor(get(urlMatching("/receipt/.*")) | |
.willReturn(aResponse().withStatus(500).withHeader("Content-Type", APPLICATION_JSON_VALUE) | |
.withBody(mapper.writeValueAsString(CtTransferPAReceiptV2.builder().build())))); | |
Mono<CtTransferPAReceiptV2> getResponseMono = reactiveClient.getPaymentReceipt("test","test"); | |
assertThrows(WebClientException.class, () -> getResponseMono.block()); | |
} | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 3 in fee3486
import com.fasterxml.jackson.databind.ObjectMapper; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 11 in fee3486
import org.junit.jupiter.api.BeforeEach; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 24 to 31 in fee3486
import java.util.Collections; | |
import static org.junit.jupiter.api.Assertions.*; | |
import static org.mockito.ArgumentMatchers.any; | |
import static org.mockito.Mockito.when; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 36 to 45 in fee3486
@MockBean | |
private MbdService mbdService; | |
@Autowired | |
private WebTestClient webClient; | |
@BeforeEach | |
void setUp() { | |
Mockito.reset(mbdService); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 47 to 48 in fee3486
@Inject | |
ObjectMapper objectMapper; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 50 to 69 in fee3486
@Test | |
void getMdbShouldReturnCheckoutUrlOnPositiveRequest() throws Exception { | |
when(mbdService.getMbd(any(),any())).thenAnswer(item -> | |
Mono.just(ResponseEntity.ok().body(GetCartResponse.builder() | |
.checkoutRedirectUrl("testUrl").build()))); | |
webClient.post().uri("/organizations/test/mbd").bodyValue( | |
objectMapper.writeValueAsBytes(GetMbdRequest.builder() | |
.idCIService("test") | |
.paymentNotices(Collections.singletonList( | |
PaymentNotice.builder().build() | |
)) | |
.returnUrls(ReturnUrls.builder().build()) | |
.build())).header("Content-Type",MediaType.APPLICATION_JSON_VALUE) | |
.exchange().expectStatus().is2xxSuccessful() | |
.expectBody(GetCartResponse.class).consumeWith(result -> { | |
GetCartResponse getCartResponse = result.getResponseBody(); | |
assertNotNull(getCartResponse); | |
assertNotNull(getCartResponse.getCheckoutRedirectUrl()); | |
assertEquals(getCartResponse.getCheckoutRedirectUrl(), "testUrl"); | |
}); |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 71 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 73 to 93 in fee3486
@Test | |
void getMdbShouldReturnErrorUrlOnKoRequest() throws Exception { | |
when(mbdService.getMbd(any(),any())).thenAnswer(item -> | |
Mono.error(new RuntimeException(""))); | |
webClient.post().uri("/organizations/test/mbd").bodyValue( | |
objectMapper.writeValueAsBytes(GetMbdRequest.builder() | |
.idCIService("test") | |
.paymentNotices(Collections.singletonList( | |
PaymentNotice.builder().build() | |
)) | |
.returnUrls(ReturnUrls.builder().errorUrl("testUrl").build()) | |
.build())).header("Content-Type",MediaType.APPLICATION_JSON_VALUE) | |
.exchange().expectStatus().is5xxServerError() | |
.expectBody(GetCartErrorResponse.class) | |
.consumeWith(result -> { | |
GetCartErrorResponse getCartResponse = result.getResponseBody(); | |
assertNotNull(getCartResponse); | |
assertNotNull(getCartResponse.getErrorUrl()); | |
assertEquals(getCartResponse.getErrorUrl(), "testUrl"); | |
}); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Lines 95 to 107 in fee3486
@Test | |
void getPaymentReceiptsShouldRetunrContentOnValidCall() throws Exception { | |
when(mbdService.getPaymentReceipts(any(),any())).thenAnswer(item -> | |
Mono.just(ResponseEntity.ok().body("ABC".getBytes()))); | |
webClient.get().uri("/organizations/test/receipt/30000000001") | |
.exchange().expectStatus().is2xxSuccessful() | |
.expectBody(String.class) | |
.consumeWith(result -> { | |
String body = result.getResponseBody(); | |
assertNotNull(body); | |
assertEquals(body, "ABC"); | |
}); | |
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/controller/MbdControllerTest.java
Line 109 in fee3486
} |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 3 in fee3486
import it.gov.pagopa.mbd.service.client.ReactiveClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 16 in fee3486
import org.junit.jupiter.api.Test; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 22 to 30 in fee3486
import javax.xml.datatype.DatatypeConfigurationException; | |
import javax.xml.datatype.DatatypeFactory; | |
import java.math.BigDecimal; | |
import java.util.Collections; | |
import static org.junit.jupiter.api.Assertions.*; | |
import static org.mockito.ArgumentMatchers.any; | |
import static org.mockito.Mockito.when; | |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 34 to 35 in fee3486
@MockBean | |
private ReactiveClient reactiveClient; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 37 to 38 in fee3486
@Inject | |
private MbdService mbdService; |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 40 to 49 in fee3486
@Test | |
void getMdbShouldReturnResponseEntityOnValidData() throws DatatypeConfigurationException { | |
DemandPaymentNoticeResponse demandPaymentNoticeResponse = DemandPaymentNoticeResponse.builder() | |
.qrCode(CtQrCode.builder() | |
.noticeNumber("3000000001") | |
.fiscalCode("AAAAAAAAAA01") | |
.build()) | |
.paymentList( | |
CtPaymentOptionsDescriptionList.builder() | |
.paymentOptionDescription(Collections.singletonList( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 51 to 81 in fee3486
.paymentNote("Note") | |
.amount(BigDecimal.TEN) | |
.dueDate(DatatypeFactory.newInstance().newXMLGregorianCalendar()) | |
.options(StAmountOptionPSP.ANY).build() | |
)) | |
.build()).build(); | |
demandPaymentNoticeResponse.setOutcome(StOutcome.OK); | |
when(reactiveClient.demandPaymentNotice(any())).thenAnswer( | |
item -> Mono.just(demandPaymentNoticeResponse)); | |
GetCartResponse getCartResponse = GetCartResponse.builder().checkoutRedirectUrl("testUrl").build(); | |
when(reactiveClient.getCart(any())).thenAnswer(item -> Mono.just(getCartResponse)); | |
Mono<ResponseEntity> responseEntityMono = mbdService.getMbd("test",GetMbdRequest.builder() | |
.idCIService("1000") | |
.paymentNotices(Collections.singletonList( | |
PaymentNotice.builder() | |
.amount(1000L) | |
.documentHash("1".repeat(44)) | |
.email("test@gmail.com") | |
.fiscalCode("AAAAAAAAAAAAA01") | |
.lastName("test") | |
.firstName("test") | |
.province("RM") | |
.build() | |
)) | |
.returnUrls(ReturnUrls.builder() | |
.errorUrl("testUrl") | |
.successUrl("testUrl") | |
.cancelUrl("testUrl") | |
.build()) |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 84 to 113 in fee3486
ResponseEntity responseEntity = responseEntityMono.block(); | |
assertTrue(responseEntity.getStatusCode().is2xxSuccessful()); | |
GetCartResponse response = (GetCartResponse) responseEntity.getBody(); | |
assertEquals(response.getCheckoutRedirectUrl(), "testUrl"); | |
} | |
@Test | |
void getMdbShouldReturnKoOnErrorClientCall() throws DatatypeConfigurationException { | |
DemandPaymentNoticeResponse demandPaymentNoticeResponse = DemandPaymentNoticeResponse.builder() | |
.qrCode(CtQrCode.builder() | |
.noticeNumber("3000000001") | |
.fiscalCode("AAAAAAAAAA01") | |
.build()) | |
.paymentList( | |
CtPaymentOptionsDescriptionList.builder() | |
.paymentOptionDescription(Collections.singletonList( | |
CtPaymentOptionDescription.builder() | |
.paymentNote("Note") | |
.amount(BigDecimal.TEN) | |
.dueDate(DatatypeFactory.newInstance().newXMLGregorianCalendar()) | |
.options(StAmountOptionPSP.ANY).build() | |
)) | |
.build()).build(); | |
demandPaymentNoticeResponse.setOutcome(StOutcome.OK); | |
when(reactiveClient.demandPaymentNotice(any())).thenAnswer( | |
item -> Mono.just(demandPaymentNoticeResponse)); | |
when(reactiveClient.getCart(any())).thenAnswer(item -> Mono.error(new WebClientException("Error", null))); | |
Mono<ResponseEntity> responseEntityMono = mbdService.getMbd("test",GetMbdRequest.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 115 in fee3486
.paymentNotices(Collections.singletonList( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 117 to 126 in fee3486
.amount(1000L) | |
.documentHash("1".repeat(44)) | |
.email("test@gmail.com") | |
.fiscalCode("AAAAAAAAAAAAA01") | |
.lastName("test") | |
.firstName("test") | |
.province("RM") | |
.build() | |
)) | |
.returnUrls(ReturnUrls.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 133 to 161 in fee3486
assertThrows(AppException.class, () -> responseEntityMono.block()); | |
} | |
@Test | |
void getMdbShouldReturnKOOnInvalidData() throws DatatypeConfigurationException { | |
DemandPaymentNoticeResponse demandPaymentNoticeResponse = DemandPaymentNoticeResponse.builder() | |
.qrCode(CtQrCode.builder() | |
.noticeNumber("3000000001") | |
.fiscalCode("AAAAAAAAAA01") | |
.build()) | |
.paymentList( | |
CtPaymentOptionsDescriptionList.builder() | |
.paymentOptionDescription(Collections.singletonList( | |
CtPaymentOptionDescription.builder() | |
.paymentNote("Note") | |
.amount(BigDecimal.TEN) | |
.dueDate(DatatypeFactory.newInstance().newXMLGregorianCalendar()) | |
.options(StAmountOptionPSP.ANY).build() | |
)) | |
.build()).build(); | |
demandPaymentNoticeResponse.setOutcome(StOutcome.OK); | |
when(reactiveClient.demandPaymentNotice(any())).thenAnswer( | |
item -> Mono.just(demandPaymentNoticeResponse)); | |
GetCartResponse getCartResponse = GetCartResponse.builder().checkoutRedirectUrl("testUrl").build(); | |
when(reactiveClient.getCart(any())).thenAnswer(item -> Mono.just(getCartResponse)); | |
Mono<ResponseEntity> responseEntityMono = mbdService.getMbd("test",GetMbdRequest.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Line 163 in fee3486
.paymentNotices(Collections.singletonList( |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 165 to 174 in fee3486
.amount(1000L) | |
.documentHash("1".repeat(10)) | |
.email("test@gmail.com") | |
.fiscalCode("AAAAAAAAAAAAA01") | |
.lastName("test") | |
.firstName("test") | |
.province("RM") | |
.build() | |
)) | |
.returnUrls(ReturnUrls.builder() |
[google-java-format] reported by reviewdog 🐶
pagopa-mbd-service/src/test/java/it/gov/pagopa/mbd/service/service/impl/MdbServiceImplTest.java
Lines 181 to 199 in fee3486
assertThrows(ConstraintViolationException.class, () -> responseEntityMono.block()); | |
} | |
@Test | |
void getPaymentReceiptsShouldReturnOk() { | |
when(reactiveClient.getPaymentReceipt(any(),any())).thenAnswer( | |
item -> Mono.just(CtTransferPAReceiptV2.builder().mbdAttachment("test".getBytes()).build())); | |
ResponseEntity responseEntity = mbdService.getPaymentReceipts("test","test").block(); | |
assertTrue(responseEntity.getStatusCode().is2xxSuccessful()); | |
} | |
@Test | |
void getPaymentReceiptsShouldReturnKoException() { | |
when(reactiveClient.getPaymentReceipt(any(),any())).thenAnswer( | |
item -> Mono.error(new RuntimeException("Test Error"))); | |
assertThrows(AppException.class, () -> mbdService.getPaymentReceipts("test","test").block()); | |
} | |
} |
this PR is marked as |
…tests' into PPANTT-196-feat-introducing-int-tests
This PR exceeds the recommended size of 400 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
List of Changes
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: