Skip to content
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

fix: get receipt model #15

Merged
merged 20 commits into from
Dec 18, 2024
Merged

fix: get receipt model #15

merged 20 commits into from
Dec 18, 2024

Conversation

alessio-cialini
Copy link
Collaborator

@alessio-cialini alessio-cialini commented Dec 18, 2024

List of Changes

  • Fixed getPaymentReceipt response model

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link
Contributor

@github-actions github-actions bot left a 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 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

@XmlType(name = "ctSubject", propOrder = {
"uniqueIdentifier",
"fullName",
"streetName",
"civicNumber",
"postalCode",
"city",
"stateProvinceRegion",
"country",
"eMail"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected CtEntityUniqueIdentifier uniqueIdentifier;
@XmlElement(required = true)
protected String fullName;
protected String streetName;
protected String civicNumber;
protected String postalCode;
protected String city;
protected String stateProvinceRegion;
protected String country;
@XmlElement(name = "e-mail")
protected String eMail;
/**
* Recupera il valore della proprietà uniqueIdentifier.
*
* @return
* possible object is
* {@link CtEntityUniqueIdentifier }
*
*/
public CtEntityUniqueIdentifier getUniqueIdentifier() {
return uniqueIdentifier;
}
/**
* Imposta il valore della proprietà uniqueIdentifier.
*
* @param value
* allowed object is
* {@link CtEntityUniqueIdentifier }
*
*/
public void setUniqueIdentifier(CtEntityUniqueIdentifier value) {
this.uniqueIdentifier = value;
}
/**
* Recupera il valore della proprietà fullName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFullName() {
return fullName;
}
/**
* Imposta il valore della proprietà fullName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFullName(String value) {
this.fullName = value;
}
/**
* Recupera il valore della proprietà streetName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStreetName() {
return streetName;
}
/**
* Imposta il valore della proprietà streetName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStreetName(String value) {
this.streetName = value;
}
/**
* Recupera il valore della proprietà civicNumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCivicNumber() {
return civicNumber;
}
/**
* Imposta il valore della proprietà civicNumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCivicNumber(String value) {
this.civicNumber = value;
}
/**
* Recupera il valore della proprietà postalCode.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostalCode() {
return postalCode;
}
/**
* Imposta il valore della proprietà postalCode.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
/**
* Recupera il valore della proprietà city.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Imposta il valore della proprietà city.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
/**
* Recupera il valore della proprietà stateProvinceRegion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStateProvinceRegion() {
return stateProvinceRegion;
}
/**
* Imposta il valore della proprietà stateProvinceRegion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStateProvinceRegion(String value) {
this.stateProvinceRegion = value;
}
/**
* Recupera il valore della proprietà country.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}
/**
* Imposta il valore della proprietà country.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}
/**
* Recupera il valore della proprietà eMail.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEMail() {
return eMail;
}
/**
* Imposta il valore della proprietà eMail.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEMail(String value) {
this.eMail = value;
}


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

* <p>Classe Java per ctTransferListPAReceiptV2 complex type.
*


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

@XmlType(name = "ctTransferListPAReceiptV2", propOrder = {
"transfer"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected List<CtTransferPAReceiptV2> transfer;


[google-java-format] reported by reviewdog 🐶

/**
* Gets the value of the transfer 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 transfer property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTransfer().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CtTransferPAReceiptV2 }
*
*
*/
public List<CtTransferPAReceiptV2> getTransfer() {
if (transfer == null) {
transfer = new ArrayList<CtTransferPAReceiptV2>();
}
return this.transfer;


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

* <p>Classe Java per paSendRTV2Request complex type.
*


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

@XmlType(name = "paSendRTV2Request", propOrder = {
"idPA",
"idBrokerPA",
"idStation",
"receipt"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected String idPA;
@XmlElement(required = true)
protected String idBrokerPA;
@XmlElement(required = true)
protected String idStation;
@XmlElement(required = true)
protected CtReceiptV2 receipt;


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idPA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdPA() {
return idPA;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idPA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdPA(String value) {
this.idPA = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idBrokerPA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdBrokerPA() {
return idBrokerPA;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idBrokerPA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdBrokerPA(String value) {
this.idBrokerPA = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idStation.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdStation() {
return idStation;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idStation.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdStation(String value) {
this.idStation = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà receipt.
*
* @return
* possible object is
* {@link CtReceiptV2 }
*
*/
public CtReceiptV2 getReceipt() {
return receipt;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà receipt.
*
* @param value
* allowed object is
* {@link CtReceiptV2 }
*
*/
public void setReceipt(CtReceiptV2 value) {
this.receipt = value;
}


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

F,
G;
public String value() {
return name();
}
public static StEntityUniqueIdentifierType fromValue(String v) {
return valueOf(v);
}


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶

@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/pa/paForNode.xsd")


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

import org.springframework.web.reactive.function.client.WebClientResponseException;

Comment on lines +2 to +5
// 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.12.18 alle 10:59:02 AM CET
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
// 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.12.18 alle 10:59:02 AM CET
// 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.12.18 alle 10:59:02 AM CET

// Generato il: 2024.12.18 alle 10:59:02 AM CET
//


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change

Comment on lines +2 to +5
// 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.12.18 alle 10:59:02 AM CET
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
// 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.12.18 alle 10:59:02 AM CET
// 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.12.18 alle 10:59:02 AM CET

Copy link
Contributor

@github-actions github-actions bot left a 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 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

@XmlType(name = "ctSubject", propOrder = {
"uniqueIdentifier",
"fullName",
"streetName",
"civicNumber",
"postalCode",
"city",
"stateProvinceRegion",
"country",
"eMail"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected CtEntityUniqueIdentifier uniqueIdentifier;
@XmlElement(required = true)
protected String fullName;
protected String streetName;
protected String civicNumber;
protected String postalCode;
protected String city;
protected String stateProvinceRegion;
protected String country;
@XmlElement(name = "e-mail")
protected String eMail;
/**
* Recupera il valore della proprietà uniqueIdentifier.
*
* @return
* possible object is
* {@link CtEntityUniqueIdentifier }
*
*/
public CtEntityUniqueIdentifier getUniqueIdentifier() {
return uniqueIdentifier;
}
/**
* Imposta il valore della proprietà uniqueIdentifier.
*
* @param value
* allowed object is
* {@link CtEntityUniqueIdentifier }
*
*/
public void setUniqueIdentifier(CtEntityUniqueIdentifier value) {
this.uniqueIdentifier = value;
}
/**
* Recupera il valore della proprietà fullName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFullName() {
return fullName;
}
/**
* Imposta il valore della proprietà fullName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFullName(String value) {
this.fullName = value;
}
/**
* Recupera il valore della proprietà streetName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStreetName() {
return streetName;
}
/**
* Imposta il valore della proprietà streetName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStreetName(String value) {
this.streetName = value;
}
/**
* Recupera il valore della proprietà civicNumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCivicNumber() {
return civicNumber;
}
/**
* Imposta il valore della proprietà civicNumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCivicNumber(String value) {
this.civicNumber = value;
}
/**
* Recupera il valore della proprietà postalCode.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostalCode() {
return postalCode;
}
/**
* Imposta il valore della proprietà postalCode.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
/**
* Recupera il valore della proprietà city.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Imposta il valore della proprietà city.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
/**
* Recupera il valore della proprietà stateProvinceRegion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStateProvinceRegion() {
return stateProvinceRegion;
}
/**
* Imposta il valore della proprietà stateProvinceRegion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStateProvinceRegion(String value) {
this.stateProvinceRegion = value;
}
/**
* Recupera il valore della proprietà country.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}
/**
* Imposta il valore della proprietà country.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}
/**
* Recupera il valore della proprietà eMail.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEMail() {
return eMail;
}
/**
* Imposta il valore della proprietà eMail.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEMail(String value) {
this.eMail = value;
}


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

* <p>Classe Java per ctTransferListPAReceiptV2 complex type.
*


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

@XmlType(name = "ctTransferListPAReceiptV2", propOrder = {
"transfer"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected List<CtTransferPAReceiptV2> transfer;


[google-java-format] reported by reviewdog 🐶

/**
* Gets the value of the transfer 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 transfer property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTransfer().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CtTransferPAReceiptV2 }
*
*
*/
public List<CtTransferPAReceiptV2> getTransfer() {
if (transfer == null) {
transfer = new ArrayList<CtTransferPAReceiptV2>();
}
return this.transfer;


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

* <p>Classe Java per paSendRTV2Request complex type.
*


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

@XmlType(name = "paSendRTV2Request", propOrder = {
"idPA",
"idBrokerPA",
"idStation",
"receipt"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected String idPA;
@XmlElement(required = true)
protected String idBrokerPA;
@XmlElement(required = true)
protected String idStation;
@XmlElement(required = true)
protected CtReceiptV2 receipt;


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idPA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdPA() {
return idPA;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idPA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdPA(String value) {
this.idPA = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idBrokerPA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdBrokerPA() {
return idBrokerPA;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idBrokerPA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdBrokerPA(String value) {
this.idBrokerPA = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idStation.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdStation() {
return idStation;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idStation.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdStation(String value) {
this.idStation = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà receipt.
*
* @return
* possible object is
* {@link CtReceiptV2 }
*
*/
public CtReceiptV2 getReceipt() {
return receipt;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà receipt.
*
* @param value
* allowed object is
* {@link CtReceiptV2 }
*
*/
public void setReceipt(CtReceiptV2 value) {
this.receipt = value;
}


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

F,
G;
public String value() {
return name();
}
public static StEntityUniqueIdentifierType fromValue(String v) {
return valueOf(v);
}


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶

@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/pa/paForNode.xsd")


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

import org.springframework.web.reactive.function.client.WebClientResponseException;

Comment on lines +2 to +5
// 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.12.18 alle 10:59:02 AM CET
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
// 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.12.18 alle 10:59:02 AM CET
// 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.12.18 alle 10:59:02 AM CET

// Generato il: 2024.12.18 alle 10:59:02 AM CET
//


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change

Comment on lines +2 to +5
// 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.12.18 alle 10:59:02 AM CET
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
// 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.12.18 alle 10:59:02 AM CET
// 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.12.18 alle 10:59:02 AM CET

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

})
@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).onErrorResume(Mono::error);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

/**
* 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();
}
/**
* Create an instance of {@link PaSendRTV2Request }
*
*/
public PaSendRTV2Request createPaSendRTV2Request() {
return new PaSendRTV2Request();
}
/**
* Create an instance of {@link CtReceiptV2 }
*
*/
public CtReceiptV2 createCtReceiptV2() {
return new CtReceiptV2();
}
/**
* Create an instance of {@link CtSubject }
*
*/
public CtSubject createCtSubject() {
return new CtSubject();
}
/**
* Create an instance of {@link CtEntityUniqueIdentifier }
*
*/
public CtEntityUniqueIdentifier createCtEntityUniqueIdentifier() {
return new CtEntityUniqueIdentifier();
}
/**
* Create an instance of {@link CtTransferListPAReceiptV2 }
*
*/
public CtTransferListPAReceiptV2 createCtTransferListPAReceiptV2() {
return new CtTransferListPAReceiptV2();
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

})
@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).onErrorResume(Mono::error);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

@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()))
.onErrorMap(WebClientException.class, e -> {
log.error("Encountered an error during getPaymentReceiptCall Call: {}", e.getMessage());
return new AppException(AppError.PAYMENT_RECEIPTS_CALL_ERROR, e);
})
.onErrorMap(IllegalArgumentException.class, e -> {
log.error("Encountered an error extracting receipt content: {}", e.getMessage());
return new AppException(AppError.PAYMENT_RECEIPTS_CALL_ERROR, e);
})
.map(item -> ResponseEntity.ok()
.header("Content-Type", APPLICATION_JSON_VALUE)
.body(GetMdbReceipt.builder().content(item.getReceipt().getTransferList()
.getTransfer().get(0).getMBDAttachment()).build()));
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

/**
* 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();
}
/**
* Create an instance of {@link PaSendRTV2Request }
*
*/
public PaSendRTV2Request createPaSendRTV2Request() {
return new PaSendRTV2Request();
}
/**
* Create an instance of {@link CtReceiptV2 }
*
*/
public CtReceiptV2 createCtReceiptV2() {
return new CtReceiptV2();
}
/**
* Create an instance of {@link CtSubject }
*
*/
public CtSubject createCtSubject() {
return new CtSubject();
}
/**
* Create an instance of {@link CtEntityUniqueIdentifier }
*
*/
public CtEntityUniqueIdentifier createCtEntityUniqueIdentifier() {
return new CtEntityUniqueIdentifier();
}
/**
* Create an instance of {@link CtTransferListPAReceiptV2 }
*
*/
public CtTransferListPAReceiptV2 createCtTransferListPAReceiptV2() {
return new CtTransferListPAReceiptV2();
}

Copy link
Collaborator

@gioelemella gioelemella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

alessio-cialini and others added 2 commits December 18, 2024 12:58
…java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
….java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

@github-actions github-actions bot left a 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 🐶

@XmlType(name = "paSendRTV2Request", propOrder = {
"idPA",
"idBrokerPA",
"idStation",
"receipt"
})


[google-java-format] reported by reviewdog 🐶

@XmlElement(required = true)
protected String idPA;
@XmlElement(required = true)
protected String idBrokerPA;
@XmlElement(required = true)
protected String idStation;
@XmlElement(required = true)
protected CtReceiptV2 receipt;


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idPA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdPA() {
return idPA;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idPA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdPA(String value) {
this.idPA = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idBrokerPA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdBrokerPA() {
return idBrokerPA;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idBrokerPA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdBrokerPA(String value) {
this.idBrokerPA = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà idStation.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdStation() {
return idStation;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà idStation.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdStation(String value) {
this.idStation = value;
}


[google-java-format] reported by reviewdog 🐶

/**
* Recupera il valore della proprietà receipt.
*
* @return
* possible object is
* {@link CtReceiptV2 }
*
*/
public CtReceiptV2 getReceipt() {
return receipt;
}


[google-java-format] reported by reviewdog 🐶

/**
* Imposta il valore della proprietà receipt.
*
* @param value
* allowed object is
* {@link CtReceiptV2 }
*
*/
public void setReceipt(CtReceiptV2 value) {
this.receipt = value;
}


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

F,
G;
public String value() {
return name();
}
public static StEntityUniqueIdentifierType fromValue(String v) {
return valueOf(v);
}


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

// 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.12.18 alle 10:59:02 AM CET


[google-java-format] reported by reviewdog 🐶

@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://pagopa-api.pagopa.gov.it/pa/paForNode.xsd")


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶


[google-java-format] reported by reviewdog 🐶

import org.springframework.web.reactive.function.client.WebClientResponseException;

// Generato il: 2024.12.18 alle 10:59:02 AM CET
//


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change

import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change

Comment on lines +18 to +19
* <p>Classe Java per ctSubject complex type.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
* <p>Classe Java per ctSubject complex type.
*
* Classe Java per ctSubject complex type.
*

* <p>Classe Java per ctSubject complex type.
*
* <p>Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
*
*

Comment on lines +41 to +42
*
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
*
*

Comment on lines +45 to +55
@XmlType(name = "ctSubject", propOrder = {
"uniqueIdentifier",
"fullName",
"streetName",
"civicNumber",
"postalCode",
"city",
"stateProvinceRegion",
"country",
"eMail"
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
@XmlType(name = "ctSubject", propOrder = {
"uniqueIdentifier",
"fullName",
"streetName",
"civicNumber",
"postalCode",
"city",
"stateProvinceRegion",
"country",
"eMail"
})
@XmlType(
name = "ctSubject",
propOrder = {
"uniqueIdentifier",
"fullName",
"streetName",
"civicNumber",
"postalCode",
"city",
"stateProvinceRegion",
"country",
"eMail"
})

Comment on lines +58 to +286
public void setPostalCode(String value) {
this.postalCode = value;
}

/**
* Recupera il valore della proprietà city.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}

/**
* Imposta il valore della proprietà city.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}

/**
* Recupera il valore della proprietà stateProvinceRegion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStateProvinceRegion() {
return stateProvinceRegion;
}

/**
* Imposta il valore della proprietà stateProvinceRegion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStateProvinceRegion(String value) {
this.stateProvinceRegion = value;
}

/**
* Recupera il valore della proprietà country.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}

/**
* Imposta il valore della proprietà country.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}

/**
* Recupera il valore della proprietà eMail.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEMail() {
return eMail;
}

/**
* Imposta il valore della proprietà eMail.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEMail(String value) {
this.eMail = value;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
@XmlElement(required = true)
protected CtEntityUniqueIdentifier uniqueIdentifier;
@XmlElement(required = true)
protected String fullName;
protected String streetName;
protected String civicNumber;
protected String postalCode;
protected String city;
protected String stateProvinceRegion;
protected String country;
@XmlElement(name = "e-mail")
protected String eMail;
/**
* Recupera il valore della proprietà uniqueIdentifier.
*
* @return
* possible object is
* {@link CtEntityUniqueIdentifier }
*
*/
public CtEntityUniqueIdentifier getUniqueIdentifier() {
return uniqueIdentifier;
}
/**
* Imposta il valore della proprietà uniqueIdentifier.
*
* @param value
* allowed object is
* {@link CtEntityUniqueIdentifier }
*
*/
public void setUniqueIdentifier(CtEntityUniqueIdentifier value) {
this.uniqueIdentifier = value;
}
/**
* Recupera il valore della proprietà fullName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFullName() {
return fullName;
}
/**
* Imposta il valore della proprietà fullName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFullName(String value) {
this.fullName = value;
}
/**
* Recupera il valore della proprietà streetName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStreetName() {
return streetName;
}
/**
* Imposta il valore della proprietà streetName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStreetName(String value) {
this.streetName = value;
}
/**
* Recupera il valore della proprietà civicNumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCivicNumber() {
return civicNumber;
}
/**
* Imposta il valore della proprietà civicNumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCivicNumber(String value) {
this.civicNumber = value;
}
/**
* Recupera il valore della proprietà postalCode.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostalCode() {
return postalCode;
}
/**
* Imposta il valore della proprietà postalCode.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
/**
* Recupera il valore della proprietà city.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Imposta il valore della proprietà city.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
/**
* Recupera il valore della proprietà stateProvinceRegion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStateProvinceRegion() {
return stateProvinceRegion;
}
/**
* Imposta il valore della proprietà stateProvinceRegion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStateProvinceRegion(String value) {
this.stateProvinceRegion = value;
}
/**
* Recupera il valore della proprietà country.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}
/**
* Imposta il valore della proprietà country.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}
/**
* Recupera il valore della proprietà eMail.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEMail() {
return eMail;
}
/**
* Imposta il valore della proprietà eMail.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEMail(String value) {
this.eMail = value;
}
@XmlElement(required = true)
protected CtEntityUniqueIdentifier uniqueIdentifier;
@XmlElement(required = true)
protected String fullName;
protected String streetName;
protected String civicNumber;
protected String postalCode;
protected String city;
protected String stateProvinceRegion;
protected String country;
@XmlElement(name = "e-mail")
protected String eMail;
/**
* Recupera il valore della proprietà uniqueIdentifier.
*
* @return possible object is {@link CtEntityUniqueIdentifier }
*/
public CtEntityUniqueIdentifier getUniqueIdentifier() {
return uniqueIdentifier;
}
/**
* Imposta il valore della proprietà uniqueIdentifier.
*
* @param value allowed object is {@link CtEntityUniqueIdentifier }
*/
public void setUniqueIdentifier(CtEntityUniqueIdentifier value) {
this.uniqueIdentifier = value;
}
/**
* Recupera il valore della proprietà fullName.
*
* @return possible object is {@link String }
*/
public String getFullName() {
return fullName;
}
/**
* Imposta il valore della proprietà fullName.
*
* @param value allowed object is {@link String }
*/
public void setFullName(String value) {
this.fullName = value;
}
/**
* Recupera il valore della proprietà streetName.
*
* @return possible object is {@link String }
*/
public String getStreetName() {
return streetName;
}
/**
* Imposta il valore della proprietà streetName.
*
* @param value allowed object is {@link String }
*/
public void setStreetName(String value) {
this.streetName = value;
}
/**
* Recupera il valore della proprietà civicNumber.
*
* @return possible object is {@link String }
*/
public String getCivicNumber() {
return civicNumber;
}
/**
* Imposta il valore della proprietà civicNumber.
*
* @param value allowed object is {@link String }
*/
public void setCivicNumber(String value) {
this.civicNumber = value;
}
/**
* Recupera il valore della proprietà postalCode.
*
* @return possible object is {@link String }
*/
public String getPostalCode() {
return postalCode;
}
/**
* Imposta il valore della proprietà postalCode.
*
* @param value allowed object is {@link String }
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
/**
* Recupera il valore della proprietà city.
*
* @return possible object is {@link String }
*/
public String getCity() {
return city;
}
/**
* Imposta il valore della proprietà city.
*
* @param value allowed object is {@link String }
*/
public void setCity(String value) {
this.city = value;
}
/**
* Recupera il valore della proprietà stateProvinceRegion.
*
* @return possible object is {@link String }
*/
public String getStateProvinceRegion() {
return stateProvinceRegion;
}
/**
* Imposta il valore della proprietà stateProvinceRegion.
*
* @param value allowed object is {@link String }
*/
public void setStateProvinceRegion(String value) {
this.stateProvinceRegion = value;
}
/**
* Recupera il valore della proprietà country.
*
* @return possible object is {@link String }
*/
public String getCountry() {
return country;
}
/**
* Imposta il valore della proprietà country.
*
* @param value allowed object is {@link String }
*/
public void setCountry(String value) {
this.country = value;
}
/**
* Recupera il valore della proprietà eMail.
*
* @return possible object is {@link String }
*/
public String getEMail() {
return eMail;
}
/**
* Imposta il valore della proprietà eMail.
*
* @param value allowed object is {@link String }
*/
public void setEMail(String value) {
this.eMail = value;
}

…de/CtEntityUniqueIdentifier.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alessio-cialini and others added 2 commits December 18, 2024 13:04
…eImplTest.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…de/CtEntityUniqueIdentifier.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
import org.mockito.Mockito;

import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.http.HttpHeaders;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
import org.springframework.http.HttpHeaders;

import org.springframework.http.ResponseEntity;
import org.springframework.web.reactive.function.client.WebClientResponseException;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
import org.springframework.web.reactive.function.client.WebClientResponseException;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import java.math.BigDecimal;
import java.nio.charset.Charset;
import java.util.Collections;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

assertThrows(ConstraintViolationException.class, () -> responseEntityMono.block());
}
@Test
void getPaymentReceiptsShouldReturnOk() {
when(reactiveClient.getPaymentReceipt(any(),any())).thenAnswer(
item -> Mono.just(PaSendRTV2Request.builder().receipt(
CtReceiptV2.builder().transferList(
CtTransferListPAReceiptV2.builder()
.transfer(Collections.singletonList(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

.mbdAttachment("test".getBytes())
.build()
)).build()).build()).build()));
ResponseEntity responseEntity = mbdService.getPaymentReceipts("test","test").block();
assertTrue(responseEntity.getStatusCode().is2xxSuccessful());
}
@Test
void getPaymentReceiptsShouldReturnKoException() {
WebClientException error = new WebClientException("Error on test call", null);
when(reactiveClient.getPaymentReceipt(any(),any())).thenAnswer(
item -> Mono.error(error));
assertThrows(AppException.class, () -> mbdService.getPaymentReceipts("test","test").block());
}
}

Comment on lines +13 to +14
* <p>Classe Java per ctEntityUniqueIdentifier complex type.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
* <p>Classe Java per ctEntityUniqueIdentifier complex type.
*
* Classe Java per ctEntityUniqueIdentifier complex type.
*

* <p>Classe Java per ctEntityUniqueIdentifier complex type.
*
* <p>Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
*
*

Comment on lines +29 to +30
*
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
*
*

Comment on lines +33 to +36
@XmlType(name = "ctEntityUniqueIdentifier", propOrder = {
"entityUniqueIdentifierType",
"entityUniqueIdentifierValue"
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
@XmlType(name = "ctEntityUniqueIdentifier", propOrder = {
"entityUniqueIdentifierType",
"entityUniqueIdentifierValue"
})
@XmlType(
name = "ctEntityUniqueIdentifier",
propOrder = {"entityUniqueIdentifierType", "entityUniqueIdentifierValue"})

Comment on lines +39 to +43
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected StEntityUniqueIdentifierType entityUniqueIdentifierType;
@XmlElement(required = true)
protected String entityUniqueIdentifierValue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected StEntityUniqueIdentifierType entityUniqueIdentifierType;
@XmlElement(required = true)
protected String entityUniqueIdentifierValue;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected StEntityUniqueIdentifierType entityUniqueIdentifierType;

Comment on lines +45 to +55
/**
* Recupera il valore della proprietà entityUniqueIdentifierType.
*
* @return
* possible object is
* {@link StEntityUniqueIdentifierType }
*
*/
public StEntityUniqueIdentifierType getEntityUniqueIdentifierType() {
return entityUniqueIdentifierType;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
/**
* Recupera il valore della proprietà entityUniqueIdentifierType.
*
* @return
* possible object is
* {@link StEntityUniqueIdentifierType }
*
*/
public StEntityUniqueIdentifierType getEntityUniqueIdentifierType() {
return entityUniqueIdentifierType;
}
@XmlElement(required = true)
protected String entityUniqueIdentifierValue;

Comment on lines +57 to +67
/**
* Imposta il valore della proprietà entityUniqueIdentifierType.
*
* @param value
* allowed object is
* {@link StEntityUniqueIdentifierType }
*
*/
public void setEntityUniqueIdentifierType(StEntityUniqueIdentifierType value) {
this.entityUniqueIdentifierType = value;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
/**
* Imposta il valore della proprietà entityUniqueIdentifierType.
*
* @param value
* allowed object is
* {@link StEntityUniqueIdentifierType }
*
*/
public void setEntityUniqueIdentifierType(StEntityUniqueIdentifierType value) {
this.entityUniqueIdentifierType = value;
}
/**
* Recupera il valore della proprietà entityUniqueIdentifierType.
*
* @return possible object is {@link StEntityUniqueIdentifierType }
*/
public StEntityUniqueIdentifierType getEntityUniqueIdentifierType() {
return entityUniqueIdentifierType;
}

Comment on lines +69 to +79
/**
* Recupera il valore della proprietà entityUniqueIdentifierValue.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityUniqueIdentifierValue() {
return entityUniqueIdentifierValue;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
/**
* Recupera il valore della proprietà entityUniqueIdentifierValue.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityUniqueIdentifierValue() {
return entityUniqueIdentifierValue;
}
/**
* Imposta il valore della proprietà entityUniqueIdentifierType.
*
* @param value allowed object is {@link StEntityUniqueIdentifierType }
*/
public void setEntityUniqueIdentifierType(StEntityUniqueIdentifierType value) {
this.entityUniqueIdentifierType = value;
}

Comment on lines +81 to +91
/**
* Imposta il valore della proprietà entityUniqueIdentifierValue.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityUniqueIdentifierValue(String value) {
this.entityUniqueIdentifierValue = value;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
/**
* Imposta il valore della proprietà entityUniqueIdentifierValue.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityUniqueIdentifierValue(String value) {
this.entityUniqueIdentifierValue = value;
}
/**
* Recupera il valore della proprietà entityUniqueIdentifierValue.
*
* @return possible object is {@link String }
*/
public String getEntityUniqueIdentifierValue() {
return entityUniqueIdentifierValue;
}

this.entityUniqueIdentifierValue = value;
}

}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
}
/**
* Imposta il valore della proprietà entityUniqueIdentifierValue.
*
* @param value allowed object is {@link String }
*/
public void setEntityUniqueIdentifierValue(String value) {
this.entityUniqueIdentifierValue = value;
}
}

…de/CtReceiptV2.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…de/CtReceiptV2.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…de/CtReceiptV2.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…de/CtReceiptV2.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

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.

Comment on lines +22 to +23
* <p>Classe Java per ctReceiptV2 complex type.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
* <p>Classe Java per ctReceiptV2 complex type.
*
* Classe Java per ctReceiptV2 complex type.
*

* <p>Classe Java per ctReceiptV2 complex type.
*
* <p>Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[google-java-format] reported by reviewdog 🐶

Suggested change
*
*

@alessio-cialini alessio-cialini merged commit 9005708 into main Dec 18, 2024
6 of 8 checks passed
@alessio-cialini alessio-cialini deleted the fix-get-receipt-model branch December 18, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants