Inttegro.Apps.CreateApplicationRequest (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Create Application Request in the Apps API.

Build this struct with new!/1 and pass it to the corresponding function on Inttegro.Apps. Required keys are enforced immediately; optional values left as nil are omitted from the request sent to Inttegro.

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()

A validated create application request request.

Functions

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

Types

t()

@type t() :: %Inttegro.Apps.CreateApplicationRequest{
  alias: String.t() | nil,
  description: String.t() | nil,
  legal_entity_type: String.t() | nil,
  name: String.t(),
  placement_parent_application_id: String.t() | nil,
  relationship_policy:
    Inttegro.Apps.CreateApplicationRequestRelationshipPolicy.t() | nil
}

A validated create application request request.

Functions

new!(attrs \\ %{})

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

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