public class SubmitFeedRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
contentMD5 |
protected ContentType |
contentType |
protected InputStream |
feedContent |
protected String |
feedOptions |
protected String |
feedType |
protected String |
marketplace |
protected IdList |
marketplaceIdList |
protected String |
merchant |
protected String |
mwsAuthToken |
protected Boolean |
purgeAndReplace |
| Constructor and Description |
|---|
SubmitFeedRequest()
Default constructor
|
SubmitFeedRequest(String marketplace,
IdList marketplaceIdList,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace)
Value constructor
|
SubmitFeedRequest(String marketplace,
IdList marketplaceIdList,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace,
ContentType contentType) |
SubmitFeedRequest(String marketplace,
IdList marketplaceIdList,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace,
ContentType contentType,
String mwsAuthToken) |
SubmitFeedRequest(String marketplace,
IdList marketplaceIdList,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace,
String mwsAuthToken) |
SubmitFeedRequest(String marketplace,
IdList marketplaceIdList,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace,
String mwsAuthToken,
String feedOptions) |
SubmitFeedRequest(String marketplace,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace) |
SubmitFeedRequest(String marketplace,
String merchant,
InputStream feedContent,
String contentMD5,
String feedType,
Boolean purgeAndReplace,
String mwsAuthToken) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentMD5() |
ContentType |
getContentType()
Gets the value of the content type.
|
InputStream |
getFeedContent()
Gets the value of the feedContent property.
|
String |
getFeedOptions() |
String |
getFeedType()
Gets the value of the feedType property.
|
String |
getMarketplace()
Deprecated.
|
IdList |
getMarketplaceIdList() |
String |
getMerchant()
Gets the value of the merchant property.
|
String |
getMWSAuthToken()
Gets the value of the mwsAuthToken property.
|
Boolean |
isPurgeAndReplace()
Gets the value of the purgeAndReplace property.
|
boolean |
isSetContentMD5() |
boolean |
isSetContentType() |
boolean |
isSetFeedContent() |
boolean |
isSetFeedOptions() |
boolean |
isSetFeedType() |
boolean |
isSetMarketplace()
Deprecated.
|
boolean |
isSetMarketplaceIdList() |
boolean |
isSetMerchant() |
boolean |
isSetMWSAuthToken() |
boolean |
isSetPurgeAndReplace() |
void |
setContentMD5(String value) |
void |
setContentType(ContentType value)
Sets the value of the ContentType property.
|
void |
setFeedContent(InputStream value)
Sets the value of the feedContent property.
|
void |
setFeedOptions(String feedOptions) |
void |
setFeedType(String value)
Sets the value of the feedType property.
|
void |
setMarketplace(String value)
Deprecated.
Not used anymore. MWS ignores this parameter, but it is left
in here for backwards compatibility.
Use
setMarketplaceIdList(IdList) instead. |
void |
setMarketplaceIdList(IdList marketplaceIdList) |
void |
setMerchant(String value)
Sets the value of the merchant property.
|
void |
setMWSAuthToken(String authTokenValue)
Sets the value of the mwsAuthToken property
|
void |
setPurgeAndReplace(Boolean value)
Sets the value of the purgeAndReplace property.
|
protected String |
toJSONFragment()
JSON fragment representation of this object
|
SubmitFeedRequest |
withContentMD5(String value) |
SubmitFeedRequest |
withContentType(ContentType value)
Sets the value of the ContentType property
|
SubmitFeedRequest |
withFeedContent(InputStream value)
Sets the value of the FeedContent property.
|
SubmitFeedRequest |
withFeedOptions(String feedOptions) |
SubmitFeedRequest |
withFeedType(String value)
Sets the value of the FeedType property.
|
SubmitFeedRequest |
withMarketplace(String value)
Deprecated.
|
SubmitFeedRequest |
withMarketplaceIdList(IdList marketplaceIdList) |
SubmitFeedRequest |
withMerchant(String value)
Sets the value of the Merchant property.
|
SubmitFeedRequest |
withMWSAuthToken(String value)
Sets the value of the MWSAuthToken property.
|
SubmitFeedRequest |
withPurgeAndReplace(Boolean value)
Sets the value of the PurgeAndReplace property.
|
protected String marketplace
protected IdList marketplaceIdList
protected String merchant
protected InputStream feedContent
protected String contentMD5
protected String feedType
protected Boolean purgeAndReplace
protected String feedOptions
protected ContentType contentType
protected String mwsAuthToken
public SubmitFeedRequest()
public SubmitFeedRequest(String marketplace, IdList marketplaceIdList, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace)
public SubmitFeedRequest(String marketplace, IdList marketplaceIdList, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace, String mwsAuthToken)
public SubmitFeedRequest(String marketplace, IdList marketplaceIdList, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace, String mwsAuthToken, String feedOptions)
public SubmitFeedRequest(String marketplace, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace)
public SubmitFeedRequest(String marketplace, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace, String mwsAuthToken)
public SubmitFeedRequest(String marketplace, IdList marketplaceIdList, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace, ContentType contentType)
public SubmitFeedRequest(String marketplace, IdList marketplaceIdList, String merchant, InputStream feedContent, String contentMD5, String feedType, Boolean purgeAndReplace, ContentType contentType, String mwsAuthToken)
public void setMarketplaceIdList(IdList marketplaceIdList)
marketplaceIdList - public IdList getMarketplaceIdList()
public SubmitFeedRequest withMarketplaceIdList(IdList marketplaceIdList)
public boolean isSetMarketplaceIdList()
public ContentType getContentType()
ContentTypepublic SubmitFeedRequest withContentType(ContentType value)
value - public void setContentType(ContentType value)
value - allowed object is
ContentTypepublic boolean isSetContentType()
public String getMarketplace()
setMarketplace(String)Stringpublic void setMarketplace(String value)
setMarketplaceIdList(IdList) instead.value - allowed object is
Stringpublic boolean isSetMarketplace()
setMarketplace(String)public String getMerchant()
Stringpublic void setMerchant(String value)
value - allowed object is
Stringpublic boolean isSetMerchant()
public InputStream getFeedContent()
Stringpublic void setFeedContent(InputStream value)
value - allowed object is
Stringpublic boolean isSetFeedContent()
public String getContentMD5()
public void setContentMD5(String value)
public boolean isSetContentMD5()
public void setFeedOptions(String feedOptions)
public String getFeedOptions()
public boolean isSetFeedOptions()
public String getFeedType()
Stringpublic void setFeedType(String value)
value - allowed object is
Stringpublic boolean isSetFeedType()
public String getMWSAuthToken()
Stringpublic void setMWSAuthToken(String authTokenValue)
authTokenValue - allowed object is
Stringpublic boolean isSetMWSAuthToken()
public Boolean isPurgeAndReplace()
Booleanpublic void setPurgeAndReplace(Boolean value)
value - allowed object is
Booleanpublic boolean isSetPurgeAndReplace()
public SubmitFeedRequest withMarketplace(String value)
setMarketplace(String)value - public SubmitFeedRequest withMerchant(String value)
value - public SubmitFeedRequest withMWSAuthToken(String value)
value - public SubmitFeedRequest withFeedContent(InputStream value)
value - public SubmitFeedRequest withContentMD5(String value)
public SubmitFeedRequest withFeedType(String value)
value - public SubmitFeedRequest withPurgeAndReplace(Boolean value)
value - public SubmitFeedRequest withFeedOptions(String feedOptions)
protected String toJSONFragment()
Copyright © 2020. All rights reserved.