Class CreateCompanyRequestAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.CreateCompanyRequestAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-03-04T20:44:47.458177582+07:00[Asia/Bangkok]")
public class CreateCompanyRequestAffiliate
extends Object
CreateCompanyRequestAffiliate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of companystatic enumType of company -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOnlinePresenceItem(OnlinePresenceAffiliate onlinePresenceItem) annualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) cityGeoNameId(String cityGeoNameId) companyType(CreateCompanyRequestAffiliate.CompanyTypeEnum companyType) description(String description) boolean@Valid CustomMonetaryAmountGet annualTravelSpendInDollars@NotNull StringCity geo name IDType of companyA personal message from the company.Legal name of entity if other than name@NotNull StringgetName()Name of company@Valid List<OnlinePresenceAffiliate> Get onlinePresenceIf the company type is travel agent, this object will be filled out too.getType()Type of companyinthashCode()onlinePresence(List<OnlinePresenceAffiliate> onlinePresence) voidsetAnnualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) voidsetCityGeoNameId(String cityGeoNameId) voidvoidsetDescription(String description) voidsetLegalName(String legalName) voidvoidsetOnlinePresence(List<OnlinePresenceAffiliate> onlinePresence) voidsetTravelAgent(Object travelAgent) voidtoString()travelAgent(Object travelAgent)
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_COMPANY_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_CITY_GEO_NAME_ID
- See Also:
-
JSON_PROPERTY_TRAVEL_AGENT
- See Also:
-
JSON_PROPERTY_ONLINE_PRESENCE
- See Also:
-
JSON_PROPERTY_ANNUAL_TRAVEL_SPEND_IN_DOLLARS
- See Also:
-
-
Constructor Details
-
CreateCompanyRequestAffiliate
public CreateCompanyRequestAffiliate()
-
-
Method Details
-
name
-
getName
-
setName
-
legalName
-
getLegalName
-
setLegalName
-
companyType
public CreateCompanyRequestAffiliate companyType(CreateCompanyRequestAffiliate.CompanyTypeEnum companyType) -
getCompanyType
Type of company- Returns:
- companyType
-
setCompanyType
-
type
-
getType
Type of company- Returns:
- type
-
setType
-
description
-
getDescription
-
setDescription
-
cityGeoNameId
-
getCityGeoNameId
-
setCityGeoNameId
-
travelAgent
-
getTravelAgent
If the company type is travel agent, this object will be filled out too.- Returns:
- travelAgent
-
setTravelAgent
-
onlinePresence
-
addOnlinePresenceItem
public CreateCompanyRequestAffiliate addOnlinePresenceItem(OnlinePresenceAffiliate onlinePresenceItem) -
getOnlinePresence
Get onlinePresence- Returns:
- onlinePresence
-
setOnlinePresence
-
annualTravelSpendInDollars
public CreateCompanyRequestAffiliate annualTravelSpendInDollars(CustomMonetaryAmount annualTravelSpendInDollars) -
getAnnualTravelSpendInDollars
Get annualTravelSpendInDollars- Returns:
- annualTravelSpendInDollars
-
setAnnualTravelSpendInDollars
-
equals
-
hashCode
-
toString
-