Current section

Files

Jump to
docusign lib docusign model account_billing_plan.ex
Raw

lib/docusign/model/account_billing_plan.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.AccountBillingPlan do
@moduledoc """
Contains information about an account billing plan.
"""
@derive [Poison.Encoder]
defstruct [
:addOns,
:canCancelRenewal,
:canUpgrade,
:currencyCode,
:enableSupport,
:includedSeats,
:incrementalSeats,
:isDowngrade,
:otherDiscountPercent,
:paymentCycle,
:paymentMethod,
:perSeatPrice,
:planClassification,
:planFeatureSets,
:planId,
:planName,
:renewalStatus,
:seatDiscounts,
:supportIncidentFee,
:supportPlanFee
]
@type t :: %__MODULE__{
:addOns => [AddOn],
:canCancelRenewal => String.t(),
:canUpgrade => String.t(),
:currencyCode => String.t(),
:enableSupport => String.t(),
:includedSeats => String.t(),
:incrementalSeats => String.t(),
:isDowngrade => String.t(),
:otherDiscountPercent => String.t(),
:paymentCycle => String.t(),
:paymentMethod => String.t(),
:perSeatPrice => String.t(),
:planClassification => String.t(),
:planFeatureSets => [FeatureSet],
:planId => String.t(),
:planName => String.t(),
:renewalStatus => String.t(),
:seatDiscounts => [SeatDiscount],
:supportIncidentFee => String.t(),
:supportPlanFee => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.AccountBillingPlan do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:addOns, :list, DocuSign.Model.AddOn, options)
|> deserialize(:planFeatureSets, :list, DocuSign.Model.FeatureSet, options)
|> deserialize(:seatDiscounts, :list, DocuSign.Model.SeatDiscount, options)
end
end