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.CapabilityEnumThe capability for which you are creating the business line.static classBusinessLineInfo.ServiceEnumThe service for which you are creating the business line.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAPABILITYstatic StringJSON_PROPERTY_INDUSTRY_CODEstatic StringJSON_PROPERTY_LEGAL_ENTITY_IDstatic 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 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(BusinessLineInfo.CapabilityEnum capability)Deprecated.since Legal Entity Management API v3 Use `service` instead.booleanequals(Object o)Return true if this BusinessLineInfo object is equal to o.static BusinessLineInfofromJson(String jsonString)Create an instance of BusinessLineInfo given an JSON stringBusinessLineInfo.CapabilityEnumgetCapability()Deprecated.since Legal Entity Management API v3 Use `service` instead.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<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()sourceOfFundsList<WebData>getWebData()List of website URLs where your user's goods or services are sold.WebDataExemptiongetWebDataExemption()webDataExemptioninthashCode()BusinessLineInfoindustryCode(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).BusinessLineInfolegalEntityId(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.BusinessLineInfosalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.BusinessLineInfoservice(BusinessLineInfo.ServiceEnum service)The service for which you are creating the business line.voidsetCapability(BusinessLineInfo.CapabilityEnum capability)Deprecated.since Legal Entity Management API v3 Use `service` instead.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.voidsetSalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.voidsetService(BusinessLineInfo.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)webDataExemptionBusinessLineInfosourceOfFunds(SourceOfFunds sourceOfFunds)sourceOfFundsStringtoJson()Convert an instance of BusinessLineInfo to an JSON stringStringtoString()BusinessLineInfowebData(List<WebData> webData)List of website URLs where your user's goods or services are sold.BusinessLineInfowebDataExemption(WebDataExemption webDataExemption)webDataExemption
-
-
-
Field Detail
-
JSON_PROPERTY_CAPABILITY
public static final String JSON_PROPERTY_CAPABILITY
- 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_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 BusinessLineInfo capability(BusinessLineInfo.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
BusinessLineInfoinstance, allowing for method chaining
-
getCapability
@Deprecated public BusinessLineInfo.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(BusinessLineInfo.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-
-
industryCode
public BusinessLineInfo 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
BusinessLineInfoinstance, 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 BusinessLineInfo 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
BusinessLineInfoinstance, 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-
-
salesChannels
public BusinessLineInfo 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
BusinessLineInfoinstance, allowing for method chaining
-
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
-
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 BusinessLineInfo service(BusinessLineInfo.ServiceEnum service)
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Parameters:
service-- Returns:
- the current
BusinessLineInfoinstance, allowing for method chaining
-
getService
public BusinessLineInfo.ServiceEnum getService()
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Returns:
- service
-
setService
public void setService(BusinessLineInfo.ServiceEnum service)
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Parameters:
service-
-
sourceOfFunds
public BusinessLineInfo sourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-- Returns:
- the current
BusinessLineInfoinstance, allowing for method chaining
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
sourceOfFunds- Returns:
- sourceOfFunds
-
setSourceOfFunds
public void setSourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-
-
webData
public BusinessLineInfo 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
BusinessLineInfoinstance, allowing for method chaining
-
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
-
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 BusinessLineInfo webDataExemption(WebDataExemption webDataExemption)
webDataExemption- Parameters:
webDataExemption-- Returns:
- the current
BusinessLineInfoinstance, 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 BusinessLineInfo object is equal to o.
-
fromJson
public static BusinessLineInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BusinessLineInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BusinessLineInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BusinessLineInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BusinessLineInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-