001package com.plivo.api.models.profile;
002import com.fasterxml.jackson.annotation.JsonInclude;
003
004import com.plivo.api.models.base.BaseResource;
005import java.util.List;
006
007@JsonInclude(JsonInclude.Include.NON_NULL)
008public class Profile extends BaseResource {
009  private String profileAlias;
010  private String customerType;
011  private String entityType;
012  private String companyName;
013  private String ein;
014  private String einIssuingCountry;
015  private ProfileAddress address;
016  private String stockSymbol;
017  private String stockExchange;
018  private String website;
019  private String vertical;
020  private String altBusinessIdType;
021  private String plivoSubaccount;
022  private ProfileAuthorizedContact authorizedContact;
023  private String primaryProfile;
024  private String profileType;
025  private String profileUUID;
026  private String message;
027  private String createdAt;
028  private ProfileResponse profile;
029
030  
031  public static  ProfileAdder creator(String profileAlias,String customerType,String entityType,String companyName,String ein,String einIssuingCountry,ProfileAddress address,String stockSymbol,String stockExchange,String website,String vertical,String altBusinessID,String altBusinessIdType,String plivoSubaccount,ProfileAuthorizedContact authorizedContact) {
032    return new ProfileAdder(profileAlias,customerType,entityType,companyName,ein,einIssuingCountry,address,stockSymbol,stockExchange,website,vertical,altBusinessID,altBusinessIdType,plivoSubaccount,authorizedContact);
033  }
034
035  public static ProfileGetter getter(String id) {
036    return new ProfileGetter(id);
037  }
038
039  public static ProfileLister lister() {
040    return new ProfileLister();
041  }
042  
043  public static ProfileUpdater update(String profileUUID) {
044    return new ProfileUpdater(profileUUID);
045  }
046
047  public static ProfileDeleter delete(String profileUUID) {
048    return new ProfileDeleter(profileUUID);
049  }
050  
051  public String getProfileUUID() {
052    return this.profileUUID;
053  }
054
055  public String getProfileAlias(){
056    return profileAlias;
057}
058
059public String getCustomerType(){
060    return customerType;
061}
062
063public String getEntityType(){
064    return entityType;
065}
066
067public String getCompanyName(){
068    return companyName;
069}
070
071public String getEin(){
072    return ein;
073}
074
075public String getEinIssuingCountry(){
076    return einIssuingCountry;
077}
078
079public ProfileAddress getAddress(){
080    return address;
081}
082
083public String getStockSymbol(){
084    return stockSymbol;
085}
086
087public String getStockExchange(){
088    return stockExchange;
089}
090
091public String getwebsite(){
092    return website;
093}
094
095public String getVertical(){
096    return vertical;
097}
098
099public String getAltBusinessIdType(){
100    return altBusinessIdType;
101}
102
103public String getPlivoSubaccount(){                                                                                                                                                                         
104  return plivoSubaccount;                                                                                                                                                                                   
105} 
106
107public ProfileAuthorizedContact getAuthorizedContact(){
108    return authorizedContact;
109}
110
111public String getPrimaryProfile(){
112    return primaryProfile;
113}
114
115public String getProfileType(){
116    return profileType;
117} 
118
119public String getMessage(){                            
120    return message;                                    
121}
122
123public String getCreatedAt(){
124  return createdAt;
125}
126
127public ProfileResponse getProfile() {
128    return profile;                               
129  }
130
131 @Override
132  public String getId() {
133    return this.profileUUID;
134  }
135
136}