com.adyen.model.nexo.SoundRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
package com.adyen.model.nexo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.math.BigInteger;
/**
* Definition: Content of the Sound Request messageType. -- Usage: It conveys the data to start a sound, stop a sound, or modify the default sound volume. The sound to play may be a preloaded sound or a text to play.
*
* Java class for SoundRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SoundRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SoundContent" type="{}SoundContent"/>
* </sequence>
* <attribute name="ResponseMode" type="{}ResponseModeType" default="NotRequired" />
* <attribute name="SoundAction" use="required" type="{}SoundActionType" />
* <attribute name="SoundVolume" type="{}SoundVolume" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SoundRequest", propOrder = {
"soundContent"
})
public class SoundRequest {
/**
* The Sound content.
*/
@XmlElement(name = "SoundContent", required = true)
protected SoundContent soundContent;
/**
* The Response mode.
*/
@XmlAttribute(name = "ResponseMode")
protected ResponseModeType responseMode;
/**
* The Sound action.
*/
@XmlAttribute(name = "SoundAction", required = true)
protected SoundActionType soundAction;
/**
* The Sound volume.
*/
@XmlAttribute(name = "SoundVolume")
protected BigInteger soundVolume;
/**
* Gets the value of the soundContent property.
*
* @return possible object is {@link SoundContent }
*/
public SoundContent getSoundContent() {
return soundContent;
}
/**
* Sets the value of the soundContent property.
*
* @param value allowed object is {@link SoundContent }
*/
public void setSoundContent(SoundContent value) {
this.soundContent = value;
}
/**
* Gets the value of the responseMode property.
*
* @return possible object is {@link ResponseModeType }
*/
public ResponseModeType getResponseMode() {
if (responseMode == null) {
return ResponseModeType.NOT_REQUIRED;
} else {
return responseMode;
}
}
/**
* Sets the value of the responseMode property.
*
* @param value allowed object is {@link ResponseModeType }
*/
public void setResponseMode(ResponseModeType value) {
this.responseMode = value;
}
/**
* Gets the value of the soundAction property.
*
* @return possible object is {@link SoundActionType }
*/
public SoundActionType getSoundAction() {
return soundAction;
}
/**
* Sets the value of the soundAction property.
*
* @param value allowed object is {@link SoundActionType }
*/
public void setSoundAction(SoundActionType value) {
this.soundAction = value;
}
/**
* Gets the value of the soundVolume property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getSoundVolume() {
return soundVolume;
}
/**
* Sets the value of the soundVolume property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setSoundVolume(BigInteger value) {
this.soundVolume = value;
}
}