Current section
Files
Jump to
Current section
Files
lib/docusign/model/billing_charge_response.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.BillingChargeResponse do
@moduledoc """
Defines a billing charge response object.
"""
@derive [Poison.Encoder]
defstruct [
:billingChargeItems
]
@type t :: %__MODULE__{
:billingChargeItems => [BillingCharge]
}
end
defimpl Poison.Decoder, for: DocuSign.Model.BillingChargeResponse do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:billingChargeItems, :list, DocuSign.Model.BillingCharge, options)
end
end