Class BusinessLineInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.BusinessLineInfo
-
public class BusinessLineInfo extends Object
BusinessLineInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBusinessLineInfo.CustomTypeAdapterFactorystatic classBusinessLineInfo.ServiceEnumThe service for which you are creating the business line.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CAPABILITYstatic StringSERIALIZED_NAME_INDUSTRY_CODEstatic StringSERIALIZED_NAME_LEGAL_ENTITY_IDstatic StringSERIALIZED_NAME_SALES_CHANNELSstatic StringSERIALIZED_NAME_SERVICEstatic StringSERIALIZED_NAME_SOURCE_OF_FUNDSstatic StringSERIALIZED_NAME_WEB_DATAstatic StringSERIALIZED_NAME_WEB_DATA_EXEMPTION
-
Constructor Summary
Constructors Constructor Description BusinessLineInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BusinessLineInfoaddSalesChannelsItem(String salesChannelsItem)BusinessLineInfoaddWebDataItem(WebData webDataItem)BusinessLineInfocapability(String capability)Deprecated.booleanequals(Object o)static BusinessLineInfofromJson(String jsonString)Create an instance of BusinessLineInfo given an JSON stringStringgetCapability()Deprecated.StringgetIndustryCode()A code that represents the industry of the legal entity.StringgetLegalEntityId()Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.List<String>getSalesChannels()A list of channels where goods or services are sold.BusinessLineInfo.ServiceEnumgetService()The service for which you are creating the business line.SourceOfFundsgetSourceOfFunds()Get sourceOfFundsList<WebData>getWebData()List of website URLs where your user's goods or services are sold.WebDataExemptiongetWebDataExemption()Get webDataExemptioninthashCode()BusinessLineInfoindustryCode(String industryCode)BusinessLineInfolegalEntityId(String legalEntityId)BusinessLineInfosalesChannels(List<String> salesChannels)BusinessLineInfoservice(BusinessLineInfo.ServiceEnum service)voidsetCapability(String capability)Deprecated.voidsetIndustryCode(String industryCode)voidsetLegalEntityId(String legalEntityId)voidsetSalesChannels(List<String> salesChannels)voidsetService(BusinessLineInfo.ServiceEnum service)voidsetSourceOfFunds(SourceOfFunds sourceOfFunds)voidsetWebData(List<WebData> webData)voidsetWebDataExemption(WebDataExemption webDataExemption)BusinessLineInfosourceOfFunds(SourceOfFunds sourceOfFunds)StringtoJson()Convert an instance of BusinessLineInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundBusinessLineInfowebData(List<WebData> webData)BusinessLineInfowebDataExemption(WebDataExemption webDataExemption)
-
-
-
Field Detail
-
SERIALIZED_NAME_CAPABILITY
public static final String SERIALIZED_NAME_CAPABILITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INDUSTRY_CODE
public static final String SERIALIZED_NAME_INDUSTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LEGAL_ENTITY_ID
public static final String SERIALIZED_NAME_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SALES_CHANNELS
public static final String SERIALIZED_NAME_SALES_CHANNELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SERVICE
public static final String SERIALIZED_NAME_SERVICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE_OF_FUNDS
public static final String SERIALIZED_NAME_SOURCE_OF_FUNDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEB_DATA
public static final String SERIALIZED_NAME_WEB_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEB_DATA_EXEMPTION
public static final String SERIALIZED_NAME_WEB_DATA_EXEMPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
capability
@Deprecated public BusinessLineInfo capability(String capability)
Deprecated.
-
getCapability
@Deprecated public String getCapability()
Deprecated.The capability for which you are creating the business line. For example, **receivePayments**.- Returns:
- capability
-
setCapability
@Deprecated public void setCapability(String capability)
Deprecated.
-
industryCode
public BusinessLineInfo industryCode(String industryCode)
-
getIndustryCode
public String getIndustryCode()
A code that represents the industry of the legal entity. For example, **4431A** for computer software stores.- Returns:
- industryCode
-
setIndustryCode
public void setIndustryCode(String industryCode)
-
legalEntityId
public BusinessLineInfo legalEntityId(String legalEntityId)
-
getLegalEntityId
public String getLegalEntityId()
Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.- Returns:
- legalEntityId
-
setLegalEntityId
public void setLegalEntityId(String legalEntityId)
-
salesChannels
public BusinessLineInfo salesChannels(List<String> salesChannels)
-
addSalesChannelsItem
public BusinessLineInfo addSalesChannelsItem(String salesChannelsItem)
-
getSalesChannels
public List<String> getSalesChannels()
A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.- Returns:
- salesChannels
-
service
public BusinessLineInfo service(BusinessLineInfo.ServiceEnum service)
-
getService
public BusinessLineInfo.ServiceEnum getService()
The service for which you are creating the business line. Possible values:**paymentProcessing**, **issuing**, **banking**- Returns:
- service
-
setService
public void setService(BusinessLineInfo.ServiceEnum service)
-
sourceOfFunds
public BusinessLineInfo sourceOfFunds(SourceOfFunds sourceOfFunds)
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
Get sourceOfFunds- Returns:
- sourceOfFunds
-
setSourceOfFunds
public void setSourceOfFunds(SourceOfFunds sourceOfFunds)
-
webData
public BusinessLineInfo webData(List<WebData> webData)
-
addWebDataItem
public BusinessLineInfo addWebDataItem(WebData webDataItem)
-
getWebData
public List<WebData> getWebData()
List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.- Returns:
- webData
-
webDataExemption
public BusinessLineInfo webDataExemption(WebDataExemption webDataExemption)
-
getWebDataExemption
public WebDataExemption getWebDataExemption()
Get webDataExemption- Returns:
- webDataExemption
-
setWebDataExemption
public void setWebDataExemption(WebDataExemption webDataExemption)
-
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 BusinessLineInfo
-
fromJson
public static BusinessLineInfo fromJson(String jsonString) throws IOException
Create an instance of BusinessLineInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BusinessLineInfo
- Throws:
IOException- if the JSON string is invalid with respect to BusinessLineInfo
-
toJson
public String toJson()
Convert an instance of BusinessLineInfo to an JSON string- Returns:
- JSON string
-
-