Current section

Files

Jump to
mollie_api lib mollie_api model entity_profile_response_review.ex
Raw

lib/mollie_api/model/entity_profile_response_review.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.17.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule MollieAPI.Model.EntityProfileResponseReview do
@moduledoc """
Present if changes have been made that have not yet been approved by Mollie. Changes to test profiles are approved automatically, unless a switch to a live profile has been requested. The review object will therefore usually be `null` in test mode.
"""
@derive JSON.Encoder
defstruct [
:status
]
@type t :: %__MODULE__{
:status => MollieAPI.Model.ProfileReviewStatusResponse.t | nil
}
alias MollieAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:status, :struct, MollieAPI.Model.ProfileReviewStatusResponse)
end
end