Class RequestedDocumentSpecification
- java.lang.Object
-
- software.amazon.spapi.models.shipping.v2.RequestedDocumentSpecification
-
public class RequestedDocumentSpecification extends java.lang.Object
The document specifications requested. For calls to the purchaseShipment operation, the shipment purchase fails if the specified document specifications are not among those returned in the response to the getRates operation.
-
-
Constructor Summary
Constructors Constructor Description RequestedDocumentSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestedDocumentSpecification
addRequestedDocumentTypesItem(DocumentType requestedDocumentTypesItem)
RequestedDocumentSpecification
dpi(java.lang.Integer dpi)
boolean
equals(java.lang.Object o)
RequestedDocumentSpecification
format(DocumentFormat format)
java.lang.Integer
getDpi()
Get dpiDocumentFormat
getFormat()
Get formatjava.lang.Boolean
getNeedFileJoining()
Get needFileJoiningjava.lang.String
getPageLayout()
Get pageLayoutjava.util.List<DocumentType>
getRequestedDocumentTypes()
A list of the document types requested.DocumentSize
getSize()
Get sizeint
hashCode()
RequestedDocumentSpecification
needFileJoining(java.lang.Boolean needFileJoining)
RequestedDocumentSpecification
pageLayout(java.lang.String pageLayout)
RequestedDocumentSpecification
requestedDocumentTypes(java.util.List<DocumentType> requestedDocumentTypes)
void
setDpi(java.lang.Integer dpi)
void
setFormat(DocumentFormat format)
void
setNeedFileJoining(java.lang.Boolean needFileJoining)
void
setPageLayout(java.lang.String pageLayout)
void
setRequestedDocumentTypes(java.util.List<DocumentType> requestedDocumentTypes)
void
setSize(DocumentSize size)
RequestedDocumentSpecification
size(DocumentSize size)
java.lang.String
toString()
-
-
-
Method Detail
-
format
public RequestedDocumentSpecification format(DocumentFormat format)
-
getFormat
public DocumentFormat getFormat()
Get format- Returns:
- format
-
setFormat
public void setFormat(DocumentFormat format)
-
size
public RequestedDocumentSpecification size(DocumentSize size)
-
getSize
public DocumentSize getSize()
Get size- Returns:
- size
-
setSize
public void setSize(DocumentSize size)
-
dpi
public RequestedDocumentSpecification dpi(java.lang.Integer dpi)
-
getDpi
public java.lang.Integer getDpi()
Get dpi- Returns:
- dpi
-
setDpi
public void setDpi(java.lang.Integer dpi)
-
pageLayout
public RequestedDocumentSpecification pageLayout(java.lang.String pageLayout)
-
getPageLayout
public java.lang.String getPageLayout()
Get pageLayout- Returns:
- pageLayout
-
setPageLayout
public void setPageLayout(java.lang.String pageLayout)
-
needFileJoining
public RequestedDocumentSpecification needFileJoining(java.lang.Boolean needFileJoining)
-
getNeedFileJoining
public java.lang.Boolean getNeedFileJoining()
Get needFileJoining- Returns:
- needFileJoining
-
setNeedFileJoining
public void setNeedFileJoining(java.lang.Boolean needFileJoining)
-
requestedDocumentTypes
public RequestedDocumentSpecification requestedDocumentTypes(java.util.List<DocumentType> requestedDocumentTypes)
-
addRequestedDocumentTypesItem
public RequestedDocumentSpecification addRequestedDocumentTypesItem(DocumentType requestedDocumentTypesItem)
-
getRequestedDocumentTypes
public java.util.List<DocumentType> getRequestedDocumentTypes()
A list of the document types requested.- Returns:
- requestedDocumentTypes
-
setRequestedDocumentTypes
public void setRequestedDocumentTypes(java.util.List<DocumentType> requestedDocumentTypes)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-