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_INDUSTRY_CODE_DESCRIPTIONstatic StringJSON_PROPERTY_SALES_CHANNELSstatic StringJSON_PROPERTY_SOURCE_OF_FUNDSstatic StringJSON_PROPERTY_WEB_DATAstatic StringJSON_PROPERTY_WEB_DATA_EXEMPTION
-
Constructor Summary
Constructors Constructor Description BusinessLineInfoUpdate()BusinessLineInfoUpdate(String industryCodeDescription)
-
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 stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetIndustryCode()A code that represents the industry of your legal entity.StringgetIndustryCodeDescription()The description of the industry code.List<String>getSalesChannels()A list of channels where goods or services are sold.SourceOfFundsgetSourceOfFunds()Get sourceOfFundsList<WebData>getWebData()List of website URLs where your user's goods or services are sold.WebDataExemptiongetWebDataExemption()Get webDataExemptioninthashCode()BusinessLineInfoUpdateincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.BusinessLineInfoUpdateindustryCode(String industryCode)A code that represents the industry of your legal entity.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.BusinessLineInfoUpdatesalesChannels(List<String> salesChannels)A list of channels where goods or services are sold.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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_INDUSTRY_CODE_DESCRIPTION
public static final String JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION
- 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
-
-
Constructor Detail
-
BusinessLineInfoUpdate
public BusinessLineInfoUpdate()
-
BusinessLineInfoUpdate
public BusinessLineInfoUpdate(String industryCodeDescription)
-
-
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- A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.- 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 A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.
-
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- A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.
-
getIndustryCodeDescription
public String getIndustryCodeDescription()
The description of the industry code.- Returns:
- industryCodeDescription The description of the industry code.
-
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- 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:
- 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 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**.
-
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- 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**.
-
sourceOfFunds
public BusinessLineInfoUpdate sourceOfFunds(SourceOfFunds sourceOfFunds)
sourceOfFunds- Parameters:
sourceOfFunds-- Returns:
- the current
BusinessLineInfoUpdateinstance, allowing for method chaining
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
Get 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- 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:
- 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 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.
-
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- 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.
-
webDataExemption
public BusinessLineInfoUpdate webDataExemption(WebDataExemption webDataExemption)
webDataExemption- Parameters:
webDataExemption-- Returns:
- the current
BusinessLineInfoUpdateinstance, allowing for method chaining
-
getWebDataExemption
public WebDataExemption getWebDataExemption()
Get webDataExemption- Returns:
- webDataExemption
-
setWebDataExemption
public void setWebDataExemption(WebDataExemption webDataExemption)
webDataExemption- Parameters:
webDataExemption-
-
includeNullValues
public BusinessLineInfoUpdate includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this BusinessLineInfoUpdate object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-