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