Class BusinessLineInfoUpdate
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.BusinessLineInfoUpdate
-
public class BusinessLineInfoUpdate extends Object
BusinessLineInfoUpdate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBusinessLineInfoUpdate.CapabilityEnumThe capability for which you are creating the business line.static classBusinessLineInfoUpdate.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 BusinessLineInfoUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BusinessLineInfoUpdateaddSalesChannelsItem(String salesChannelsItem)BusinessLineInfoUpdateaddWebDataItem(WebData webDataItem)BusinessLineInfoUpdatecapability(BusinessLineInfoUpdate.CapabilityEnum capability)Deprecated.booleanequals(Object o)Return true if this BusinessLineInfoUpdate object is equal to o.static BusinessLineInfoUpdatefromJson(String jsonString)Create an instance of BusinessLineInfoUpdate given an JSON stringBusinessLineInfoUpdate.CapabilityEnumgetCapability()Deprecated.StringgetIndustryCode()A code that represents the industry of your 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.BusinessLineInfoUpdate.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()BusinessLineInfoUpdateindustryCode(String industryCode)BusinessLineInfoUpdatelegalEntityId(String legalEntityId)BusinessLineInfoUpdatesalesChannels(List<String> salesChannels)BusinessLineInfoUpdateservice(BusinessLineInfoUpdate.ServiceEnum service)voidsetCapability(BusinessLineInfoUpdate.CapabilityEnum capability)Deprecated.voidsetIndustryCode(String industryCode)A code that represents the industry of your legal entity.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(BusinessLineInfoUpdate.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)webDataExemptionBusinessLineInfoUpdatesourceOfFunds(SourceOfFunds sourceOfFunds)StringtoJson()Convert an instance of BusinessLineInfoUpdate to an JSON stringStringtoString()BusinessLineInfoUpdatewebData(List<WebData> webData)BusinessLineInfoUpdatewebDataExemption(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 BusinessLineInfoUpdate capability(BusinessLineInfoUpdate.CapabilityEnum capability)
Deprecated.
-
getCapability
@Deprecated public BusinessLineInfoUpdate.CapabilityEnum getCapability()
Deprecated.The capability for which you are creating the business line. For example, **receivePayments**.- Returns:
- capability
-
setCapability
@Deprecated public void setCapability(BusinessLineInfoUpdate.CapabilityEnum capability)
Deprecated.The capability for which you are creating the business line. For example, **receivePayments**.- Parameters:
capability-
-
industryCode
public BusinessLineInfoUpdate industryCode(String industryCode)
-
getIndustryCode
public String getIndustryCode()
A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.- Returns:
- industryCode
-
setIndustryCode
public void setIndustryCode(String industryCode)
A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.- Parameters:
industryCode-
-
legalEntityId
public BusinessLineInfoUpdate 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)
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 BusinessLineInfoUpdate salesChannels(List<String> salesChannels)
-
addSalesChannelsItem
public BusinessLineInfoUpdate 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 BusinessLineInfoUpdate service(BusinessLineInfoUpdate.ServiceEnum service)
-
getService
public BusinessLineInfoUpdate.ServiceEnum getService()
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Returns:
- service
-
setService
public void setService(BusinessLineInfoUpdate.ServiceEnum service)
The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**- Parameters:
service-
-
sourceOfFunds
public BusinessLineInfoUpdate sourceOfFunds(SourceOfFunds sourceOfFunds)
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
Get sourceOfFunds- Returns:
- sourceOfFunds
-
setSourceOfFunds
public void setSourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-
-
webData
public BusinessLineInfoUpdate webData(List<WebData> webData)
-
addWebDataItem
public BusinessLineInfoUpdate 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 BusinessLineInfoUpdate webDataExemption(WebDataExemption webDataExemption)
-
getWebDataExemption
public WebDataExemption getWebDataExemption()
Get webDataExemption- Returns:
- webDataExemption
-
setWebDataExemption
public void setWebDataExemption(WebDataExemption webDataExemption)
webDataExemption- Parameters:
webDataExemption-
-
equals
public boolean equals(Object o)
Return true if this BusinessLineInfoUpdate object is equal to o.
-
fromJson
public static BusinessLineInfoUpdate fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BusinessLineInfoUpdate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BusinessLineInfoUpdate
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BusinessLineInfoUpdate
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BusinessLineInfoUpdate to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-