com.prowidesoftware.swift.model.mx.dic.CardPaymentEnvironment73 Maven / Gradle / Ivy
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;
/**
* Environment of the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentEnvironment73", propOrder = {
"acqrr",
"mrchnt",
"poi",
"card",
"chck",
"stordValAcct",
"lltyAcct",
"cstmrDvc",
"wllt",
"pmtTkn",
"crdhldr",
"prtctdCrdhldrData",
"saleEnvt"
})
public class CardPaymentEnvironment73 {
@XmlElement(name = "Acqrr")
protected Acquirer9 acqrr;
@XmlElement(name = "Mrchnt")
protected Organisation32 mrchnt;
@XmlElement(name = "POI")
protected PointOfInteraction9 poi;
@XmlElement(name = "Card")
protected PaymentCard28 card;
@XmlElement(name = "Chck")
protected Check1 chck;
@XmlElement(name = "StordValAcct")
protected List stordValAcct;
@XmlElement(name = "LltyAcct")
protected List lltyAcct;
@XmlElement(name = "CstmrDvc")
protected CustomerDevice1 cstmrDvc;
@XmlElement(name = "Wllt")
protected CustomerDevice1 wllt;
@XmlElement(name = "PmtTkn")
protected CardPaymentToken4 pmtTkn;
@XmlElement(name = "Crdhldr")
protected Cardholder14 crdhldr;
@XmlElement(name = "PrtctdCrdhldrData")
protected ContentInformationType17 prtctdCrdhldrData;
@XmlElement(name = "SaleEnvt")
protected RetailerSaleEnvironment2 saleEnvt;
/**
* Gets the value of the acqrr property.
*
* @return
* possible object is
* {@link Acquirer9 }
*
*/
public Acquirer9 getAcqrr() {
return acqrr;
}
/**
* Sets the value of the acqrr property.
*
* @param value
* allowed object is
* {@link Acquirer9 }
*
*/
public CardPaymentEnvironment73 setAcqrr(Acquirer9 value) {
this.acqrr = value;
return this;
}
/**
* Gets the value of the mrchnt property.
*
* @return
* possible object is
* {@link Organisation32 }
*
*/
public Organisation32 getMrchnt() {
return mrchnt;
}
/**
* Sets the value of the mrchnt property.
*
* @param value
* allowed object is
* {@link Organisation32 }
*
*/
public CardPaymentEnvironment73 setMrchnt(Organisation32 value) {
this.mrchnt = value;
return this;
}
/**
* Gets the value of the poi property.
*
* @return
* possible object is
* {@link PointOfInteraction9 }
*
*/
public PointOfInteraction9 getPOI() {
return poi;
}
/**
* Sets the value of the poi property.
*
* @param value
* allowed object is
* {@link PointOfInteraction9 }
*
*/
public CardPaymentEnvironment73 setPOI(PointOfInteraction9 value) {
this.poi = value;
return this;
}
/**
* Gets the value of the card property.
*
* @return
* possible object is
* {@link PaymentCard28 }
*
*/
public PaymentCard28 getCard() {
return card;
}
/**
* Sets the value of the card property.
*
* @param value
* allowed object is
* {@link PaymentCard28 }
*
*/
public CardPaymentEnvironment73 setCard(PaymentCard28 value) {
this.card = value;
return this;
}
/**
* Gets the value of the chck property.
*
* @return
* possible object is
* {@link Check1 }
*
*/
public Check1 getChck() {
return chck;
}
/**
* Sets the value of the chck property.
*
* @param value
* allowed object is
* {@link Check1 }
*
*/
public CardPaymentEnvironment73 setChck(Check1 value) {
this.chck = value;
return this;
}
/**
* Gets the value of the stordValAcct 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 stordValAcct property.
*
*
* For example, to add a new item, do as follows:
*
* getStordValAcct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StoredValueAccount1 }
*
*
* @return
* The value of the stordValAcct property.
*/
public List getStordValAcct() {
if (stordValAcct == null) {
stordValAcct = new ArrayList<>();
}
return this.stordValAcct;
}
/**
* Gets the value of the lltyAcct 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 lltyAcct property.
*
*
* For example, to add a new item, do as follows:
*
* getLltyAcct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LoyaltyAccount1 }
*
*
* @return
* The value of the lltyAcct property.
*/
public List getLltyAcct() {
if (lltyAcct == null) {
lltyAcct = new ArrayList<>();
}
return this.lltyAcct;
}
/**
* Gets the value of the cstmrDvc property.
*
* @return
* possible object is
* {@link CustomerDevice1 }
*
*/
public CustomerDevice1 getCstmrDvc() {
return cstmrDvc;
}
/**
* Sets the value of the cstmrDvc property.
*
* @param value
* allowed object is
* {@link CustomerDevice1 }
*
*/
public CardPaymentEnvironment73 setCstmrDvc(CustomerDevice1 value) {
this.cstmrDvc = value;
return this;
}
/**
* Gets the value of the wllt property.
*
* @return
* possible object is
* {@link CustomerDevice1 }
*
*/
public CustomerDevice1 getWllt() {
return wllt;
}
/**
* Sets the value of the wllt property.
*
* @param value
* allowed object is
* {@link CustomerDevice1 }
*
*/
public CardPaymentEnvironment73 setWllt(CustomerDevice1 value) {
this.wllt = value;
return this;
}
/**
* Gets the value of the pmtTkn property.
*
* @return
* possible object is
* {@link CardPaymentToken4 }
*
*/
public CardPaymentToken4 getPmtTkn() {
return pmtTkn;
}
/**
* Sets the value of the pmtTkn property.
*
* @param value
* allowed object is
* {@link CardPaymentToken4 }
*
*/
public CardPaymentEnvironment73 setPmtTkn(CardPaymentToken4 value) {
this.pmtTkn = value;
return this;
}
/**
* Gets the value of the crdhldr property.
*
* @return
* possible object is
* {@link Cardholder14 }
*
*/
public Cardholder14 getCrdhldr() {
return crdhldr;
}
/**
* Sets the value of the crdhldr property.
*
* @param value
* allowed object is
* {@link Cardholder14 }
*
*/
public CardPaymentEnvironment73 setCrdhldr(Cardholder14 value) {
this.crdhldr = value;
return this;
}
/**
* Gets the value of the prtctdCrdhldrData property.
*
* @return
* possible object is
* {@link ContentInformationType17 }
*
*/
public ContentInformationType17 getPrtctdCrdhldrData() {
return prtctdCrdhldrData;
}
/**
* Sets the value of the prtctdCrdhldrData property.
*
* @param value
* allowed object is
* {@link ContentInformationType17 }
*
*/
public CardPaymentEnvironment73 setPrtctdCrdhldrData(ContentInformationType17 value) {
this.prtctdCrdhldrData = value;
return this;
}
/**
* Gets the value of the saleEnvt property.
*
* @return
* possible object is
* {@link RetailerSaleEnvironment2 }
*
*/
public RetailerSaleEnvironment2 getSaleEnvt() {
return saleEnvt;
}
/**
* Sets the value of the saleEnvt property.
*
* @param value
* allowed object is
* {@link RetailerSaleEnvironment2 }
*
*/
public CardPaymentEnvironment73 setSaleEnvt(RetailerSaleEnvironment2 value) {
this.saleEnvt = 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 stordValAcct list.
* @see #getStordValAcct()
*
*/
public CardPaymentEnvironment73 addStordValAcct(StoredValueAccount1 stordValAcct) {
getStordValAcct().add(stordValAcct);
return this;
}
/**
* Adds a new item to the lltyAcct list.
* @see #getLltyAcct()
*
*/
public CardPaymentEnvironment73 addLltyAcct(LoyaltyAccount1 lltyAcct) {
getLltyAcct().add(lltyAcct);
return this;
}
}