Class: Increase::Models::Entity::Validation::Issue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Entity::Validation::Issue
- Defined in:
- lib/increase/models/entity.rb
Defined Under Namespace
Modules: Category Classes: BeneficialOwnerAddress, BeneficialOwnerIdentity, EntityAddress, EntityTaxIdentifier
Instance Attribute Summary collapse
-
#beneficial_owner_address ⇒ Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress?
Details when the issue is with a beneficial owner’s address.
-
#beneficial_owner_identity ⇒ Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity?
Details when the issue is with a beneficial owner’s identity verification.
-
#category ⇒ Symbol, Increase::Models::Entity::Validation::Issue::Category
The type of issue.
-
#entity_address ⇒ Increase::Models::Entity::Validation::Issue::EntityAddress?
Details when the issue is with the entity’s address.
-
#entity_tax_identifier ⇒ Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier?
Details when the issue is with the entity’s tax ID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(beneficial_owner_id:) ⇒ Object
constructor
Details when the issue is with a beneficial owner’s identity verification.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(beneficial_owner_id:) ⇒ Object
Details when the issue is with a beneficial owner’s identity verification.
1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 |
# File 'lib/increase/models/entity.rb', line 1664 class Issue < Increase::Internal::Type::BaseModel # @!attribute beneficial_owner_address # Details when the issue is with a beneficial owner's address. # # @return [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil] required :beneficial_owner_address, -> { Increase::Entity::Validation::Issue::BeneficialOwnerAddress }, nil?: true # @!attribute beneficial_owner_identity # Details when the issue is with a beneficial owner's identity verification. # # @return [Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity, nil] required :beneficial_owner_identity, -> { Increase::Entity::Validation::Issue::BeneficialOwnerIdentity }, nil?: true # @!attribute category # The type of issue. We may add additional possible values for this enum over # time; your application should be able to handle such additions gracefully. # # @return [Symbol, Increase::Models::Entity::Validation::Issue::Category] required :category, enum: -> { Increase::Entity::Validation::Issue::Category } # @!attribute entity_address # Details when the issue is with the entity's address. # # @return [Increase::Models::Entity::Validation::Issue::EntityAddress, nil] required :entity_address, -> { Increase::Entity::Validation::Issue::EntityAddress }, nil?: true # @!attribute entity_tax_identifier # Details when the issue is with the entity's tax ID. # # @return [Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier, nil] required :entity_tax_identifier, -> { Increase::Entity::Validation::Issue::EntityTaxIdentifier }, nil?: true # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, category:, entity_address:, entity_tax_identifier:) # Some parameter documentations has been truncated, see # {Increase::Models::Entity::Validation::Issue} for more details. # # @param beneficial_owner_address [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil] Details when the issue is with a beneficial owner's address. # # @param beneficial_owner_identity [Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity, nil] Details when the issue is with a beneficial owner's identity verification. # # @param category [Symbol, Increase::Models::Entity::Validation::Issue::Category] The type of issue. We may add additional possible values for this enum over time # # @param entity_address [Increase::Models::Entity::Validation::Issue::EntityAddress, nil] Details when the issue is with the entity's address. # # @param entity_tax_identifier [Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier, nil] Details when the issue is with the entity's tax ID. # @see Increase::Models::Entity::Validation::Issue#beneficial_owner_address class BeneficialOwnerAddress < Increase::Internal::Type::BaseModel # @!attribute beneficial_owner_id # The ID of the beneficial owner. # # @return [String] required :beneficial_owner_id, String # @!attribute reason # The reason the address is invalid. # # @return [Symbol, Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress::Reason] required :reason, enum: -> { Increase::Entity::Validation::Issue::BeneficialOwnerAddress::Reason } # @!method initialize(beneficial_owner_id:, reason:) # Details when the issue is with a beneficial owner's address. # # @param beneficial_owner_id [String] The ID of the beneficial owner. # # @param reason [Symbol, Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress::Reason] The reason the address is invalid. # The reason the address is invalid. # # @see Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress#reason module Reason extend Increase::Internal::Type::Enum # The address is a mailbox or other non-physical address. MAILBOX_ADDRESS = :mailbox_address # @!method self.values # @return [Array<Symbol>] end end # @see Increase::Models::Entity::Validation::Issue#beneficial_owner_identity class BeneficialOwnerIdentity < Increase::Internal::Type::BaseModel # @!attribute beneficial_owner_id # The ID of the beneficial owner. # # @return [String] required :beneficial_owner_id, String # @!method initialize(beneficial_owner_id:) # Details when the issue is with a beneficial owner's identity verification. # # @param beneficial_owner_id [String] The ID of the beneficial owner. end # The type of issue. We may add additional possible values for this enum over # time; your application should be able to handle such additions gracefully. # # @see Increase::Models::Entity::Validation::Issue#category module Category extend Increase::Internal::Type::Enum # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier). ENTITY_TAX_IDENTIFIER = :entity_tax_identifier # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address). ENTITY_ADDRESS = :entity_address # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner). BENEFICIAL_OWNER_IDENTITY = :beneficial_owner_identity # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner). BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address # @!method self.values # @return [Array<Symbol>] end # @see Increase::Models::Entity::Validation::Issue#entity_address class EntityAddress < Increase::Internal::Type::BaseModel # @!attribute reason # The reason the address is invalid. # # @return [Symbol, Increase::Models::Entity::Validation::Issue::EntityAddress::Reason] required :reason, enum: -> { Increase::Entity::Validation::Issue::EntityAddress::Reason } # @!method initialize(reason:) # Details when the issue is with the entity's address. # # @param reason [Symbol, Increase::Models::Entity::Validation::Issue::EntityAddress::Reason] The reason the address is invalid. # The reason the address is invalid. # # @see Increase::Models::Entity::Validation::Issue::EntityAddress#reason module Reason extend Increase::Internal::Type::Enum # The address is a mailbox or other non-physical address. MAILBOX_ADDRESS = :mailbox_address # @!method self.values # @return [Array<Symbol>] end end # @see Increase::Models::Entity::Validation::Issue#entity_tax_identifier class EntityTaxIdentifier < Increase::Internal::Type::BaseModel # @!method initialize # Details when the issue is with the entity's tax ID. end end |
Instance Attribute Details
#beneficial_owner_address ⇒ Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress?
Details when the issue is with a beneficial owner’s address.
1669 1670 1671 |
# File 'lib/increase/models/entity.rb', line 1669 required :beneficial_owner_address, -> { Increase::Entity::Validation::Issue::BeneficialOwnerAddress }, nil?: true |
#beneficial_owner_identity ⇒ Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity?
Details when the issue is with a beneficial owner’s identity verification.
1677 1678 1679 |
# File 'lib/increase/models/entity.rb', line 1677 required :beneficial_owner_identity, -> { Increase::Entity::Validation::Issue::BeneficialOwnerIdentity }, nil?: true |
#category ⇒ Symbol, Increase::Models::Entity::Validation::Issue::Category
The type of issue. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
1686 |
# File 'lib/increase/models/entity.rb', line 1686 required :category, enum: -> { Increase::Entity::Validation::Issue::Category } |
#entity_address ⇒ Increase::Models::Entity::Validation::Issue::EntityAddress?
Details when the issue is with the entity’s address.
1692 |
# File 'lib/increase/models/entity.rb', line 1692 required :entity_address, -> { Increase::Entity::Validation::Issue::EntityAddress }, nil?: true |
#entity_tax_identifier ⇒ Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier?
Details when the issue is with the entity’s tax ID.
1698 1699 1700 |
# File 'lib/increase/models/entity.rb', line 1698 required :entity_tax_identifier, -> { Increase::Entity::Validation::Issue::EntityTaxIdentifier }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/entity.rb', line 1746
|