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)The content of the tax form in Base64 format.GetTaxFormResponsecontentType(GetTaxFormResponse.ContentTypeEnum contentType)The content type of the tax form.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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()GetTaxFormResponseincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetContent(byte[] content)The content of the tax form in Base64 format.voidsetContentType(GetTaxFormResponse.ContentTypeEnum contentType)The content type of the tax form.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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)
The content of the tax form in Base64 format.- Parameters:
content- The content of the tax form in Base64 format.- Returns:
- the current
GetTaxFormResponseinstance, allowing for method chaining
-
getContent
public byte[] getContent()
The content of the tax form in Base64 format.- Returns:
- content The content of the tax form in Base64 format.
-
setContent
public void setContent(byte[] content)
The content of the tax form in Base64 format.- Parameters:
content- The content of the tax form in Base64 format.
-
contentType
public GetTaxFormResponse contentType(GetTaxFormResponse.ContentTypeEnum contentType)
The content type of the tax form. Possible values: * **application/pdf**- Parameters:
contentType- The content type of the tax form. Possible values: * **application/pdf**- Returns:
- the current
GetTaxFormResponseinstance, allowing for method chaining
-
getContentType
public GetTaxFormResponse.ContentTypeEnum getContentType()
The content type of the tax form. Possible values: * **application/pdf**- Returns:
- contentType The content type of the tax form. Possible values: * **application/pdf**
-
setContentType
public void setContentType(GetTaxFormResponse.ContentTypeEnum contentType)
The content type of the tax form. Possible values: * **application/pdf**- Parameters:
contentType- The content type of the tax form. Possible values: * **application/pdf**
-
includeNullValues
public GetTaxFormResponse includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this GetTaxFormResponse object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-