com.prowidesoftware.swift.model.mx.dic.CardTransaction2Choice 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;
/**
* Choice between a acquirer globalised card transaction or an individual card transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardTransaction2Choice", propOrder = {
"aggtd",
"indv"
})
public class CardTransaction2Choice {
@XmlElement(name = "Aggtd")
protected CardAggregated1 aggtd;
@XmlElement(name = "Indv")
protected CardIndividualTransaction2 indv;
/**
* Gets the value of the aggtd property.
*
* @return
* possible object is
* {@link CardAggregated1 }
*
*/
public CardAggregated1 getAggtd() {
return aggtd;
}
/**
* Sets the value of the aggtd property.
*
* @param value
* allowed object is
* {@link CardAggregated1 }
*
*/
public CardTransaction2Choice setAggtd(CardAggregated1 value) {
this.aggtd = value;
return this;
}
/**
* Gets the value of the indv property.
*
* @return
* possible object is
* {@link CardIndividualTransaction2 }
*
*/
public CardIndividualTransaction2 getIndv() {
return indv;
}
/**
* Sets the value of the indv property.
*
* @param value
* allowed object is
* {@link CardIndividualTransaction2 }
*
*/
public CardTransaction2Choice setIndv(CardIndividualTransaction2 value) {
this.indv = 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