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