Class SupportedDocumentDetail
- java.lang.Object
-
- software.amazon.spapi.models.shipping.v2.SupportedDocumentDetail
-
public class SupportedDocumentDetail extends java.lang.Object
The supported document types for a service offering.
-
-
Constructor Summary
Constructors Constructor Description SupportedDocumentDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
DocumentType
getName()
Get nameint
hashCode()
java.lang.Boolean
isIsMandatory()
When true, the supported document type is required.SupportedDocumentDetail
isMandatory(java.lang.Boolean isMandatory)
SupportedDocumentDetail
name(DocumentType name)
void
setIsMandatory(java.lang.Boolean isMandatory)
void
setName(DocumentType name)
java.lang.String
toString()
-
-
-
Method Detail
-
name
public SupportedDocumentDetail name(DocumentType name)
-
getName
public DocumentType getName()
Get name- Returns:
- name
-
setName
public void setName(DocumentType name)
-
isMandatory
public SupportedDocumentDetail isMandatory(java.lang.Boolean isMandatory)
-
isIsMandatory
public java.lang.Boolean isIsMandatory()
When true, the supported document type is required.- Returns:
- isMandatory
-
setIsMandatory
public void setIsMandatory(java.lang.Boolean isMandatory)
-
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
-
-