iyzico v1.6.2 Iyzico.Metadata

A module containing request metadata related utilities.

Link to this section Summary

Types

t()

Provides metadata of a response from server

Link to this section Types

Link to this type t()
t() :: %Iyzico.Metadata{auth_code: binary(), locale: binary(), phase: atom(), succeed?: boolean(), system_time: integer()}

Provides metadata of a response from server.

Fields:

  • :system_time: System epoch in milliseconds.
  • :succeed?: Boolean value indicating success of operation.
  • :phase: :auth if request was authorized successfully, else nil.
  • :locale: Locale of the response.
  • :auth_code: Authentication related string returned in response.