class XsuaaToken extends AbstractToken implements AccessToken {

	@Nullable
	public String getSubaccountId() {
		return Optional.ofNullable(getAttributeFromClaimAsString(EXTERNAL_ATTRIBUTE, EXTERNAL_ATTRIBUTE_SUBACCOUNTID))
				.orElse(getClaimAsString(ZONE_ID));
	}

	public  XsuaaToken(@Nonnull DecodedJwt decodedJwt);
	public  XsuaaToken(@Nonnull String accessToken);

}