Class AffiliateAccountAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.AffiliateAccountAffiliate
@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 AffiliateAccountAffiliate
extends Object
AffiliateAccountAffiliate
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManagersItem(AffiliateAccountUserAffiliate managersItem) addOnlinePresenceItem(Object onlinePresenceItem) addPlansItem(Object plansItem) addPreviousUrlNameListItem(Object previousUrlNameListItem) address(AddressAffiliate address) annualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) companyType(AffiliateAccountAffiliate.CompanyTypeEnum companyType) createdDate(LocalDateTime createdDate) description(String description) boolean@NotNull @Valid AddressAffiliateGet 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 SimpleMultimediaAffiliategetLogo()Customize account with a custom logo / profile picture.@Valid ManagedByEntityAffiliateIf 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 AffiliateAccountUserAffiliate> Get managers@NotNull @Size(min=1) StringgetName()Name of companyGet onlinePresence@NotNull @Valid AffiliateAccountUserAffiliategetOwner()OwnergetPlans()Get plansGet previousUrlNameList@NotNull AffiliateAccountAffiliate.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) managedBy(ManagedByEntityAffiliate managedBy) managers(List<@Valid AffiliateAccountUserAffiliate> managers) onlinePresence(List<Object> onlinePresence) previousUrlNameList(List<Object> previousUrlNameList) voidsetAddress(AddressAffiliate address) voidsetAnnualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) voidsetApproved(Boolean approved) voidsetCompanyType(AffiliateAccountAffiliate.CompanyTypeEnum companyType) voidsetCreatedDate(LocalDateTime createdDate) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetLegalName(String legalName) voidvoidsetManagedBy(ManagedByEntityAffiliate managedBy) voidsetManagers(List<@Valid AffiliateAccountUserAffiliate> managers) voidvoidsetOnlinePresence(List<Object> onlinePresence) voidvoidvoidsetPreviousUrlNameList(List<Object> previousUrlNameList) voidvoidsetUrlName(String urlName) voidsetUserIdentifier(UUID userIdentifier) voidsetVersion(Long version) toString()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_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
-
AffiliateAccountAffiliate
public AffiliateAccountAffiliate()
-
-
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 AffiliateAccountAffiliate companyType(@Nonnull AffiliateAccountAffiliate.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 AffiliateAccountAffiliate managers(@Nullable List<@Valid AffiliateAccountUserAffiliate> managers) -
addManagersItem
-
getManagers
@Nullable @Valid @Size(min=0, max=30) public @Valid @Size(min=0,max=30) List<@Valid AffiliateAccountUserAffiliate> getManagers()Get managers- Returns:
- managers
-
setManagers
-
logo
-
getLogo
Customize account with a custom logo / profile picture.- Returns:
- logo
-
setLogo
-
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 AffiliateAccountAffiliate 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
-