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.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CAPABILITYstatic StringSERIALIZED_NAME_INDUSTRY_CODEstatic StringSERIALIZED_NAME_LEGAL_ENTITY_IDstatic StringSERIALIZED_NAME_SALES_CHANNELSstatic StringSERIALIZED_NAME_SOURCE_OF_FUNDSstatic StringSERIALIZED_NAME_WEB_DATAstatic StringSERIALIZED_NAME_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)BusinessLineInfoUpdatecapability(String capability)booleanequals(Object o)static BusinessLineInfoUpdatefromJson(String jsonString)Create an instance of BusinessLineInfoUpdate given an JSON stringStringgetCapability()The capability for which you are creating the business line.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.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)voidsetCapability(String capability)voidsetIndustryCode(String industryCode)voidsetLegalEntityId(String legalEntityId)voidsetSalesChannels(List<String> salesChannels)voidsetSourceOfFunds(SourceOfFunds sourceOfFunds)voidsetWebData(List<WebData> webData)voidsetWebDataExemption(WebDataExemption webDataExemption)BusinessLineInfoUpdatesourceOfFunds(SourceOfFunds sourceOfFunds)StringtoJson()Convert an instance of BusinessLineInfoUpdate to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundBusinessLineInfoUpdatewebData(List<WebData> webData)BusinessLineInfoUpdatewebDataExemption(WebDataExemption webDataExemption)
-
-
-
Field Detail
-
SERIALIZED_NAME_CAPABILITY
public static final String SERIALIZED_NAME_CAPABILITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INDUSTRY_CODE
public static final String SERIALIZED_NAME_INDUSTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LEGAL_ENTITY_ID
public static final String SERIALIZED_NAME_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SALES_CHANNELS
public static final String SERIALIZED_NAME_SALES_CHANNELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE_OF_FUNDS
public static final String SERIALIZED_NAME_SOURCE_OF_FUNDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEB_DATA
public static final String SERIALIZED_NAME_WEB_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEB_DATA_EXEMPTION
public static final String SERIALIZED_NAME_WEB_DATA_EXEMPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
capability
public BusinessLineInfoUpdate capability(String capability)
-
getCapability
public String getCapability()
The capability for which you are creating the business line. For example, **receivePayments**.- Returns:
- capability
-
setCapability
public void setCapability(String 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)
-
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)
-
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 `capability` to **receivePayments** or **receiveFromPlatformPayments**.- Returns:
- salesChannels
-
sourceOfFunds
public BusinessLineInfoUpdate sourceOfFunds(SourceOfFunds sourceOfFunds)
-
getSourceOfFunds
public SourceOfFunds getSourceOfFunds()
Get sourceOfFunds- Returns:
- sourceOfFunds
-
setSourceOfFunds
public void setSourceOfFunds(SourceOfFunds 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 capability but your user does not have an online presence, provide the reason in the `webDataExemption` object.- Returns:
- webData
-
webDataExemption
public BusinessLineInfoUpdate webDataExemption(WebDataExemption webDataExemption)
-
getWebDataExemption
public WebDataExemption getWebDataExemption()
Get webDataExemption- Returns:
- webDataExemption
-
setWebDataExemption
public void setWebDataExemption(WebDataExemption webDataExemption)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to BusinessLineInfoUpdate
-
fromJson
public static BusinessLineInfoUpdate fromJson(String jsonString) throws IOException
Create an instance of BusinessLineInfoUpdate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BusinessLineInfoUpdate
- Throws:
IOException- if the JSON string is invalid with respect to BusinessLineInfoUpdate
-
toJson
public String toJson()
Convert an instance of BusinessLineInfoUpdate to an JSON string- Returns:
- JSON string
-
-