Package io.moov.sdk.models.components
Class RepresentativeResponsibilities
- java.lang.Object
-
- io.moov.sdk.models.components.RepresentativeResponsibilities
-
public class RepresentativeResponsibilities extends java.lang.ObjectRepresentativeResponsibilitiesDescribes the job responsibilities of a business representative.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepresentativeResponsibilities.Builder
-
Constructor Summary
Constructors Constructor Description RepresentativeResponsibilities()RepresentativeResponsibilities(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 RepresentativeResponsibilities.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()RepresentativeResponsibilitieswithIsController(boolean isController)Indicates whether this individual has significant management responsibilities within the business.RepresentativeResponsibilitieswithIsController(java.util.Optional<java.lang.Boolean> isController)Indicates whether this individual has significant management responsibilities within the business.RepresentativeResponsibilitieswithIsOwner(boolean isOwner)If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.RepresentativeResponsibilitieswithIsOwner(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.RepresentativeResponsibilitieswithJobTitle(java.lang.String jobTitle)RepresentativeResponsibilitieswithJobTitle(java.util.Optional<java.lang.String> jobTitle)RepresentativeResponsibilitieswithOwnershipPercentage(long ownershipPercentage)The percentage of ownership this individual has in the business (required if `isOwner` is `true`).RepresentativeResponsibilitieswithOwnershipPercentage(java.util.Optional<java.lang.Long> ownershipPercentage)The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
-
-
-
Constructor Detail
-
RepresentativeResponsibilities
public RepresentativeResponsibilities(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)
-
RepresentativeResponsibilities
public RepresentativeResponsibilities()
-
-
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 RepresentativeResponsibilities.Builder builder()
-
withIsController
public RepresentativeResponsibilities withIsController(boolean isController)
Indicates whether this individual has significant management responsibilities within the business.
-
withIsController
public RepresentativeResponsibilities withIsController(java.util.Optional<java.lang.Boolean> isController)
Indicates whether this individual has significant management responsibilities within the business.
-
withIsOwner
public RepresentativeResponsibilities 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 RepresentativeResponsibilities 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 RepresentativeResponsibilities withOwnershipPercentage(long ownershipPercentage)
The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
-
withOwnershipPercentage
public RepresentativeResponsibilities 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 RepresentativeResponsibilities withJobTitle(java.lang.String jobTitle)
-
withJobTitle
public RepresentativeResponsibilities 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
-
-