Packages
AdyenCheckoutEx is an unofficial API client for Adyen Checkout
Retired package: Deprecated - Easy to build a custom API client instead
Current section
Files
Jump to
Current section
Files
lib/adyen_checkout_ex/model/fraud_result.ex
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule AdyenCheckoutEx.Model.FraudResult do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"accountScore",
:"results"
]
@type t :: %__MODULE__{
:"accountScore" => integer(),
:"results" => [AdyenCheckoutEx.Model.FraudCheckResult.t] | nil
}
end
defimpl Poison.Decoder, for: AdyenCheckoutEx.Model.FraudResult do
import AdyenCheckoutEx.Deserializer
def decode(value, options) do
value
|> deserialize(:"results", :list, AdyenCheckoutEx.Model.FraudCheckResult, options)
end
end