Package com.adyen.model.transfers
Class TransferView
- java.lang.Object
-
- com.adyen.model.transfers.TransferView
-
public class TransferView extends Object
TransferView
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CATEGORY_DATAstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_REFERENCE
-
Constructor Summary
Constructors Constructor Description TransferView()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferViewcategoryData(TransferCategoryData categoryData)categoryDatabooleanequals(Object o)Return true if this TransferView object is equal to o.static TransferViewfromJson(String jsonString)Create an instance of TransferView given an JSON stringTransferCategoryDatagetCategoryData()categoryDataStringgetId()The ID of the resource.StringgetReference()The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request.inthashCode()TransferViewid(String id)The ID of the resource.TransferViewreference(String reference)The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request.voidsetCategoryData(TransferCategoryData categoryData)categoryDatavoidsetId(String id)The ID of the resource.voidsetReference(String reference)The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request.StringtoJson()Convert an instance of TransferView to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CATEGORY_DATA
public static final String JSON_PROPERTY_CATEGORY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
categoryData
public TransferView categoryData(TransferCategoryData categoryData)
categoryData- Parameters:
categoryData-- Returns:
- the current
TransferViewinstance, allowing for method chaining
-
getCategoryData
public TransferCategoryData getCategoryData()
categoryData- Returns:
- categoryData
-
setCategoryData
public void setCategoryData(TransferCategoryData categoryData)
categoryData- Parameters:
categoryData-
-
id
public TransferView id(String id)
The ID of the resource.- Parameters:
id-- Returns:
- the current
TransferViewinstance, allowing for method chaining
-
getId
public String getId()
The ID of the resource.- Returns:
- id
-
setId
public void setId(String id)
The ID of the resource.- Parameters:
id-
-
reference
public TransferView reference(String reference)
The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.- Parameters:
reference-- Returns:
- the current
TransferViewinstance, allowing for method chaining
-
getReference
public String getReference()
The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.- Returns:
- reference
-
setReference
public void setReference(String reference)
The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.- Parameters:
reference-
-
equals
public boolean equals(Object o)
Return true if this TransferView object is equal to o.
-
fromJson
public static TransferView fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferView given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferView
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferView
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferView to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-