Package io.moov.sdk.models.components
Class PatchAccountError
- java.lang.Object
-
- io.moov.sdk.models.components.PatchAccountError
-
public class PatchAccountError extends java.lang.Object
-
-
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)
-
Method Summary
-
-
-
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)
-
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()
-
builder
public static final 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)
-
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.Object
-
-