Package travel.wink.sdk.affiliate.model
Class UpsertCompanyRequestAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.UpsertCompanyRequestAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-27T09:54:22.092689314+07:00[Asia/Bangkok]")
public class UpsertCompanyRequestAffiliate
extends Object
UpsertCompanyRequestAffiliate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of companystatic enumType of company -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(UpsertAddressRequestAffiliate address) addUrlsItem(String urlsItem) companyType(UpsertCompanyRequestAffiliate.CompanyTypeEnum companyType) description(String description) boolean@NotNull @Valid UpsertAddressRequestAffiliateGet addressType of companyA personal message from the company.Legal name of entity if other than name@NotNull StringgetName()Name of companygetType()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()voidsetAddress(UpsertAddressRequestAffiliate address) voidvoidsetDescription(String description) voidsetLegalName(String legalName) voidvoidvoidvoidvoidtoString()
-
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_ADDRESS
- See Also:
-
JSON_PROPERTY_URLS
- See Also:
-
-
Constructor Details
-
UpsertCompanyRequestAffiliate
public UpsertCompanyRequestAffiliate()
-
-
Method Details
-
name
-
getName
Name of company- Returns:
- name
-
setName
-
legalName
-
getLegalName
Legal name of entity if other than name- Returns:
- legalName
-
setLegalName
-
companyType
public UpsertCompanyRequestAffiliate companyType(UpsertCompanyRequestAffiliate.CompanyTypeEnum 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
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
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
-