Package com.adyen.model.balanceplatform
Class GetTaxFormResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.GetTaxFormResponse
-
public class GetTaxFormResponse extends Object
GetTaxFormResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTaxFormResponse.ContentTypeEnumThe content type of the tax form.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENTstatic StringJSON_PROPERTY_CONTENT_TYPE
-
Constructor Summary
Constructors Constructor Description GetTaxFormResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTaxFormResponsecontent(byte[] content)GetTaxFormResponsecontentType(GetTaxFormResponse.ContentTypeEnum contentType)booleanequals(Object o)Return true if this GetTaxFormResponse object is equal to o.static GetTaxFormResponsefromJson(String jsonString)Create an instance of GetTaxFormResponse given an JSON stringbyte[]getContent()The content of the tax form in Base64 format.GetTaxFormResponse.ContentTypeEnumgetContentType()The content type of the tax form.inthashCode()voidsetContent(byte[] content)The content of the tax form in Base64 format.voidsetContentType(GetTaxFormResponse.ContentTypeEnum contentType)The content type of the tax form.StringtoJson()Convert an instance of GetTaxFormResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTENT_TYPE
public static final String JSON_PROPERTY_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
content
public GetTaxFormResponse content(byte[] content)
-
getContent
public byte[] getContent()
The content of the tax form in Base64 format.- Returns:
- content
-
setContent
public void setContent(byte[] content)
The content of the tax form in Base64 format.- Parameters:
content-
-
contentType
public GetTaxFormResponse contentType(GetTaxFormResponse.ContentTypeEnum contentType)
-
getContentType
public GetTaxFormResponse.ContentTypeEnum getContentType()
The content type of the tax form. Possible values: * **application/pdf**- Returns:
- contentType
-
setContentType
public void setContentType(GetTaxFormResponse.ContentTypeEnum contentType)
The content type of the tax form. Possible values: * **application/pdf**- Parameters:
contentType-
-
equals
public boolean equals(Object o)
Return true if this GetTaxFormResponse object is equal to o.
-
fromJson
public static GetTaxFormResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetTaxFormResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetTaxFormResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetTaxFormResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetTaxFormResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-