Package de.adorsys.psd2.model
Class Error400SBS
- java.lang.Object
-
- de.adorsys.psd2.model.Error400SBS
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2021-05-24T13:41:46.273636+03:00[Europe/Kiev]") public class Error400SBS extends ObjectStandardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 400 for signing baskets.
-
-
Constructor Summary
Constructors Constructor Description Error400SBS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Error400SBS_links(Map _links)Error400SBSaddAdditionalErrorsItem(Error400SBSAdditionalErrors additionalErrorsItem)Error400SBSadditionalErrors(List<Error400SBSAdditionalErrors> additionalErrors)Error400SBScode(String code)Error400SBSdetail(String detail)booleanequals(Object o)@Valid List<Error400SBSAdditionalErrors>getAdditionalErrors()Array of Error Information Blocks.@NotNull StringgetCode()Get code@Size(max=500) StringgetDetail()Detailed human readable text specific to this instance of the error.@Valid MapgetLinks()Get _links@Size(max=70) StringgetTitle()Short human readable description of error type.@NotNull @Size(max=70) StringgetType()A URI reference [RFC3986] that identifies the problem type.inthashCode()voidsetAdditionalErrors(List<Error400SBSAdditionalErrors> additionalErrors)voidsetCode(String code)voidsetDetail(String detail)voidsetLinks(Map _links)voidsetTitle(String title)voidsetType(String type)Error400SBStitle(String title)StringtoString()Error400SBStype(String type)
-
-
-
Method Detail
-
type
public Error400SBS type(String type)
-
getType
@NotNull @Size(max=70) public @NotNull @Size(max=70) String getType()
A URI reference [RFC3986] that identifies the problem type. Remark For Future: These URI will be provided by NextGenPSD2 in future.- Returns:
- type
-
setType
public void setType(String type)
-
title
public Error400SBS title(String title)
-
getTitle
@Size(max=70) public @Size(max=70) String getTitle()
Short human readable description of error type. Could be in local language. To be provided by ASPSPs.- Returns:
- title
-
setTitle
public void setTitle(String title)
-
detail
public Error400SBS detail(String detail)
-
getDetail
@Size(max=500) public @Size(max=500) String getDetail()
Detailed human readable text specific to this instance of the error. XPath might be used to point to the issue generating the error in addition. Remark for Future: In future, a dedicated field might be introduced for the XPath.- Returns:
- detail
-
setDetail
public void setDetail(String detail)
-
code
public Error400SBS code(String code)
-
getCode
@NotNull public @NotNull String getCode()
Get code- Returns:
- code
-
setCode
public void setCode(String code)
-
additionalErrors
public Error400SBS additionalErrors(List<Error400SBSAdditionalErrors> additionalErrors)
-
addAdditionalErrorsItem
public Error400SBS addAdditionalErrorsItem(Error400SBSAdditionalErrors additionalErrorsItem)
-
getAdditionalErrors
@Valid public @Valid List<Error400SBSAdditionalErrors> getAdditionalErrors()
Array of Error Information Blocks. Might be used if more than one error is to be communicated- Returns:
- additionalErrors
-
setAdditionalErrors
public void setAdditionalErrors(List<Error400SBSAdditionalErrors> additionalErrors)
-
_links
public Error400SBS _links(Map _links)
-
getLinks
@Valid public @Valid Map getLinks()
Get _links- Returns:
- _links
-
setLinks
public void setLinks(Map _links)
-
-