Current section

Files

Jump to
docusign lib docusign model billing_plan_update_response.ex
Raw

lib/docusign/model/billing_plan_update_response.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.BillingPlanUpdateResponse do
@moduledoc """
Defines a billing plan update response object.
"""
alias DocuSign.Deserializer
alias DocuSign.Model.BillingPlanPreview
@derive Jason.Encoder
defstruct [
:accountPaymentMethod,
:billingPlanPreview,
:currencyCode,
:includedSeats,
:paymentCycle,
:paymentMethod,
:planId,
:planName
]
@type t :: %__MODULE__{
:accountPaymentMethod => String.t() | nil,
:billingPlanPreview => BillingPlanPreview.t() | nil,
:currencyCode => String.t() | nil,
:includedSeats => String.t() | nil,
:paymentCycle => String.t() | nil,
:paymentMethod => String.t() | nil,
:planId => String.t() | nil,
:planName => String.t() | nil
}
def decode(value) do
value
|> Deserializer.deserialize(:billingPlanPreview, :struct, BillingPlanPreview)
end
end