Class BusinessLine
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.BusinessLine
-
public class BusinessLine extends Object
BusinessLine
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBusinessLine.CapabilityEnumThe capability for which you are creating the business line.static classBusinessLine.ServiceEnumThe service for which you are creating the business line.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAPABILITYstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_INDUSTRY_CODEstatic StringJSON_PROPERTY_LEGAL_ENTITY_IDstatic StringJSON_PROPERTY_PROBLEMSstatic StringJSON_PROPERTY_SALES_CHANNELSstatic StringJSON_PROPERTY_SERVICEstatic StringJSON_PROPERTY_SOURCE_OF_FUNDSstatic StringJSON_PROPERTY_WEB_DATAstatic StringJSON_PROPERTY_WEB_DATA_EXEMPTION
-
Constructor Summary
Constructors Constructor Description BusinessLine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BusinessLineaddProblemsItem(CapabilityProblem problemsItem)BusinessLineaddSalesChannelsItem(String salesChannelsItem)BusinessLineaddWebDataItem(WebData webDataItem)BusinessLinecapability(BusinessLine.CapabilityEnum capability)Deprecated.since Legal Entity Management API v3 Use `service` instead.booleanequals(Object o)Return true if this BusinessLine object is equal to o.static BusinessLinefromJson(String jsonString)Create an instance of BusinessLine given an JSON stringBusinessLine.CapabilityEnumgetCapability()Deprecated.since Legal Entity Management API v3 Use `service` instead.StringgetId()The unique identifier of the business line.StringgetIndustryCode()A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes).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<CapabilityProblem>getProblems()The verification errors related to capabilities for this supporting entity.List<String>getSalesChannels()A list of channels where goods or services are sold.BusinessLine.ServiceEnumgetService()The service for which you are creating the business line.SourceOfFundsgetSourceOfFunds()sourceOfFundsList<WebData>getWebData()List of website URLs where your user's goods or services are sold.WebDataExemptiongetWebDataExemption()webDataExemptioninthashCode()BusinessLineid(String id)The unique identifier of the business line.BusinessLineindustryCode(String industryCode)A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes).BusinessLinelegalEntityId(String legalEntityId)Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.BusinessLineproblems(List<CapabilityProblem> problems)The verification errors related to capabilities for this supporting entity.BusinessLinesalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.BusinessLineservice(BusinessLine.ServiceEnum service)The service for which you are creating the business line.voidsetCapability(BusinessLine.CapabilityEnum capability)Deprecated.since Legal Entity Management API v3 Use `service` instead.voidsetId(String id)The unique identifier of the business line.voidsetIndustryCode(String industryCode)A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes).voidsetLegalEntityId(String legalEntityId)Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.voidsetProblems(List<CapabilityProblem> problems)The verification errors related to capabilities for this supporting entity.voidsetSalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.voidsetService(BusinessLine.ServiceEnum service)The service for which you are creating the business line.voidsetSourceOfFunds(SourceOfFunds sourceOfFunds)sourceOfFundsvoidsetWebData(List<WebData> webData)List of website URLs where your user's goods or services are sold.voidsetWebDataExemption(WebDataExemption webDataExemption)webDataExemptionBusinessLinesourceOfFunds(SourceOfFunds sourceOfFunds)sourceOfFundsStringtoJson()Convert an instance of BusinessLine to an JSON stringStringtoString()BusinessLinewebData(List<WebData> webData)List of website URLs where your user's goods or services are sold.BusinessLinewebDataExemption(WebDataExemption webDataExemption)webDataExemption
-
-
-
Field Detail
-
JSON_PROPERTY_CAPABILITY
public static final String JSON_PROPERTY_CAPABILITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INDUSTRY_CODE
public static final String JSON_PROPERTY_INDUSTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ENTITY_ID
public static final String JSON_PROPERTY_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROBLEMS
public static final String JSON_PROPERTY_PROBLEMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SALES_CHANNELS
public static final String JSON_PROPERTY_SALES_CHANNELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVICE
public static final String JSON_PROPERTY_SERVICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_OF_FUNDS
public static final String JSON_PROPERTY_SOURCE_OF_FUNDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_DATA
public static final String JSON_PROPERTY_WEB_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_DATA_EXEMPTION
public static final String JSON_PROPERTY_WEB_DATA_EXEMPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
capability
@Deprecated public BusinessLine capability(BusinessLine.CapabilityEnum capability)
Deprecated.since Legal Entity Management API v3 Use `service` instead.The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount**- Parameters:
capability-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
getCapability
@Deprecated public BusinessLine.CapabilityEnum getCapability()
Deprecated.since Legal Entity Management API v3 Use `service` instead.The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount**- Returns:
- capability
-
setCapability
@Deprecated public void setCapability(BusinessLine.CapabilityEnum capability)
Deprecated.since Legal Entity Management API v3 Use `service` instead.The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount**- Parameters:
capability-
-
id
public BusinessLine id(String id)
The unique identifier of the business line.- Parameters:
id-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the business line.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the business line.- Parameters:
id-
-
industryCode
public BusinessLine industryCode(String industryCode)
A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.- Parameters:
industryCode-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
getIndustryCode
public String getIndustryCode()
A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.- Returns:
- industryCode
-
setIndustryCode
public void setIndustryCode(String industryCode)
A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.- Parameters:
industryCode-
-
legalEntityId
public BusinessLine legalEntityId(String legalEntityId)
Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.- Parameters:
legalEntityId-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
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)
Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.- Parameters:
legalEntityId-
-
problems
public BusinessLine problems(List<CapabilityProblem> problems)
The verification errors related to capabilities for this supporting entity.- Parameters:
problems-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
addProblemsItem
public BusinessLine addProblemsItem(CapabilityProblem problemsItem)
-
getProblems
public List<CapabilityProblem> getProblems()
The verification errors related to capabilities for this supporting entity.- Returns:
- problems
-
setProblems
public void setProblems(List<CapabilityProblem> problems)
The verification errors related to capabilities for this supporting entity.- Parameters:
problems-
-
salesChannels
public BusinessLine salesChannels(List<String> salesChannels)
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**.- Parameters:
salesChannels-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
addSalesChannelsItem
public BusinessLine 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
-
setSalesChannels
public void setSalesChannels(List<String> salesChannels)
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**.- Parameters:
salesChannels-
-
service
public BusinessLine service(BusinessLine.ServiceEnum service)
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Parameters:
service-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
getService
public BusinessLine.ServiceEnum getService()
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Returns:
- service
-
setService
public void setService(BusinessLine.ServiceEnum service)
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Parameters:
service-
-
sourceOfFunds
public BusinessLine sourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
sourceOfFunds- Returns:
- sourceOfFunds
-
setSourceOfFunds
public void setSourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-
-
webData
public BusinessLine webData(List<WebData> webData)
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.- Parameters:
webData-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
addWebDataItem
public BusinessLine 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
-
setWebData
public void setWebData(List<WebData> webData)
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.- Parameters:
webData-
-
webDataExemption
public BusinessLine webDataExemption(WebDataExemption webDataExemption)
webDataExemption- Parameters:
webDataExemption-- Returns:
- the current
BusinessLineinstance, allowing for method chaining
-
getWebDataExemption
public WebDataExemption getWebDataExemption()
webDataExemption- Returns:
- webDataExemption
-
setWebDataExemption
public void setWebDataExemption(WebDataExemption webDataExemption)
webDataExemption- Parameters:
webDataExemption-
-
equals
public boolean equals(Object o)
Return true if this BusinessLine object is equal to o.
-
fromJson
public static BusinessLine fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BusinessLine given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BusinessLine
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BusinessLine
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BusinessLine to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-