Inttegro.PurchaseIntents.CreatePurchaseIntentRequest (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro request parameters.

Summary

Types

t()

@type t() :: %Inttegro.PurchaseIntents.CreatePurchaseIntentRequest{
  expires_at: String.t() | nil,
  price: Inttegro.PurchaseIntents.CreatePurchaseIntentRequestPrice.t() | nil,
  price_id: String.t() | nil,
  product:
    Inttegro.PurchaseIntents.CreatePurchaseIntentRequestProduct.t() | nil,
  product_id: String.t() | nil,
  quantity: Inttegro.PurchaseIntents.CreatePurchaseIntentRequestQuantity.t(),
  usage: Inttegro.PurchaseIntents.CreatePurchaseIntentRequestUsage.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

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

to_map(value)

@spec to_map(t()) :: map()