Current section

Files

Jump to
docusign lib docusign model billing_plan_preview.ex
Raw

lib/docusign/model/billing_plan_preview.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.BillingPlanPreview do
@moduledoc """
Information used to provide a preview of a billing plan.
"""
@derive Jason.Encoder
defstruct [
:currencyCode,
:invoice,
:isProrated,
:subtotalAmount,
:taxAmount,
:totalAmount
]
@type t :: %__MODULE__{
:currencyCode => String.t() | nil,
:invoice => DocuSign.Model.BillingInvoice.t() | nil,
:isProrated => String.t() | nil,
:subtotalAmount => String.t() | nil,
:taxAmount => String.t() | nil,
:totalAmount => String.t() | nil
}
alias DocuSign.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:invoice, :struct, DocuSign.Model.BillingInvoice)
end
end