package com.experian.payline.ws.obj; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlType; /** * * This element contains all information about contract * * * <p>Java class for contract complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="contract"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="cardType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="contractNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="currency" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="settlementType"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="Manual"/> * <enumeration value="Now"/> * <enumeration value="1Day"/> * <enumeration value="2Day"/> * <enumeration value="3Day"/> * <enumeration value="4Day"/> * <enumeration value="5Day"/> * <enumeration value="6Day"/> * <enumeration value="7Day"/> * </restriction> * </simpleType> * </element> * <element name="maxAmountPerTransaction" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="technicalData" type="{http://obj.ws.payline.experian.com}technicalData"/> * <element name="bankAccount" type="{http://obj.ws.payline.experian.com}bankAccount"/> * <element name="acquirerInterlocutor" type="{http://obj.ws.payline.experian.com}interlocutor"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "contract", propOrder = { "cardType", "label", "contractNumber", "currency", "settlementType", "maxAmountPerTransaction", "technicalData", "bankAccount", "acquirerInterlocutor" }) public class Contract { @XmlElement(required = true, nillable = true) protected String cardType; @XmlElementRef(name = "label", namespace = "http://obj.ws.payline.experian.com", type = JAXBElement.class) protected JAXBElement<String> label; @XmlElement(required = true, nillable = true) protected String contractNumber; @XmlElement(required = true, nillable = true) protected String currency; @XmlElement(required = true, defaultValue = "Manual") protected String settlementType; @XmlElement(required = true, type = Integer.class, nillable = true) protected Integer maxAmountPerTransaction; @XmlElement(required = true, nillable = true) protected TechnicalData technicalData; @XmlElement(required = true, nillable = true) protected BankAccount bankAccount; @XmlElement(required = true, nillable = true) protected Interlocutor acquirerInterlocutor; /** * Gets the value of the cardType property. * * @return * possible object is * {@link String } * */ public String getCardType() { return cardType; } /** * Sets the value of the cardType property. * * @param value * allowed object is * {@link String } * */ public void setCardType(String value) { this.cardType = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public JAXBElement<String> getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public void setLabel(JAXBElement<String> value) { this.label = ((JAXBElement<String> ) value); } /** * Gets the value of the contractNumber property. * * @return * possible object is * {@link String } * */ public String getContractNumber() { return contractNumber; } /** * Sets the value of the contractNumber property. * * @param value * allowed object is * {@link String } * */ public void setContractNumber(String value) { this.contractNumber = value; } /** * Gets the value of the currency property. * * @return * possible object is * {@link String } * */ public String getCurrency() { return currency; } /** * Sets the value of the currency property. * * @param value * allowed object is * {@link String } * */ public void setCurrency(String value) { this.currency = value; } /** * Gets the value of the settlementType property. * * @return * possible object is * {@link String } * */ public String getSettlementType() { return settlementType; } /** * Sets the value of the settlementType property. * * @param value * allowed object is * {@link String } * */ public void setSettlementType(String value) { this.settlementType = value; } /** * Gets the value of the maxAmountPerTransaction property. * * @return * possible object is * {@link Integer } * */ public Integer getMaxAmountPerTransaction() { return maxAmountPerTransaction; } /** * Sets the value of the maxAmountPerTransaction property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxAmountPerTransaction(Integer value) { this.maxAmountPerTransaction = value; } /** * Gets the value of the technicalData property. * * @return * possible object is * {@link TechnicalData } * */ public TechnicalData getTechnicalData() { return technicalData; } /** * Sets the value of the technicalData property. * * @param value * allowed object is * {@link TechnicalData } * */ public void setTechnicalData(TechnicalData value) { this.technicalData = value; } /** * Gets the value of the bankAccount property. * * @return * possible object is * {@link BankAccount } * */ public BankAccount getBankAccount() { return bankAccount; } /** * Sets the value of the bankAccount property. * * @param value * allowed object is * {@link BankAccount } * */ public void setBankAccount(BankAccount value) { this.bankAccount = value; } /** * Gets the value of the acquirerInterlocutor property. * * @return * possible object is * {@link Interlocutor } * */ public Interlocutor getAcquirerInterlocutor() { return acquirerInterlocutor; } /** * Sets the value of the acquirerInterlocutor property. * * @param value * allowed object is * {@link Interlocutor } * */ public void setAcquirerInterlocutor(Interlocutor value) { this.acquirerInterlocutor = value; } }