com.prowidesoftware.swift.model.mx.dic.ActivityReportRequestV03 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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 ActivityReportRequest message is sent by any party involved in a transaction to the matching application.
* This message is used to request a report on all transactions for which an activity has taken place within a given time span.
* Usage
* The ActivityReportRequest message can be sent
* - at a pre-determined time. The message requests a report on all transactions that the requester is involved in and for which an activity has taken place within the last 24 hours.
* - on demand. The message requests a report on all transactions that the requester is involved in and for which an activity has taken place within a time span specified by the requester.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ActivityReportRequestV03", propOrder = {
"reqId",
"nttiesToBeRptd",
"rptPrd"
})
public class ActivityReportRequestV03 {
@XmlElement(name = "ReqId", required = true)
protected MessageIdentification1 reqId;
@XmlElement(name = "NttiesToBeRptd")
protected List nttiesToBeRptd;
@XmlElement(name = "RptPrd", required = true)
protected DateTimePeriodDetails1 rptPrd;
/**
* Gets the value of the reqId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getReqId() {
return reqId;
}
/**
* Sets the value of the reqId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public ActivityReportRequestV03 setReqId(MessageIdentification1 value) {
this.reqId = value;
return this;
}
/**
* Gets the value of the nttiesToBeRptd property.
*
*
* 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} method for the nttiesToBeRptd property.
*
*
* For example, to add a new item, do as follows:
*
* getNttiesToBeRptd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BICIdentification1 }
*
*
* @return
* The value of the nttiesToBeRptd property.
*/
public List getNttiesToBeRptd() {
if (nttiesToBeRptd == null) {
nttiesToBeRptd = new ArrayList<>();
}
return this.nttiesToBeRptd;
}
/**
* Gets the value of the rptPrd property.
*
* @return
* possible object is
* {@link DateTimePeriodDetails1 }
*
*/
public DateTimePeriodDetails1 getRptPrd() {
return rptPrd;
}
/**
* Sets the value of the rptPrd property.
*
* @param value
* allowed object is
* {@link DateTimePeriodDetails1 }
*
*/
public ActivityReportRequestV03 setRptPrd(DateTimePeriodDetails1 value) {
this.rptPrd = 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);
}
/**
* Adds a new item to the nttiesToBeRptd list.
* @see #getNttiesToBeRptd()
*
*/
public ActivityReportRequestV03 addNttiesToBeRptd(BICIdentification1 nttiesToBeRptd) {
getNttiesToBeRptd().add(nttiesToBeRptd);
return this;
}
}