# NOTE: This file is auto generated by OpenAPI Generator 6.4.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.BillingPaymentsResponse do
@moduledoc """
Defines a billing payments response object.
"""
@derive [Poison.Encoder]
defstruct [
:billingPayments,
:nextUri,
:previousUri
]
@type t :: %__MODULE__{
:billingPayments => [DocuSign.Model.BillingPaymentItem.t()] | nil,
:nextUri => String.t() | nil,
:previousUri => String.t() | nil
}
end
defimpl Poison.Decoder, for: DocuSign.Model.BillingPaymentsResponse do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:billingPayments, :list, DocuSign.Model.BillingPaymentItem, options)
end
end