Package com.blockchyp.client.dto
Class SlideShow
java.lang.Object
com.blockchyp.client.dto.SlideShow
- All Implemented Interfaces:
IAbstractAcknowledgement,ITimeoutRequest
Models a media library response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a enumerates all slides in the display sequence.intgetDelay()Gets time between slides in seconds.getError()Gets the error, if an error occurred.getId()Gets the primary id for the slide show.getName()Gets the name of the slide show.Gets a narrative description of the transaction result.Gets enumerates all slides in the display sequence.intGets the request timeout in seconds.booleanGets whether or not the request succeeded.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetDelay(int value) Sets time between slides in seconds.voidSets the error, if an error occurred.voidSets the primary id for the slide show.voidSets the name of the slide show.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSlides(Collection<Slide> value) Sets enumerates all slides in the display sequence.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTest(boolean value) Sets whether or not to route transaction to the test gateway.voidsetTimeout(int value) Sets the request timeout in seconds.
-
Constructor Details
-
SlideShow
public SlideShow()
-
-
Method Details
-
setTimeout
public void setTimeout(int value) Sets the request timeout in seconds.- Parameters:
value- the request timeout in seconds.
-
getTimeout
public int getTimeout()Gets the request timeout in seconds.- Specified by:
getTimeoutin interfaceITimeoutRequest- Returns:
- the request timeout in seconds.
-
setTest
public void setTest(boolean value) Sets whether or not to route transaction to the test gateway.- Parameters:
value- whether or not to route transaction to the test gateway.
-
isTest
public boolean isTest()Gets whether or not to route transaction to the test gateway.- Specified by:
isTestin interfaceITimeoutRequest- Returns:
- whether or not to route transaction to the test gateway.
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setId
Sets the primary id for the slide show.- Parameters:
value- the primary id for the slide show.
-
getId
Gets the primary id for the slide show.- Returns:
- the primary id for the slide show.
-
setName
Sets the name of the slide show.- Parameters:
value- the name of the slide show.
-
getName
Gets the name of the slide show.- Returns:
- the name of the slide show.
-
setDelay
public void setDelay(int value) Sets time between slides in seconds.- Parameters:
value- time between slides in seconds.
-
getDelay
public int getDelay()Gets time between slides in seconds.- Returns:
- time between slides in seconds.
-
setSlides
Sets enumerates all slides in the display sequence.- Parameters:
value- enumerates all slides in the display sequence.
-
getSlides
Gets enumerates all slides in the display sequence.- Returns:
- enumerates all slides in the display sequence.
-
addSlide
Adds a enumerates all slides in the display sequence.- Parameters:
value- enumerates all slides in the display sequence.
-