Current section
Files
Jump to
Current section
Files
lib/docusign/model/recipient_signature_information.ex
# NOTE: This file is auto generated by OpenAPI Generator
# https://openapi-generator.tech
# Do not edit this file manually.
defmodule DocuSign.Model.RecipientSignatureInformation do
@moduledoc """
Allows the sender to pre-specify the signature name, signature initials and signature font used in the signature stamp for the recipient. Used only with recipient types In Person Signers and Signers.
"""
defstruct [
:fontStyle,
:signatureInitials,
:signatureName
]
@doc false
defimpl Jason.Encoder, for: __MODULE__ do
def encode(struct, opts) do
struct
|> Map.from_struct()
|> Enum.reject(fn {_k, v} -> is_nil(v) end)
|> Map.new()
|> Jason.Encode.map(opts)
end
end
@type t :: %__MODULE__{
:fontStyle => String.t() | nil,
:signatureInitials => String.t() | nil,
:signatureName => String.t() | nil
}
def decode(value) do
struct(__MODULE__, value)
end
end