Package com.adyen.model.marketpayaccount
Class GetTaxFormRequest
- java.lang.Object
-
- com.adyen.model.marketpayaccount.GetTaxFormRequest
-
public class GetTaxFormRequest extends Object
GetTaxFormRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_FORM_TYPEstatic StringJSON_PROPERTY_YEAR
-
Constructor Summary
Constructors Constructor Description GetTaxFormRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTaxFormRequestaccountHolderCode(String accountHolderCode)booleanequals(Object o)Return true if this GetTaxFormRequest object is equal to o.GetTaxFormRequestformType(String formType)static GetTaxFormRequestfromJson(String jsonString)Create an instance of GetTaxFormRequest given an JSON stringStringgetAccountHolderCode()The account holder code you provided when you created the account holder.StringgetFormType()Type of the requested tax form.IntegergetYear()Applicable tax year in the YYYY format.inthashCode()voidsetAccountHolderCode(String accountHolderCode)voidsetFormType(String formType)voidsetYear(Integer year)StringtoJson()Convert an instance of GetTaxFormRequest to an JSON stringStringtoString()GetTaxFormRequestyear(Integer year)
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FORM_TYPE
public static final String JSON_PROPERTY_FORM_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_YEAR
public static final String JSON_PROPERTY_YEAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public GetTaxFormRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The account holder code you provided when you created the account holder.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
formType
public GetTaxFormRequest formType(String formType)
-
getFormType
public String getFormType()
Type of the requested tax form. For example, 1099-K.- Returns:
- formType
-
setFormType
public void setFormType(String formType)
-
year
public GetTaxFormRequest year(Integer year)
-
getYear
public Integer getYear()
Applicable tax year in the YYYY format.- Returns:
- year
-
setYear
public void setYear(Integer year)
-
equals
public boolean equals(Object o)
Return true if this GetTaxFormRequest object is equal to o.
-
fromJson
public static GetTaxFormRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetTaxFormRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetTaxFormRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetTaxFormRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetTaxFormRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-