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
-
-
-
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)
-
requestedLabelCustomization
public RequestedDocumentSpecification requestedLabelCustomization(RequestedLabelCustomization requestedLabelCustomization)
-
getRequestedLabelCustomization
public RequestedLabelCustomization getRequestedLabelCustomization()
Get requestedLabelCustomization- Returns:
- requestedLabelCustomization
-
setRequestedLabelCustomization
public void setRequestedLabelCustomization(RequestedLabelCustomization requestedLabelCustomization)
-
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
-
-