Package travel.wink.sdk.affiliate.model
Class Company
java.lang.Object
travel.wink.sdk.affiliate.model.Company
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:47:12.254493+07:00[Asia/Bangkok]")
public class Company
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManagersItem(CompanyUser managersItem) addUrlsItem(String urlsItem) companyType(Company.CompanyTypeEnum companyType) description(String description) boolean@NotNull BooleanWhether this company has been approved by KYC.@NotNull @Valid GeoNamegetCity()Get city@NotNull Company.CompanyTypeEnumType of companyA personal message from the company.@NotNull BooleanWhether this company is enabled by platform.@NotNull StringUnique identifier@NotNull BooleanWhether invite email has been sent.@Valid List<CompanyUser>Get managers@NotNull StringgetName()Name of company@NotNull @Valid CompanyUsergetOwner()Get owner@NotNull Company.TypeEnumgetType()Type of sales channel@NotNull StringgetUrl()Company's main websitegetUrls()List of all active accounts that could be used for selling or seeing a company's reach.Get userIdentifier@NotNull StringgetVatID()A VAT id if requiredinthashCode()identifier(String identifier) inviteSent(Boolean inviteSent) managers(List<CompanyUser> managers) owner(CompanyUser owner) voidsetApproved(Boolean approved) voidvoidsetCompanyType(Company.CompanyTypeEnum companyType) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidsetIdentifier(String identifier) voidsetInviteSent(Boolean inviteSent) voidsetManagers(List<CompanyUser> managers) voidvoidsetOwner(CompanyUser owner) voidsetType(Company.TypeEnum type) voidvoidvoidsetUserIdentifier(String userIdentifier) voidtoString()type(Company.TypeEnum type) userIdentifier(String 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_ENABLED
- See Also:
-
JSON_PROPERTY_APPROVED
- See Also:
-
JSON_PROPERTY_INVITE_SENT
- 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
- See Also:
-
JSON_PROPERTY_MANAGERS
- See Also:
-
JSON_PROPERTY_URLS
- See Also:
-
-
Constructor Details
-
Company
public Company()
-
-
Method Details
-
identifier
-
getIdentifier
Unique identifier- Returns:
- identifier
-
setIdentifier
-
userIdentifier
-
getUserIdentifier
Get userIdentifier- Returns:
- userIdentifier
-
setUserIdentifier
-
owner
-
getOwner
Get owner- Returns:
- owner
-
setOwner
-
name
-
getName
Name of company- Returns:
- name
-
setName
-
enabled
-
getEnabled
Whether this company is enabled by platform.- Returns:
- enabled
-
setEnabled
-
approved
-
getApproved
Whether this company has been approved by KYC.- Returns:
- approved
-
setApproved
-
inviteSent
-
getInviteSent
Whether invite email has been sent. Only required for countries we do KYC in. E.g. U.S.- Returns:
- inviteSent
-
setInviteSent
-
companyType
-
getCompanyType
Type of company- Returns:
- companyType
-
setCompanyType
-
type
-
getType
Type of sales channel- 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
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
managers
-
addManagersItem
-
getManagers
Get managers- Returns:
- managers
-
setManagers
-
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
-