public class MediaRequest extends Object implements ITimeoutRequest
Constructor and Description |
---|
MediaRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getMediaId()
Gets id used to track a media asset.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setMediaId(String value)
Sets id used to track a media asset.
|
void |
setTest(boolean value)
Sets whether or not to route transaction to the test gateway.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
public void setTimeout(int value)
value
- the request timeout in seconds.public int getTimeout()
getTimeout
in interface ITimeoutRequest
public void setTest(boolean value)
value
- whether or not to route transaction to the test gateway.public boolean isTest()
isTest
in interface ITimeoutRequest
public void setMediaId(String value)
value
- id used to track a media asset.public String getMediaId()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.