Class DocumentPage
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.DocumentPage
-
public class DocumentPage extends Object
DocumentPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentPage.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PAGE_NAMEstatic StringJSON_PROPERTY_PAGE_NUMBERstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description DocumentPage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this DocumentPage object is equal to o.static DocumentPagefromJson(String jsonString)Create an instance of DocumentPage given an JSON stringStringgetPageName()Get pageNameIntegergetPageNumber()Get pageNumberDocumentPage.TypeEnumgetType()Get typeinthashCode()DocumentPagepageName(String pageName)DocumentPagepageNumber(Integer pageNumber)voidsetPageName(String pageName)pageNamevoidsetPageNumber(Integer pageNumber)pageNumbervoidsetType(DocumentPage.TypeEnum type)typeStringtoJson()Convert an instance of DocumentPage to an JSON stringStringtoString()DocumentPagetype(DocumentPage.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_PAGE_NAME
public static final String JSON_PROPERTY_PAGE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE_NUMBER
public static final String JSON_PROPERTY_PAGE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
pageName
public DocumentPage pageName(String pageName)
-
getPageName
public String getPageName()
Get pageName- Returns:
- pageName
-
setPageName
public void setPageName(String pageName)
pageName- Parameters:
pageName-
-
pageNumber
public DocumentPage pageNumber(Integer pageNumber)
-
getPageNumber
public Integer getPageNumber()
Get pageNumber- Returns:
- pageNumber
-
setPageNumber
public void setPageNumber(Integer pageNumber)
pageNumber- Parameters:
pageNumber-
-
type
public DocumentPage type(DocumentPage.TypeEnum type)
-
getType
public DocumentPage.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(DocumentPage.TypeEnum type)
type- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this DocumentPage object is equal to o.
-
fromJson
public static DocumentPage fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DocumentPage given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentPage
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DocumentPage
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DocumentPage to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-