Package io.moov.sdk.models.errors
Class PatchAccountError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.moov.sdk.models.errors.PatchAccountError
-
- All Implemented Interfaces:
java.io.Serializable
public class PatchAccountError extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchAccountError.Builder
-
Constructor Summary
Constructors Constructor Description PatchAccountError()PatchAccountError(java.util.Optional<? extends CreateProfileError> profile, java.util.Optional<java.lang.String> metadata, java.util.Optional<? extends TermsOfServiceError> termsOfService, java.util.Optional<java.lang.String> foreignID, java.util.Optional<? extends CustomerSupportError> customerSupport, java.util.Optional<? extends CreateAccountSettings> settings, java.util.Optional<java.lang.String> error)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchAccountError.Builderbuilder()java.util.Optional<CustomerSupportError>customerSupport()booleanequals(java.lang.Object o)java.util.Optional<java.lang.String>error()java.util.Optional<java.lang.String>foreignID()inthashCode()java.util.Optional<java.lang.String>metadata()java.util.Optional<CreateProfileError>profile()java.util.Optional<CreateAccountSettings>settings()java.util.Optional<TermsOfServiceError>termsOfService()java.lang.StringtoString()PatchAccountErrorwithCustomerSupport(CustomerSupportError customerSupport)PatchAccountErrorwithCustomerSupport(java.util.Optional<? extends CustomerSupportError> customerSupport)PatchAccountErrorwithError(java.lang.String error)PatchAccountErrorwithError(java.util.Optional<java.lang.String> error)PatchAccountErrorwithForeignID(java.lang.String foreignID)PatchAccountErrorwithForeignID(java.util.Optional<java.lang.String> foreignID)PatchAccountErrorwithMetadata(java.lang.String metadata)PatchAccountErrorwithMetadata(java.util.Optional<java.lang.String> metadata)PatchAccountErrorwithProfile(CreateProfileError profile)PatchAccountErrorwithProfile(java.util.Optional<? extends CreateProfileError> profile)PatchAccountErrorwithSettings(CreateAccountSettings settings)PatchAccountErrorwithSettings(java.util.Optional<? extends CreateAccountSettings> settings)PatchAccountErrorwithTermsOfService(TermsOfServiceError termsOfService)PatchAccountErrorwithTermsOfService(java.util.Optional<? extends TermsOfServiceError> termsOfService)
-
-
-
Constructor Detail
-
PatchAccountError
public PatchAccountError(java.util.Optional<? extends CreateProfileError> profile, java.util.Optional<java.lang.String> metadata, java.util.Optional<? extends TermsOfServiceError> termsOfService, java.util.Optional<java.lang.String> foreignID, java.util.Optional<? extends CustomerSupportError> customerSupport, java.util.Optional<? extends CreateAccountSettings> settings, java.util.Optional<java.lang.String> error)
-
PatchAccountError
public PatchAccountError()
-
-
Method Detail
-
profile
public java.util.Optional<CreateProfileError> profile()
-
metadata
public java.util.Optional<java.lang.String> metadata()
-
termsOfService
public java.util.Optional<TermsOfServiceError> termsOfService()
-
foreignID
public java.util.Optional<java.lang.String> foreignID()
-
customerSupport
public java.util.Optional<CustomerSupportError> customerSupport()
-
settings
public java.util.Optional<CreateAccountSettings> settings()
-
error
public java.util.Optional<java.lang.String> error()
-
builder
public static PatchAccountError.Builder builder()
-
withProfile
public PatchAccountError withProfile(CreateProfileError profile)
-
withProfile
public PatchAccountError withProfile(java.util.Optional<? extends CreateProfileError> profile)
-
withMetadata
public PatchAccountError withMetadata(java.lang.String metadata)
-
withMetadata
public PatchAccountError withMetadata(java.util.Optional<java.lang.String> metadata)
-
withTermsOfService
public PatchAccountError withTermsOfService(TermsOfServiceError termsOfService)
-
withTermsOfService
public PatchAccountError withTermsOfService(java.util.Optional<? extends TermsOfServiceError> termsOfService)
-
withForeignID
public PatchAccountError withForeignID(java.lang.String foreignID)
-
withForeignID
public PatchAccountError withForeignID(java.util.Optional<java.lang.String> foreignID)
-
withCustomerSupport
public PatchAccountError withCustomerSupport(CustomerSupportError customerSupport)
-
withCustomerSupport
public PatchAccountError withCustomerSupport(java.util.Optional<? extends CustomerSupportError> customerSupport)
-
withSettings
public PatchAccountError withSettings(CreateAccountSettings settings)
-
withSettings
public PatchAccountError withSettings(java.util.Optional<? extends CreateAccountSettings> settings)
-
withError
public PatchAccountError withError(java.lang.String error)
-
withError
public PatchAccountError withError(java.util.Optional<java.lang.String> error)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
-