{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE OverloadedStrings #-}
module StripeAPI.Types.IssuingDisputeOtherEvidence where
import qualified Control.Monad.Fail
import qualified Data.Aeson
import qualified Data.Aeson as Data.Aeson.Encoding.Internal
import qualified Data.Aeson as Data.Aeson.Types
import qualified Data.Aeson as Data.Aeson.Types.FromJSON
import qualified Data.Aeson as Data.Aeson.Types.Internal
import qualified Data.Aeson as Data.Aeson.Types.ToJSON
import qualified Data.ByteString.Char8
import qualified Data.ByteString.Char8 as Data.ByteString.Internal
import qualified Data.Functor
import qualified Data.Scientific
import qualified Data.Text
import qualified Data.Text.Internal
import qualified Data.Time.Calendar as Data.Time.Calendar.Days
import qualified Data.Time.LocalTime as Data.Time.LocalTime.Internal.ZonedTime
import qualified GHC.Base
import qualified GHC.Classes
import qualified GHC.Int
import qualified GHC.Show
import qualified GHC.Types
import qualified StripeAPI.Common
import StripeAPI.TypeAlias
import {-# SOURCE #-} StripeAPI.Types.File
import qualified Prelude as GHC.Integer.Type
import qualified Prelude as GHC.Maybe
data IssuingDisputeOtherEvidence = IssuingDisputeOtherEvidence
{
IssuingDisputeOtherEvidence
-> Maybe
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
issuingDisputeOtherEvidenceAdditionalDocumentation :: (GHC.Maybe.Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants),
IssuingDisputeOtherEvidence -> Maybe Text
issuingDisputeOtherEvidenceExplanation :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
IssuingDisputeOtherEvidence -> Maybe Text
issuingDisputeOtherEvidenceProductDescription :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
IssuingDisputeOtherEvidence
-> Maybe IssuingDisputeOtherEvidenceProductType'
issuingDisputeOtherEvidenceProductType :: (GHC.Maybe.Maybe IssuingDisputeOtherEvidenceProductType')
}
deriving
( Int -> IssuingDisputeOtherEvidence -> ShowS
[IssuingDisputeOtherEvidence] -> ShowS
IssuingDisputeOtherEvidence -> String
(Int -> IssuingDisputeOtherEvidence -> ShowS)
-> (IssuingDisputeOtherEvidence -> String)
-> ([IssuingDisputeOtherEvidence] -> ShowS)
-> Show IssuingDisputeOtherEvidence
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IssuingDisputeOtherEvidence] -> ShowS
$cshowList :: [IssuingDisputeOtherEvidence] -> ShowS
show :: IssuingDisputeOtherEvidence -> String
$cshow :: IssuingDisputeOtherEvidence -> String
showsPrec :: Int -> IssuingDisputeOtherEvidence -> ShowS
$cshowsPrec :: Int -> IssuingDisputeOtherEvidence -> ShowS
GHC.Show.Show,
IssuingDisputeOtherEvidence -> IssuingDisputeOtherEvidence -> Bool
(IssuingDisputeOtherEvidence
-> IssuingDisputeOtherEvidence -> Bool)
-> (IssuingDisputeOtherEvidence
-> IssuingDisputeOtherEvidence -> Bool)
-> Eq IssuingDisputeOtherEvidence
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IssuingDisputeOtherEvidence -> IssuingDisputeOtherEvidence -> Bool
$c/= :: IssuingDisputeOtherEvidence -> IssuingDisputeOtherEvidence -> Bool
== :: IssuingDisputeOtherEvidence -> IssuingDisputeOtherEvidence -> Bool
$c== :: IssuingDisputeOtherEvidence -> IssuingDisputeOtherEvidence -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON IssuingDisputeOtherEvidence where
toJSON :: IssuingDisputeOtherEvidence -> Value
toJSON IssuingDisputeOtherEvidence
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"additional_documentation" Text
-> Maybe
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence
-> Maybe
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
issuingDisputeOtherEvidenceAdditionalDocumentation IssuingDisputeOtherEvidence
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"explanation" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence -> Maybe Text
issuingDisputeOtherEvidenceExplanation IssuingDisputeOtherEvidence
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"product_description" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence -> Maybe Text
issuingDisputeOtherEvidenceProductDescription IssuingDisputeOtherEvidence
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"product_type" Text -> Maybe IssuingDisputeOtherEvidenceProductType' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence
-> Maybe IssuingDisputeOtherEvidenceProductType'
issuingDisputeOtherEvidenceProductType IssuingDisputeOtherEvidence
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: IssuingDisputeOtherEvidence -> Encoding
toEncoding IssuingDisputeOtherEvidence
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"additional_documentation" Text
-> Maybe
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence
-> Maybe
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
issuingDisputeOtherEvidenceAdditionalDocumentation IssuingDisputeOtherEvidence
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"explanation" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence -> Maybe Text
issuingDisputeOtherEvidenceExplanation IssuingDisputeOtherEvidence
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"product_description" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence -> Maybe Text
issuingDisputeOtherEvidenceProductDescription IssuingDisputeOtherEvidence
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"product_type" Text -> Maybe IssuingDisputeOtherEvidenceProductType' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= IssuingDisputeOtherEvidence
-> Maybe IssuingDisputeOtherEvidenceProductType'
issuingDisputeOtherEvidenceProductType IssuingDisputeOtherEvidence
obj))))
instance Data.Aeson.Types.FromJSON.FromJSON IssuingDisputeOtherEvidence where
parseJSON :: Value -> Parser IssuingDisputeOtherEvidence
parseJSON = String
-> (Object -> Parser IssuingDisputeOtherEvidence)
-> Value
-> Parser IssuingDisputeOtherEvidence
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"IssuingDisputeOtherEvidence" (\Object
obj -> ((((Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
-> Parser
(Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence
IssuingDisputeOtherEvidence Parser
(Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
-> Parser
(Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text
-> Parser
(Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"additional_documentation")) Parser
(Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"explanation")) Parser
(Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
-> Parser (Maybe Text)
-> Parser
(Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"product_description")) Parser
(Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence)
-> Parser (Maybe IssuingDisputeOtherEvidenceProductType')
-> Parser IssuingDisputeOtherEvidence
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text -> Parser (Maybe IssuingDisputeOtherEvidenceProductType')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"product_type"))
mkIssuingDisputeOtherEvidence :: IssuingDisputeOtherEvidence
mkIssuingDisputeOtherEvidence :: IssuingDisputeOtherEvidence
mkIssuingDisputeOtherEvidence =
IssuingDisputeOtherEvidence :: Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Maybe Text
-> Maybe Text
-> Maybe IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidence
IssuingDisputeOtherEvidence
{ issuingDisputeOtherEvidenceAdditionalDocumentation :: Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
issuingDisputeOtherEvidenceAdditionalDocumentation = Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall a. Maybe a
GHC.Maybe.Nothing,
issuingDisputeOtherEvidenceExplanation :: Maybe Text
issuingDisputeOtherEvidenceExplanation = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
issuingDisputeOtherEvidenceProductDescription :: Maybe Text
issuingDisputeOtherEvidenceProductDescription = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
issuingDisputeOtherEvidenceProductType :: Maybe IssuingDisputeOtherEvidenceProductType'
issuingDisputeOtherEvidenceProductType = Maybe IssuingDisputeOtherEvidenceProductType'
forall a. Maybe a
GHC.Maybe.Nothing
}
data IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
= IssuingDisputeOtherEvidenceAdditionalDocumentation'Text Data.Text.Internal.Text
| IssuingDisputeOtherEvidenceAdditionalDocumentation'File File
deriving (Int
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> ShowS
[IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants]
-> ShowS
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> String
(Int
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> ShowS)
-> (IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> String)
-> ([IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants]
-> ShowS)
-> Show IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants]
-> ShowS
$cshowList :: [IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants]
-> ShowS
show :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> String
$cshow :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> String
showsPrec :: Int
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> ShowS
$cshowsPrec :: Int
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> ShowS
GHC.Show.Show, IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool
(IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool)
-> (IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool)
-> Eq IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool
$c/= :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool
== :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool
$c== :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants where
toJSON :: IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Value
toJSON (IssuingDisputeOtherEvidenceAdditionalDocumentation'Text Text
a) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
a
toJSON (IssuingDisputeOtherEvidenceAdditionalDocumentation'File File
a) = File -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON File
a
instance Data.Aeson.Types.FromJSON.FromJSON IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants where
parseJSON :: Value
-> Parser
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
parseJSON Value
val = case (Text -> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
IssuingDisputeOtherEvidenceAdditionalDocumentation'Text (Text
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants)
-> Result Text
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Text
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> ((File -> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
IssuingDisputeOtherEvidenceAdditionalDocumentation'File (File
-> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants)
-> Result File
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result File
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> String
-> Result
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall a. String -> Result a
Data.Aeson.Types.Internal.Error String
"No variant matched") of
Data.Aeson.Types.Internal.Success IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
a -> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-> Parser
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
a
Data.Aeson.Types.Internal.Error String
a -> String
-> Parser
IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
forall (m :: * -> *) a. MonadFail m => String -> m a
Control.Monad.Fail.fail String
a
data IssuingDisputeOtherEvidenceProductType'
=
IssuingDisputeOtherEvidenceProductType'Other Data.Aeson.Types.Internal.Value
|
IssuingDisputeOtherEvidenceProductType'Typed Data.Text.Internal.Text
|
IssuingDisputeOtherEvidenceProductType'EnumMerchandise
|
IssuingDisputeOtherEvidenceProductType'EnumService
deriving (Int -> IssuingDisputeOtherEvidenceProductType' -> ShowS
[IssuingDisputeOtherEvidenceProductType'] -> ShowS
IssuingDisputeOtherEvidenceProductType' -> String
(Int -> IssuingDisputeOtherEvidenceProductType' -> ShowS)
-> (IssuingDisputeOtherEvidenceProductType' -> String)
-> ([IssuingDisputeOtherEvidenceProductType'] -> ShowS)
-> Show IssuingDisputeOtherEvidenceProductType'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IssuingDisputeOtherEvidenceProductType'] -> ShowS
$cshowList :: [IssuingDisputeOtherEvidenceProductType'] -> ShowS
show :: IssuingDisputeOtherEvidenceProductType' -> String
$cshow :: IssuingDisputeOtherEvidenceProductType' -> String
showsPrec :: Int -> IssuingDisputeOtherEvidenceProductType' -> ShowS
$cshowsPrec :: Int -> IssuingDisputeOtherEvidenceProductType' -> ShowS
GHC.Show.Show, IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool
(IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool)
-> (IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool)
-> Eq IssuingDisputeOtherEvidenceProductType'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool
$c/= :: IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool
== :: IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool
$c== :: IssuingDisputeOtherEvidenceProductType'
-> IssuingDisputeOtherEvidenceProductType' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON IssuingDisputeOtherEvidenceProductType' where
toJSON :: IssuingDisputeOtherEvidenceProductType' -> Value
toJSON (IssuingDisputeOtherEvidenceProductType'Other Value
val) = Value
val
toJSON (IssuingDisputeOtherEvidenceProductType'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (IssuingDisputeOtherEvidenceProductType'
IssuingDisputeOtherEvidenceProductType'EnumMerchandise) = Value
"merchandise"
toJSON (IssuingDisputeOtherEvidenceProductType'
IssuingDisputeOtherEvidenceProductType'EnumService) = Value
"service"
instance Data.Aeson.Types.FromJSON.FromJSON IssuingDisputeOtherEvidenceProductType' where
parseJSON :: Value -> Parser IssuingDisputeOtherEvidenceProductType'
parseJSON Value
val =
IssuingDisputeOtherEvidenceProductType'
-> Parser IssuingDisputeOtherEvidenceProductType'
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure
( if
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"merchandise" -> IssuingDisputeOtherEvidenceProductType'
IssuingDisputeOtherEvidenceProductType'EnumMerchandise
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"service" -> IssuingDisputeOtherEvidenceProductType'
IssuingDisputeOtherEvidenceProductType'EnumService
| Bool
GHC.Base.otherwise -> Value -> IssuingDisputeOtherEvidenceProductType'
IssuingDisputeOtherEvidenceProductType'Other Value
val
)