
com.prowidesoftware.swift.model.mx.dic.Camt00800202 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Scope
* The Request To Cancel Payment message is sent by a case creator/case assigner to a case assignee.
* This message is used to request the cancellation of an original payment instruction.
* Usage
* The Request To Cancel Payment message must be answered with a:
* - Resolution Of Investigation message with a positive final outcome when the case assignee can perform the requested cancellation
* - Resolution Of Investigation message with a negative final outcome when the case assignee may perform the requested cancellation but fails to do so (too late, irrevocable instruction, ...)
* - Reject Case Assignment message when the case assignee is unable or not authorised to perform the requested cancellation
* - Notification Of Case Assignment message to indicate whether the case assignee will take on the case himself or reassign the case to a subsequent party in the payment processing chain.
* A Request To Cancel Payment message concerns one and only one original payment instruction at a time. If several original payment instructions need to be cancelled, then multiple Request To Cancel Payment messages must be sent.
* When a case assignee successfully performs a cancellation, it must return the corresponding funds to the case assigner. It may provide some details about the return in the Resolution Of Investigation message.
* The processing of a request to cancel payment case may end with a Debit Authorisation Request message sent to the creditor by its account servicing institution.
* The Request To Cancel Payment message may be used to escalate a case after an unsuccessful request to modify the payment. In this scenario, the case identification remains the same as in the original Request To Modify Payment message and the element ReopenCaseIndication is set to 'Yes' or 'true'.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "camt.008.002.02", propOrder = {
"assgnmt",
"_case",
"undrlyg",
"justfn"
})
public class Camt00800202 {
@XmlElement(name = "Assgnmt", required = true)
protected CaseAssignment assgnmt;
@XmlElement(name = "Case", required = true)
protected Case _case;
@XmlElement(name = "Undrlyg", required = true)
protected PaymentInstructionExtract2 undrlyg;
@XmlElement(name = "Justfn", required = true)
protected DebitAuthorisationDetails2 justfn;
/**
* Gets the value of the assgnmt property.
*
* @return
* possible object is
* {@link CaseAssignment }
*
*/
public CaseAssignment getAssgnmt() {
return assgnmt;
}
/**
* Sets the value of the assgnmt property.
*
* @param value
* allowed object is
* {@link CaseAssignment }
*
*/
public Camt00800202 setAssgnmt(CaseAssignment value) {
this.assgnmt = value;
return this;
}
/**
* Gets the value of the case property.
*
* @return
* possible object is
* {@link Case }
*
*/
public Case getCase() {
return _case;
}
/**
* Sets the value of the case property.
*
* @param value
* allowed object is
* {@link Case }
*
*/
public Camt00800202 setCase(Case value) {
this._case = value;
return this;
}
/**
* Gets the value of the undrlyg property.
*
* @return
* possible object is
* {@link PaymentInstructionExtract2 }
*
*/
public PaymentInstructionExtract2 getUndrlyg() {
return undrlyg;
}
/**
* Sets the value of the undrlyg property.
*
* @param value
* allowed object is
* {@link PaymentInstructionExtract2 }
*
*/
public Camt00800202 setUndrlyg(PaymentInstructionExtract2 value) {
this.undrlyg = value;
return this;
}
/**
* Gets the value of the justfn property.
*
* @return
* possible object is
* {@link DebitAuthorisationDetails2 }
*
*/
public DebitAuthorisationDetails2 getJustfn() {
return justfn;
}
/**
* Sets the value of the justfn property.
*
* @param value
* allowed object is
* {@link DebitAuthorisationDetails2 }
*
*/
public Camt00800202 setJustfn(DebitAuthorisationDetails2 value) {
this.justfn = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy