Class AffiliateAccountSupplier
java.lang.Object
travel.wink.sdk.affiliate.model.AffiliateAccountSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:15:21.456735702+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class AffiliateAccountSupplier
extends Object
AffiliateAccountSupplier
-
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManagersItem(AffiliateAccountUserSupplier managersItem) addOnlinePresenceItem(Object onlinePresenceItem) addPlansItem(Object plansItem) addPreviousUrlNameListItem(Object previousUrlNameListItem) address(AddressSupplier address) annualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) companyType(AffiliateAccountSupplier.CompanyTypeEnum companyType) createdDate(LocalDateTime createdDate) description(String description) boolean@NotNull @Valid AddressSupplierGet address@Valid CustomMonetaryAmountHow much user or company spends on travel per year.@NotNull BooleanWhether this company has been approved by KYC.Type of companyDatetime this record was first createdA personal message from the company.@NotNull BooleanWhether this company is enabled by reactive.getId()Document UUIDDatetime this record was last updatedLegal name of entity if other than name@Valid SimpleMultimediaSuppliergetLogo()Customize account with a custom logo / profile picture.@Valid ManagedByEntitySupplierIf another company entity is managing this property, on behalf of the property, it can be specified here and the managing entity would be applicable a management fee on every booking.@Valid @Size(min=0,max=30) List<@Valid AffiliateAccountUserSupplier> Get managers@NotNull @Size(min=1) StringgetName()Name of companyGet onlinePresence@NotNull @Valid AffiliateAccountUserSuppliergetOwner()OwnergetPlans()Get plansGet previousUrlNameList@Valid TravelAgentSupplierCustomize account with a custom logo / profile picture.@NotNull AffiliateAccountSupplier.TypeEnumgetType()Type of sales channel@NotNull @Size(min=1) StringUrl slug of company name@NotNull @Valid @Size(min=1) UUIDUser or Registered client owner identifier that created this recordVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) logo(SimpleMultimediaSupplier logo) managedBy(ManagedByEntitySupplier managedBy) managers(List<@Valid AffiliateAccountUserSupplier> managers) onlinePresence(List<Object> onlinePresence) previousUrlNameList(List<Object> previousUrlNameList) voidsetAddress(AddressSupplier address) voidsetAnnualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) voidsetApproved(Boolean approved) voidsetCompanyType(AffiliateAccountSupplier.CompanyTypeEnum companyType) voidsetCreatedDate(LocalDateTime createdDate) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetLegalName(String legalName) voidvoidsetManagedBy(ManagedByEntitySupplier managedBy) voidsetManagers(List<@Valid AffiliateAccountUserSupplier> managers) voidvoidsetOnlinePresence(List<Object> onlinePresence) voidvoidvoidsetPreviousUrlNameList(List<Object> previousUrlNameList) voidsetTravelAgent(TravelAgentSupplier travelAgent) voidvoidsetUrlName(String urlName) voidsetUserIdentifier(UUID userIdentifier) voidsetVersion(Long version) toString()travelAgent(TravelAgentSupplier travelAgent) userIdentifier(UUID userIdentifier)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- 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:
-
JSON_PROPERTY_PLANS
- See Also:
-
JSON_PROPERTY_PREVIOUS_URL_NAME_LIST
- See Also:
-
-
Constructor Details
-
AffiliateAccountSupplier
public AffiliateAccountSupplier()
-
-
Method Details
-
id
-
getId
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
userIdentifier
-
getUserIdentifier
User or Registered client owner identifier that created this record- Returns:
- userIdentifier
-
setUserIdentifier
-
owner
-
getOwner
Owner- Returns:
- owner
-
setOwner
-
name
-
getName
Name of company- Returns:
- name
-
setName
-
urlName
-
getUrlName
Url slug of company name- Returns:
- urlName
-
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
public AffiliateAccountSupplier companyType(@Nonnull AffiliateAccountSupplier.CompanyTypeEnum 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
public AffiliateAccountSupplier managers(@Nullable List<@Valid AffiliateAccountUserSupplier> managers) -
addManagersItem
-
getManagers
@Nullable @Valid @Size(min=0, max=30) public @Valid @Size(min=0,max=30) List<@Valid AffiliateAccountUserSupplier> getManagers()Get managers- Returns:
- managers
-
setManagers
-
logo
-
getLogo
Customize account with a custom logo / profile picture.- Returns:
- logo
-
setLogo
-
travelAgent
-
getTravelAgent
Customize account with a custom logo / profile picture.- Returns:
- travelAgent
-
setTravelAgent
-
managedBy
-
getManagedBy
If another company entity is managing this property, on behalf of the property, it can be specified here and the managing entity would be applicable a management fee on every booking.- Returns:
- managedBy
-
setManagedBy
-
onlinePresence
-
addOnlinePresenceItem
-
getOnlinePresence
-
setOnlinePresence
-
annualTravelSpendInDollars
public AffiliateAccountSupplier annualTravelSpendInDollars(@Nullable CustomMonetaryAmount annualTravelSpendInDollars) -
getAnnualTravelSpendInDollars
How much user or company spends on travel per year.- Returns:
- annualTravelSpendInDollars
-
setAnnualTravelSpendInDollars
public void setAnnualTravelSpendInDollars(@Nullable CustomMonetaryAmount annualTravelSpendInDollars) -
plans
-
addPlansItem
-
getPlans
-
setPlans
-
previousUrlNameList
-
addPreviousUrlNameListItem
-
getPreviousUrlNameList
-
setPreviousUrlNameList
-
equals
-
hashCode
-
toString
-