Inttegro.Apps.ApplicationRelationshipPolicy (inttegro v0.2.0)

Copy Markdown View Source

Represents Application Relationship Policy data in the Apps API.

Inttegro decodes API responses into this struct. Required fields are always present; optional fields are nil when they do not apply or were not returned. Follow the linked types in t/0 for nested domain values.

Creates and manages Inttegro applications.

An application is the authorization and ownership boundary for commerce data. Use this API to inspect the application represented by the current secret key, create child applications, and update mutable application metadata. Child applications receive their own credentials and can be governed through an explicit parent-child relationship policy.

Summary

Types

t()

The decoded application relationship policy value.

Functions

Builds a Inttegro.Apps.ApplicationRelationshipPolicy and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Apps.ApplicationRelationshipPolicy{
  child_standing: String.t(),
  credentials: Inttegro.Apps.AppCredentialOwner.t(),
  management: Inttegro.Apps.AppManagementRole.t()
}

The decoded application relationship policy value.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.Apps.ApplicationRelationshipPolicy and raises KeyError when a required field is missing.