Class CompanyAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.CompanyAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-12-27T09:34:29.532077319+07:00[Asia/Bangkok]")
public class CompanyAffiliate
extends Object
A Company is our definition of a sales channel / affiliate. A property also has a company record.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of companystatic enumType of sales channel -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManagersItem(CompanyUserAffiliate managersItem) address(AddressAffiliate address) addUrlsItem(String urlsItem) companyType(CompanyAffiliate.CompanyTypeEnum companyType) description(String description) boolean@NotNull @Valid AddressAffiliateGet address@NotNull BooleanWhether this company has been approved by KYC.@NotNull CompanyAffiliate.CompanyTypeEnumType of companyA personal message from the company.@NotNull BooleanWhether this company is enabled by reactive.@NotNull @Valid UUIDUnique identifierLegal name of entity if other than name@Valid SimpleMultimediaAffiliategetLogo()Get logo@Valid @Size(min=0,max=30) List<CompanyUserAffiliate> Get managers@NotNull StringgetName()Name of company@NotNull @Valid CompanyUserAffiliategetOwner()Get owner@NotNull CompanyAffiliate.TypeEnumgetType()Type of sales channel@NotNull StringgetUrl()Company's main website@NotNull StringUrl slug of company namegetUrls()List of all active accounts that could be used for selling or seeing a company's reach.@NotNull @Valid UUIDUser or Registered client owner identifier that created this record@NotNull StringgetVatID()An optional VAT IDinthashCode()identifier(UUID identifier) managers(List<CompanyUserAffiliate> managers) owner(CompanyUserAffiliate owner) voidsetAddress(AddressAffiliate address) voidsetApproved(Boolean approved) voidsetCompanyType(CompanyAffiliate.CompanyTypeEnum companyType) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidsetIdentifier(UUID identifier) voidsetLegalName(String legalName) voidvoidsetManagers(List<CompanyUserAffiliate> managers) voidvoidsetOwner(CompanyUserAffiliate owner) voidvoidvoidsetUrlName(String urlName) voidvoidsetUserIdentifier(UUID userIdentifier) voidtoString()userIdentifier(UUID userIdentifier)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_USER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_OWNER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_URL_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_APPROVED
- 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_MANAGERS
- See Also:
-
JSON_PROPERTY_URLS
- See Also:
-
JSON_PROPERTY_LOGO
- See Also:
-
-
Constructor Details
-
CompanyAffiliate
public CompanyAffiliate()
-
-
Method Details
-
identifier
-
getIdentifier
Unique identifier- Returns:
- identifier
-
setIdentifier
-
userIdentifier
-
getUserIdentifier
User or Registered client owner identifier that created this record- Returns:
- userIdentifier
-
setUserIdentifier
-
owner
-
getOwner
Get owner- Returns:
- owner
-
setOwner
-
name
-
getName
-
setName
-
urlName
-
getUrlName
-
setUrlName
-
legalName
-
getLegalName
-
setLegalName
-
enabled
-
getEnabled
Whether this company is enabled by reactive.- Returns:
- enabled
-
setEnabled
-
approved
-
getApproved
Whether this company has been approved by KYC.- Returns:
- approved
-
setApproved
-
companyType
-
getCompanyType
Type of company- Returns:
- companyType
-
setCompanyType
-
type
-
getType
Type of sales channel- Returns:
- type
-
setType
-
vatID
-
getVatID
-
setVatID
-
description
-
getDescription
-
setDescription
-
url
-
getUrl
-
setUrl
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
managers
-
addManagersItem
-
getManagers
@Nullable @Valid @Size(min=0, max=30) public @Valid @Size(min=0,max=30) List<CompanyUserAffiliate> getManagers()Get managers- Returns:
- managers
-
setManagers
-
urls
-
addUrlsItem
-
getUrls
-
setUrls
-
logo
-
getLogo
-
setLogo
-
equals
-
hashCode
-
toString
-