Class CompanySupplier
java.lang.Object
travel.wink.sdk.affiliate.model.CompanySupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-03T14:56:24.064085055+07:00[Asia/Bangkok]")
public class CompanySupplier
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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManagersItem(CompanyUserSupplier managersItem) addOnlinePresenceItem(OnlinePresenceSupplier onlinePresenceItem) address(AddressSupplier address) annualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) companyType(CompanySupplier.CompanyTypeEnum companyType) description(String description) boolean@NotNull @Valid AddressSupplierGet address@Valid CustomMonetaryAmountGet annualTravelSpendInDollars@NotNull BooleanWhether this company has been approved by KYC.@NotNull CompanySupplier.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 SimpleMultimediaSuppliergetLogo()Get logo@Valid ManagedByEntitySupplierGet managedBy@Valid @Size(min=0,max=30) List<CompanyUserSupplier> Get managers@NotNull StringgetName()Name of company@Valid List<OnlinePresenceSupplier> Get onlinePresence@NotNull @Valid CompanyUserSuppliergetOwner()Get owner@Valid TravelAgentSupplierGet travelAgent@NotNull CompanySupplier.TypeEnumgetType()Type of sales channel@NotNull StringUrl slug of company name@NotNull @Valid UUIDUser or Registered client owner identifier that created this recordinthashCode()identifier(UUID identifier) logo(SimpleMultimediaSupplier logo) managedBy(ManagedByEntitySupplier managedBy) managers(List<CompanyUserSupplier> managers) onlinePresence(List<OnlinePresenceSupplier> onlinePresence) owner(CompanyUserSupplier owner) voidsetAddress(AddressSupplier address) voidsetAnnualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) voidsetApproved(Boolean approved) voidsetCompanyType(CompanySupplier.CompanyTypeEnum companyType) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidsetIdentifier(UUID identifier) voidsetLegalName(String legalName) voidvoidsetManagedBy(ManagedByEntitySupplier managedBy) voidsetManagers(List<CompanyUserSupplier> managers) voidvoidsetOnlinePresence(List<OnlinePresenceSupplier> onlinePresence) voidsetOwner(CompanyUserSupplier owner) voidsetTravelAgent(TravelAgentSupplier travelAgent) voidvoidsetUrlName(String urlName) voidsetUserIdentifier(UUID userIdentifier) toString()travelAgent(TravelAgentSupplier travelAgent) type(CompanySupplier.TypeEnum type) 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_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_MANAGERS
- See Also:
-
JSON_PROPERTY_LOGO
- See Also:
-
JSON_PROPERTY_TRAVEL_AGENT
- See Also:
-
JSON_PROPERTY_MANAGED_BY
- See Also:
-
JSON_PROPERTY_ONLINE_PRESENCE
- See Also:
-
JSON_PROPERTY_ANNUAL_TRAVEL_SPEND_IN_DOLLARS
- See Also:
-
-
Constructor Details
-
CompanySupplier
public CompanySupplier()
-
-
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
-
description
-
getDescription
-
setDescription
-
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<CompanyUserSupplier> getManagers()Get managers- Returns:
- managers
-
setManagers
-
logo
-
getLogo
-
setLogo
-
travelAgent
-
getTravelAgent
Get travelAgent- Returns:
- travelAgent
-
setTravelAgent
-
managedBy
-
getManagedBy
Get managedBy- Returns:
- managedBy
-
setManagedBy
-
onlinePresence
-
addOnlinePresenceItem
-
getOnlinePresence
Get onlinePresence- Returns:
- onlinePresence
-
setOnlinePresence
-
annualTravelSpendInDollars
-
getAnnualTravelSpendInDollars
Get annualTravelSpendInDollars- Returns:
- annualTravelSpendInDollars
-
setAnnualTravelSpendInDollars
-
equals
-
hashCode
-
toString
-