public class ObtainTokenResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ObtainTokenResponse.Builder
Class to build instances of
ObtainTokenResponse . |
Constructor and Description |
---|
ObtainTokenResponse(String accessToken,
String tokenType,
String expiresAt,
String merchantId,
String subscriptionId,
String planId,
String idToken,
String refreshToken,
Boolean shortLived,
List<Error> errors,
String refreshTokenExpiresAt,
String appSubscriptionId,
String appPlanId)
Initialization constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
Getter for AccessToken.
|
String |
getAppPlanId()
Getter for AppPlanId.
|
String |
getAppSubscriptionId()
Getter for AppSubscriptionId.
|
HttpContext |
getContext() |
List<Error> |
getErrors()
Getter for Errors.
|
String |
getExpiresAt()
Getter for ExpiresAt.
|
String |
getIdToken()
Getter for IdToken.
|
String |
getMerchantId()
Getter for MerchantId.
|
String |
getPlanId()
Getter for PlanId.
|
String |
getRefreshToken()
Getter for RefreshToken.
|
String |
getRefreshTokenExpiresAt()
Getter for RefreshTokenExpiresAt.
|
Boolean |
getShortLived()
Getter for ShortLived.
|
String |
getSubscriptionId()
Getter for SubscriptionId.
|
String |
getTokenType()
Getter for TokenType.
|
int |
hashCode() |
ObtainTokenResponse.Builder |
toBuilder()
Builds a new
ObtainTokenResponse.Builder object. |
String |
toString()
Converts this ObtainTokenResponse into string format.
|
public ObtainTokenResponse(String accessToken, String tokenType, String expiresAt, String merchantId, String subscriptionId, String planId, String idToken, String refreshToken, Boolean shortLived, List<Error> errors, String refreshTokenExpiresAt, String appSubscriptionId, String appPlanId)
accessToken
- String value for accessToken.tokenType
- String value for tokenType.expiresAt
- String value for expiresAt.merchantId
- String value for merchantId.subscriptionId
- String value for subscriptionId.planId
- String value for planId.idToken
- String value for idToken.refreshToken
- String value for refreshToken.shortLived
- Boolean value for shortLived.errors
- List of Error value for errors.refreshTokenExpiresAt
- String value for refreshTokenExpiresAt.appSubscriptionId
- String value for appSubscriptionId.appPlanId
- String value for appPlanId.public HttpContext getContext()
public String getAccessToken()
public String getTokenType()
public String getExpiresAt()
public String getMerchantId()
public String getSubscriptionId()
public String getPlanId()
public String getIdToken()
public String getRefreshToken()
public Boolean getShortLived()
public List<Error> getErrors()
public String getRefreshTokenExpiresAt()
public String getAppSubscriptionId()
public String getAppPlanId()
public String toString()
public ObtainTokenResponse.Builder toBuilder()
ObtainTokenResponse.Builder
object.
Creates the instance with the state of the current model.ObtainTokenResponse.Builder
objectCopyright © 2022. All rights reserved.