Class BusinessLineInfoUpdate
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.BusinessLineInfoUpdate
-
public class BusinessLineInfoUpdate extends Object
BusinessLineInfoUpdate
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INDUSTRY_CODEstatic StringJSON_PROPERTY_SALES_CHANNELSstatic 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 Modifier and Type Method Description BusinessLineInfoUpdateaddSalesChannelsItem(String salesChannelsItem)BusinessLineInfoUpdateaddWebDataItem(WebData webDataItem)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 stringStringgetIndustryCode()A code that represents the industry of your legal entity.List<String>getSalesChannels()A list of channels where goods or services are sold.SourceOfFundsgetSourceOfFunds()sourceOfFundsList<WebData>getWebData()List of website URLs where your user's goods or services are sold.WebDataExemptiongetWebDataExemption()webDataExemptioninthashCode()BusinessLineInfoUpdateindustryCode(String industryCode)A code that represents the industry of your legal entity.BusinessLineInfoUpdatesalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.voidsetIndustryCode(String industryCode)A code that represents the industry of your legal entity.voidsetSalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.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)sourceOfFundsStringtoJson()Convert an instance of BusinessLineInfoUpdate to an JSON stringStringtoString()BusinessLineInfoUpdatewebData(List<WebData> webData)List of website URLs where your user's goods or services are sold.BusinessLineInfoUpdatewebDataExemption(WebDataExemption webDataExemption)webDataExemption
-
-
-
Field Detail
-
JSON_PROPERTY_INDUSTRY_CODE
public static final String JSON_PROPERTY_INDUSTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SALES_CHANNELS
public static final String JSON_PROPERTY_SALES_CHANNELS
- 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
-
industryCode
public BusinessLineInfoUpdate industryCode(String industryCode)
A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.- Parameters:
industryCode-- Returns:
- the current
BusinessLineInfoUpdateinstance, allowing for method chaining
-
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-
-
salesChannels
public BusinessLineInfoUpdate 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
BusinessLineInfoUpdateinstance, allowing for method chaining
-
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-
-
sourceOfFunds
public BusinessLineInfoUpdate sourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-- Returns:
- the current
BusinessLineInfoUpdateinstance, allowing for method chaining
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
sourceOfFunds- Returns:
- sourceOfFunds
-
setSourceOfFunds
public void setSourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-
-
webData
public BusinessLineInfoUpdate 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
BusinessLineInfoUpdateinstance, allowing for method chaining
-
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)
webDataExemption- Parameters:
webDataExemption-- Returns:
- the current
BusinessLineInfoUpdateinstance, 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 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
-
-