Package com.adyen.model.management
Class BillingEntitiesResponse
- java.lang.Object
-
- com.adyen.model.management.BillingEntitiesResponse
-
public class BillingEntitiesResponse extends Object
BillingEntitiesResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBillingEntitiesResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATA
-
Constructor Summary
Constructors Constructor Description BillingEntitiesResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingEntitiesResponseaddDataItem(BillingEntity dataItem)BillingEntitiesResponsedata(List<BillingEntity> data)booleanequals(Object o)static BillingEntitiesResponsefromJson(String jsonString)Create an instance of BillingEntitiesResponse given an JSON stringList<BillingEntity>getData()List of legal entities that can be used for the billing of orders.inthashCode()voidsetData(List<BillingEntity> data)StringtoJson()Convert an instance of BillingEntitiesResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
data
public BillingEntitiesResponse data(List<BillingEntity> data)
-
addDataItem
public BillingEntitiesResponse addDataItem(BillingEntity dataItem)
-
getData
public List<BillingEntity> getData()
List of legal entities that can be used for the billing of orders.- Returns:
- data
-
setData
public void setData(List<BillingEntity> data)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to BillingEntitiesResponse
-
fromJson
public static BillingEntitiesResponse fromJson(String jsonString) throws IOException
Create an instance of BillingEntitiesResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BillingEntitiesResponse
- Throws:
IOException- if the JSON string is invalid with respect to BillingEntitiesResponse
-
toJson
public String toJson()
Convert an instance of BillingEntitiesResponse to an JSON string- Returns:
- JSON string
-
-