Current section
Files
Jump to
Current section
Files
lib/docusign/model/account_billing_plan.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.AccountBillingPlan do
@moduledoc """
Contains information about an account billing plan.
"""
@derive Jason.Encoder
defstruct [
:addOns,
:appStoreReceiptExpirationDate,
:appStoreReceiptPurchaseDate,
:canCancelRenewal,
:canUpgrade,
:currencyCode,
:downgradePlanInformation,
:enableSupport,
:includedSeats,
:incrementalSeats,
:isDowngrade,
:notificationType,
:otherDiscountPercent,
:paymentCycle,
:paymentMethod,
:perSeatPrice,
:planClassification,
:planFeatureSets,
:planId,
:planName,
:planStartDate,
:productId,
:renewalDate,
:renewalStatus,
:seatDiscounts,
:subscriptionStartDate,
:supportIncidentFee,
:supportPlanFee,
:taxExemptId
]
@type t :: %__MODULE__{
:addOns => [DocuSign.Model.AddOn.t()] | nil,
:appStoreReceiptExpirationDate => String.t() | nil,
:appStoreReceiptPurchaseDate => String.t() | nil,
:canCancelRenewal => String.t() | nil,
:canUpgrade => String.t() | nil,
:currencyCode => String.t() | nil,
:downgradePlanInformation => DocuSign.Model.DowngradePlanUpdateResponse.t() | nil,
:enableSupport => String.t() | nil,
:includedSeats => String.t() | nil,
:incrementalSeats => String.t() | nil,
:isDowngrade => String.t() | nil,
:notificationType => String.t() | nil,
:otherDiscountPercent => String.t() | nil,
:paymentCycle => String.t() | nil,
:paymentMethod => String.t() | nil,
:perSeatPrice => String.t() | nil,
:planClassification => String.t() | nil,
:planFeatureSets => [DocuSign.Model.FeatureSet.t()] | nil,
:planId => String.t() | nil,
:planName => String.t() | nil,
:planStartDate => String.t() | nil,
:productId => String.t() | nil,
:renewalDate => String.t() | nil,
:renewalStatus => String.t() | nil,
:seatDiscounts => [DocuSign.Model.SeatDiscount.t()] | nil,
:subscriptionStartDate => String.t() | nil,
:supportIncidentFee => String.t() | nil,
:supportPlanFee => String.t() | nil,
:taxExemptId => String.t() | nil
}
alias DocuSign.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:addOns, :list, DocuSign.Model.AddOn)
|> Deserializer.deserialize(
:downgradePlanInformation,
:struct,
DocuSign.Model.DowngradePlanUpdateResponse
)
|> Deserializer.deserialize(:planFeatureSets, :list, DocuSign.Model.FeatureSet)
|> Deserializer.deserialize(:seatDiscounts, :list, DocuSign.Model.SeatDiscount)
end
end