Package io.moov.sdk.models.components
Class Responsibilities
- java.lang.Object
-
- io.moov.sdk.models.components.Responsibilities
-
public class Responsibilities extends java.lang.ObjectResponsibilitiesDescribes the job responsibilities of a business representative.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponsibilities.Builder
-
Constructor Summary
Constructors Constructor Description Responsibilities()Responsibilities(java.util.Optional<java.lang.Boolean> isController, java.util.Optional<java.lang.Boolean> isOwner, java.util.Optional<java.lang.Long> ownershipPercentage, java.util.Optional<java.lang.String> jobTitle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Responsibilities.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<java.lang.Boolean>isController()Indicates whether this individual has significant management responsibilities within the business.java.util.Optional<java.lang.Boolean>isOwner()If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.java.util.Optional<java.lang.String>jobTitle()java.util.Optional<java.lang.Long>ownershipPercentage()The percentage of ownership this individual has in the business (required if `isOwner` is `true`).java.lang.StringtoString()ResponsibilitieswithIsController(boolean isController)Indicates whether this individual has significant management responsibilities within the business.ResponsibilitieswithIsController(java.util.Optional<java.lang.Boolean> isController)Indicates whether this individual has significant management responsibilities within the business.ResponsibilitieswithIsOwner(boolean isOwner)If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.ResponsibilitieswithIsOwner(java.util.Optional<java.lang.Boolean> isOwner)If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.ResponsibilitieswithJobTitle(java.lang.String jobTitle)ResponsibilitieswithJobTitle(java.util.Optional<java.lang.String> jobTitle)ResponsibilitieswithOwnershipPercentage(long ownershipPercentage)The percentage of ownership this individual has in the business (required if `isOwner` is `true`).ResponsibilitieswithOwnershipPercentage(java.util.Optional<java.lang.Long> ownershipPercentage)The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
-
-
-
Constructor Detail
-
Responsibilities
public Responsibilities(java.util.Optional<java.lang.Boolean> isController, java.util.Optional<java.lang.Boolean> isOwner, java.util.Optional<java.lang.Long> ownershipPercentage, java.util.Optional<java.lang.String> jobTitle)
-
Responsibilities
public Responsibilities()
-
-
Method Detail
-
isController
public java.util.Optional<java.lang.Boolean> isController()
Indicates whether this individual has significant management responsibilities within the business.
-
isOwner
public java.util.Optional<java.lang.Boolean> isOwner()
If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be `false`.
-
ownershipPercentage
public java.util.Optional<java.lang.Long> ownershipPercentage()
The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
-
jobTitle
public java.util.Optional<java.lang.String> jobTitle()
-
builder
public static Responsibilities.Builder builder()
-
withIsController
public Responsibilities withIsController(boolean isController)
Indicates whether this individual has significant management responsibilities within the business.
-
withIsController
public Responsibilities withIsController(java.util.Optional<java.lang.Boolean> isController)
Indicates whether this individual has significant management responsibilities within the business.
-
withIsOwner
public Responsibilities withIsOwner(boolean isOwner)
If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be `false`.
-
withIsOwner
public Responsibilities withIsOwner(java.util.Optional<java.lang.Boolean> isOwner)
If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be `false`.
-
withOwnershipPercentage
public Responsibilities withOwnershipPercentage(long ownershipPercentage)
The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
-
withOwnershipPercentage
public Responsibilities withOwnershipPercentage(java.util.Optional<java.lang.Long> ownershipPercentage)
The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
-
withJobTitle
public Responsibilities withJobTitle(java.lang.String jobTitle)
-
withJobTitle
public Responsibilities withJobTitle(java.util.Optional<java.lang.String> jobTitle)
-
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
-
-