001package com.plivo.api.models.profile; 002 003import com.plivo.api.models.base.Creator; 004import com.plivo.api.util.Utils; 005import retrofit2.Call; 006 007public class ProfileAdder extends Creator<ProfileAddResponse> { 008 private String originator; 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 altBusinessID; 021 private String altBusinessIdType; 022 private String plivoSubaccount; 023 private ProfileAuthorizedContact authorizedContact; 024 025 ProfileAdder(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) { 026 this.profileAlias = profileAlias; 027 this.customerType = customerType; 028 this.entityType = entityType; 029 this.companyName = companyName; 030 this.ein = ein; 031 this.einIssuingCountry = einIssuingCountry; 032 this.address = address; 033 this.stockSymbol = stockSymbol; 034 this.stockExchange = stockExchange; 035 this.website = website; 036 this.vertical = vertical; 037 this.altBusinessID = altBusinessID; 038 this.altBusinessIdType = altBusinessIdType; 039 this.plivoSubaccount = plivoSubaccount; 040 this.authorizedContact = authorizedContact; 041 } 042 public String profileAlias(){ 043 return this.profileAlias; 044 } 045 public String customerType(){ 046 return this.customerType; 047 } 048 public String entityType(){ 049 return this.entityType; 050 } 051 public String companyName(){ 052 return this.companyName; 053 } 054 public String ein(){ 055 return this.ein; 056 } 057 public String einIssuingCountry(){ 058 return this.einIssuingCountry; 059 } 060 public ProfileAddress address(){ 061 return this.address; 062 } 063 public String stockSymbol(){ 064 return this.stockSymbol; 065 } 066 public String stockExchange(){ 067 return this.stockExchange; 068 } 069 public String website(){ 070 return this.website; 071 } 072 public String vertical(){ 073 return this.vertical; 074 } 075 public String altBusinessID(){ 076 return this.altBusinessID; 077 } 078 public String altBusinessIdType(){ 079 return this.altBusinessIdType; 080 } 081 public String plivoSubaccount(){ 082 return this.plivoSubaccount; 083 } 084 public ProfileAuthorizedContact authorizedContact(){ 085 return this.authorizedContact; 086 } 087 088 @Override 089 protected Call<ProfileAddResponse> obtainCall() { 090 return client().getApiService().profileAdd(client().getAuthId(), this); 091 } 092}