Package com.authlete.common.dto
Class ServiceOwner
- java.lang.Object
-
- com.authlete.common.dto.ServiceOwner
-
- All Implemented Interfaces:
Serializable
public class ServiceOwner extends Object implements Serializable
Information about a service owner.- Author:
- Takahiko Kawasaki
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceOwner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getApiKey()
Get the API key of the service owner.String
getApiSecret()
Get the API secret of the service owner.String
getEmail()
Get the email address of the service owner.String
getLoginId()
Get the login ID of the service owner.String
getName()
Get the service owner name.int
getNumber()
Get the service owner number.Plan
getPlan()
Get the plan.ServiceOwner
setApiKey(long apiKey)
Set the API key of the service owner.ServiceOwner
setApiSecret(String apiSecret)
Set the API secret of the service owner.ServiceOwner
setEmail(String email)
Set the email address of the service owner.ServiceOwner
setLoginId(String loginId)
Set the login ID of the service owner.ServiceOwner
setName(String name)
Set the service owner name.ServiceOwner
setNumber(int number)
Set the service owner number.ServiceOwner
setPlan(Plan plan)
Set the plan.
-
-
-
Method Detail
-
getNumber
public int getNumber()
Get the service owner number.- Returns:
- The service owner number.
-
setNumber
public ServiceOwner setNumber(int number)
Set the service owner number.- Parameters:
number
- The service owner number.- Returns:
this
object.
-
getName
public String getName()
Get the service owner name.- Returns:
- The service owner name.
-
setName
public ServiceOwner setName(String name)
Set the service owner name.- Parameters:
name
- The service owner name.- Returns:
this
object.
-
getEmail
public String getEmail()
Get the email address of the service owner.- Returns:
- The email address of the service owner.
-
setEmail
public ServiceOwner setEmail(String email)
Set the email address of the service owner.- Parameters:
email
- The email address of the service owner.- Returns:
this
object.
-
getLoginId
public String getLoginId()
Get the login ID of the service owner.- Returns:
- The login ID of the service owner.
-
setLoginId
public ServiceOwner setLoginId(String loginId)
Set the login ID of the service owner.- Parameters:
loginId
- The login ID of the service owner.- Returns:
this
object.
-
getApiKey
public long getApiKey()
Get the API key of the service owner.- Returns:
- The API key of the service owner.
-
setApiKey
public ServiceOwner setApiKey(long apiKey)
Set the API key of the service owner.- Parameters:
apiKey
- The API key of the service owner.- Returns:
this
object.
-
getApiSecret
public String getApiSecret()
Get the API secret of the service owner.- Returns:
- The API secret of the service owner.
-
setApiSecret
public ServiceOwner setApiSecret(String apiSecret)
Set the API secret of the service owner.- Parameters:
apiSecret
- The API secret of the service owner.- Returns:
this
object.
-
getPlan
public Plan getPlan()
Get the plan.- Returns:
- The plan.
-
setPlan
public ServiceOwner setPlan(Plan plan)
Set the plan.- Parameters:
plan
- The plan.- Returns:
this
object.
-
-