Inttegro.UpdateOrderRequest (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro request parameters.

Summary

Types

t()

@type t() :: %Inttegro.UpdateOrderRequest{
  clear_payment_method: boolean() | nil,
  custom_data: %{optional(String.t()) => String.t()} | nil,
  finalize: boolean() | nil,
  invoice_settings: Inttegro.InvoiceSettingsInput.t() | nil,
  line_items: [term()] | nil,
  number: String.t() | nil,
  order_id: String.t(),
  payment_method_data: Inttegro.UpdateOrderRequestPaymentMethodData.t() | nil,
  payment_method_id: String.t() | nil,
  receipt_number: String.t() | nil,
  statement_descriptor: String.t() | nil,
  statement_descriptor_prefix: String.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()