Package travel.wink.affiliate.model
Class UpsertCompanyRequest
java.lang.Object
travel.wink.affiliate.model.UpsertCompanyRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-24T12:58:57.697473+07:00[Asia/Bangkok]")
public class UpsertCompanyRequest
extends Object
UpsertCompanyRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of companystatic enumType of company -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUrlsItem(String urlsItem) cityGeoNameId(String cityGeoNameId) companyType(UpsertCompanyRequest.CompanyTypeEnum companyType) description(String description) boolean@NotNull StringCompany location@NotNull UpsertCompanyRequest.CompanyTypeEnumType of companyA personal message from the company.@NotNull StringgetName()Name of company@NotNull UpsertCompanyRequest.TypeEnumgetType()Type of company@NotNull StringgetUrl()Company's main websitegetUrls()List of all active accounts that could be used for selling or seeing a company's reach.@NotNull StringgetVatID()A VAT id if requiredinthashCode()voidsetCityGeoNameId(String cityGeoNameId) voidsetCompanyType(UpsertCompanyRequest.CompanyTypeEnum companyType) voidsetDescription(String description) voidvoidvoidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_COMPANY_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VAT_I_D
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_CITY_GEO_NAME_ID
- See Also:
-
JSON_PROPERTY_URLS
- See Also:
-
-
Constructor Details
-
UpsertCompanyRequest
public UpsertCompanyRequest()
-
-
Method Details
-
name
-
getName
Name of company- Returns:
- name
-
setName
-
companyType
-
getCompanyType
Type of company- Returns:
- companyType
-
setCompanyType
-
type
-
getType
Type of company- Returns:
- type
-
setType
-
vatID
-
getVatID
A VAT id if required- Returns:
- vatID
-
setVatID
-
description
-
getDescription
A personal message from the company.- Returns:
- description
-
setDescription
-
url
-
getUrl
Company's main website- Returns:
- url
-
setUrl
-
cityGeoNameId
-
getCityGeoNameId
Company location- Returns:
- cityGeoNameId
-
setCityGeoNameId
-
urls
-
addUrlsItem
-
getUrls
List of all active accounts that could be used for selling or seeing a company's reach.- Returns:
- urls
-
setUrls
-
equals
-
hashCode
public int hashCode() -
toString
-