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 longgetApiKey()Get the API key of the service owner.StringgetApiSecret()Get the API secret of the service owner.StringgetEmail()Get the email address of the service owner.StringgetLoginId()Get the login ID of the service owner.StringgetName()Get the service owner name.intgetNumber()Get the service owner number.PlangetPlan()Get the plan.ServiceOwnersetApiKey(long apiKey)Set the API key of the service owner.ServiceOwnersetApiSecret(String apiSecret)Set the API secret of the service owner.ServiceOwnersetEmail(String email)Set the email address of the service owner.ServiceOwnersetLoginId(String loginId)Set the login ID of the service owner.ServiceOwnersetName(String name)Set the service owner name.ServiceOwnersetNumber(int number)Set the service owner number.ServiceOwnersetPlan(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:
thisobject.
-
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:
thisobject.
-
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:
thisobject.
-
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:
thisobject.
-
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:
thisobject.
-
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:
thisobject.
-
getPlan
public Plan getPlan()
Get the plan.- Returns:
- The plan.
-
setPlan
public ServiceOwner setPlan(Plan plan)
Set the plan.- Parameters:
plan- The plan.- Returns:
thisobject.
-
-