All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.SaleProfile Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Functional profile of the Sale Terminal. -- Usage: Sent in the Login Request to identify the functions that might be requested by the Sale Terminal during the session.  The value of this data element contains:  One of the generic profile: Basic, Standard or Extended,   A list (possibly
 *
 * 

Java class for SaleProfile complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SaleProfile">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ServiceProfiles" type="{}ServiceProfiles" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="GenericProfile" type="{}GenericProfileType" default="Standard" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SaleProfile", propOrder = { "serviceProfiles" }) public class SaleProfile { /** * The Service profiles. */ @XmlList @XmlElement(name = "ServiceProfiles") @Schema(description = "Service profiles of the Sale to POI protocol. --Rule: If a service profile could be requested") protected List serviceProfiles; /** * The Generic profile. */ @XmlElement(name = "GenericProfile") @Schema(description = "Functional profile of the Sale to POI protocol.") protected GenericProfileType genericProfile; /** * Gets the value of the serviceProfiles 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 JAXB object. * This is why there is not a set method for the serviceProfiles property. *

*

* For example, to add a new item, do as follows: *

     *    getServiceProfiles().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link ServiceProfilesType } * * @return the service profiles */ public List getServiceProfiles() { if (serviceProfiles == null) { serviceProfiles = new ArrayList<>(); } return this.serviceProfiles; } /** * Gets the value of the genericProfile property. * * @return possible object is {@link GenericProfileType } */ public GenericProfileType getGenericProfile() { if (genericProfile == null) { return GenericProfileType.STANDARD; } else { return genericProfile; } } /** * Sets the value of the genericProfile property. * * @param value allowed object is {@link GenericProfileType } */ public void setGenericProfile(GenericProfileType value) { this.genericProfile = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy