Class CreateCompanyRequestAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.CreateCompanyRequestAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-12-27T09:34:29.532077319+07:00[Asia/Bangkok]")
public class CreateCompanyRequestAffiliate
extends Object
CreateCompanyRequestAffiliate
-
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(CreateCompanyRequestAffiliate.CompanyTypeEnum companyType) description(String description) boolean@NotNull StringCity geo name IDType of companyA personal message from the company.Legal name of entity if other than name@NotNull StringgetName()Name of companyIf the company type is travel agent, this object will be filled out too.getType()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) voidvoidsetDescription(String description) voidsetLegalName(String legalName) voidvoidsetTravelAgent(Object travelAgent) voidvoidvoidvoidtoString()travelAgent(Object travelAgent)
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_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:
-
JSON_PROPERTY_TRAVEL_AGENT
- See Also:
-
-
Constructor Details
-
CreateCompanyRequestAffiliate
public CreateCompanyRequestAffiliate()
-
-
Method Details
-
name
-
getName
-
setName
-
legalName
-
getLegalName
-
setLegalName
-
companyType
public CreateCompanyRequestAffiliate companyType(CreateCompanyRequestAffiliate.CompanyTypeEnum companyType) -
getCompanyType
Type of company- Returns:
- companyType
-
setCompanyType
-
type
-
getType
Type of company- Returns:
- type
-
setType
-
vatID
-
getVatID
-
setVatID
-
description
-
getDescription
-
setDescription
-
url
-
getUrl
-
setUrl
-
cityGeoNameId
-
getCityGeoNameId
-
setCityGeoNameId
-
urls
-
addUrlsItem
-
getUrls
-
setUrls
-
travelAgent
-
getTravelAgent
If the company type is travel agent, this object will be filled out too.- Returns:
- travelAgent
-
setTravelAgent
-
equals
-
hashCode
-
toString
-