public class RenewTokenResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RenewTokenResponse.Builder
Class to build instances of
RenewTokenResponse. |
| Constructor and Description |
|---|
RenewTokenResponse(String accessToken,
String tokenType,
String expiresAt,
String merchantId,
String subscriptionId,
String planId,
List<Error> errors)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
Getter for AccessToken.
|
HttpContext |
getContext() |
List<Error> |
getErrors()
Getter for Errors.
|
String |
getExpiresAt()
Getter for ExpiresAt.
|
String |
getMerchantId()
Getter for MerchantId.
|
String |
getPlanId()
Getter for PlanId.
|
String |
getSubscriptionId()
Getter for SubscriptionId.
|
String |
getTokenType()
Getter for TokenType.
|
int |
hashCode() |
RenewTokenResponse.Builder |
toBuilder()
Builds a new
RenewTokenResponse.Builder object. |
String |
toString()
Converts this RenewTokenResponse into string format.
|
public RenewTokenResponse(String accessToken, String tokenType, String expiresAt, String merchantId, String subscriptionId, String planId, List<Error> errors)
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.errors - List of Error value for errors.public HttpContext getContext()
public String getAccessToken()
public String getTokenType()
public String getExpiresAt()
public String getMerchantId()
public String getSubscriptionId()
public String getPlanId()
public List<Error> getErrors()
public String toString()
public RenewTokenResponse.Builder toBuilder()
RenewTokenResponse.Builder object.
Creates the instance with the state of the current model.RenewTokenResponse.Builder objectCopyright © 2022. All rights reserved.