Skip to main content

lib/docusign/model/money.ex

# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.

defmodule DocuSign.Model.Money do
  @moduledoc """
  Describes information about the `total` of a payment. 
  """

  @derive [Poison.Encoder]
  defstruct [
    :amountInBaseUnit,
    :currency,
    :displayAmount
  ]

  @type t :: %__MODULE__{
          :amountInBaseUnit => String.t(),
          :currency => String.t(),
          :displayAmount => String.t()
        }
end

defimpl Poison.Decoder, for: DocuSign.Model.Money do
  def decode(value, _options) do
    value
  end
end