Business struct representing a registered business in Apple Business Registry.
Fields
id: Unique identifier for the businessname: Business nameorganization_type: Organization type (e.g., "company", "nonprofit", "government")primary_phone: Primary contact phone numberprimary_email: Primary contact emailwebsite: Business website URLdescription: Business descriptionstatus: Registration status ("active", "pending", "suspended")created_at: ISO 8601 timestamp when the business was registeredupdated_at: ISO 8601 timestamp when the business was last updated
Summary
Functions
Decode a business map into a %Business{} struct.
Encode a %Business{} struct into a map for API requests.
Types
@type t() :: %AppleBusinessRegistry.Business{ created_at: String.t() | nil, description: String.t() | nil, id: String.t() | nil, name: String.t() | nil, organization_type: String.t() | nil, primary_email: String.t() | nil, primary_phone: String.t() | nil, status: String.t() | nil, updated_at: String.t() | nil, website: String.t() | nil }