MishkaPay.RawRequest.Options (Mishka Pay v0.0.1)

Copy Markdown View Source

Summary

Types

t()

The struct that builder/1 returns.

Functions

A sample %MishkaPay.RawRequest.Options{} populated from defaults + type-based fallbacks.

Types

t()

@type t() :: %MishkaPay.RawRequest.Options{
  api_version: String.t() | nil,
  expand: list() | nil
}

The struct that builder/1 returns.

FieldTypeRequiredDefaultDescriptionDerives
:api_versionString.t() | nilnosanitize(trim) validate(string, not_empty, max_len=40, regex=\A[A-Za-z0-9._-]+\z)
:expandlist() | nilnovalidate(list, max_len=20, each=[string, regex=\A[a-z0-9_]+(\.[a-z0-9_]+){0,3}\z])

Functions

builder(attrs_or_input, error \\ false)

enforce_keys()

enforce_keys(field)

example()

A sample %MishkaPay.RawRequest.Options{} populated from defaults + type-based fallbacks.

keys()

keys(field)