Current section
Files
Jump to
Current section
Files
lib/docusign/model/currency_plan_price.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.CurrencyPlanPrice do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:currencyCode,
:currencySymbol,
:perSeatPrice,
:supportedCardTypes,
:supportIncidentFee,
:supportPlanFee
]
@type t :: %__MODULE__{
:currencyCode => String.t(),
:currencySymbol => String.t(),
:perSeatPrice => String.t(),
:supportedCardTypes => CreditCardTypes,
:supportIncidentFee => String.t(),
:supportPlanFee => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.CurrencyPlanPrice do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:supportedCardTypes, :struct, DocuSign.Model.CreditCardTypes, options)
end
end