Current section
Files
Jump to
Current section
Files
lib/docusign/model/account_consumer_disclosures.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.AccountConsumerDisclosures do
@moduledoc """
Account consumer disclosures
"""
@derive [Poison.Encoder]
defstruct [
:accountEsignId,
:allowCDWithdraw,
:allowCDWithdrawMetadata,
:changeEmail,
:changeEmailOther,
:companyName,
:companyPhone,
:copyCostPerPage,
:copyFeeCollectionMethod,
:copyRequestEmail,
:custom,
:enableEsign,
:esignAgreement,
:esignText,
:languageCode,
:mustAgreeToEsign,
:pdfId,
:useBrand,
:useConsumerDisclosureWithinAccount,
:useConsumerDisclosureWithinAccountMetadata,
:withdrawAddressLine1,
:withdrawAddressLine2,
:withdrawByEmail,
:withdrawByMail,
:withdrawByPhone,
:withdrawCity,
:withdrawConsequences,
:withdrawEmail,
:withdrawOther,
:withdrawPhone,
:withdrawPostalCode,
:withdrawState
]
@type t :: %__MODULE__{
:accountEsignId => String.t(),
:allowCDWithdraw => String.t(),
:allowCDWithdrawMetadata => SettingsMetadata,
:changeEmail => String.t(),
:changeEmailOther => String.t(),
:companyName => String.t(),
:companyPhone => String.t(),
:copyCostPerPage => String.t(),
:copyFeeCollectionMethod => String.t(),
:copyRequestEmail => String.t(),
:custom => String.t(),
:enableEsign => String.t(),
:esignAgreement => String.t(),
:esignText => String.t(),
:languageCode => String.t(),
:mustAgreeToEsign => String.t(),
:pdfId => String.t(),
:useBrand => String.t(),
:useConsumerDisclosureWithinAccount => String.t(),
:useConsumerDisclosureWithinAccountMetadata => SettingsMetadata,
:withdrawAddressLine1 => String.t(),
:withdrawAddressLine2 => String.t(),
:withdrawByEmail => String.t(),
:withdrawByMail => String.t(),
:withdrawByPhone => String.t(),
:withdrawCity => String.t(),
:withdrawConsequences => String.t(),
:withdrawEmail => String.t(),
:withdrawOther => String.t(),
:withdrawPhone => String.t(),
:withdrawPostalCode => String.t(),
:withdrawState => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.AccountConsumerDisclosures do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:allowCDWithdrawMetadata, :struct, DocuSign.Model.SettingsMetadata, options)
|> deserialize(
:useConsumerDisclosureWithinAccountMetadata,
:struct,
DocuSign.Model.SettingsMetadata,
options
)
end
end