| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.DeletedCoupon
Description
Contains the types generated from the schema DeletedCoupon
Synopsis
- data DeletedCoupon = DeletedCoupon {}
- data DeletedCouponDeleted'
- data DeletedCouponObject'
Documentation
data DeletedCoupon Source #
Defines the data type for the schema deleted_coupon
Constructors
| DeletedCoupon | |
Fields
| |
Instances
| Eq DeletedCoupon Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods (==) :: DeletedCoupon -> DeletedCoupon -> Bool # (/=) :: DeletedCoupon -> DeletedCoupon -> Bool # | |
| Show DeletedCoupon Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods showsPrec :: Int -> DeletedCoupon -> ShowS # show :: DeletedCoupon -> String # showList :: [DeletedCoupon] -> ShowS # | |
| ToJSON DeletedCoupon Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods toJSON :: DeletedCoupon -> Value # toEncoding :: DeletedCoupon -> Encoding # toJSONList :: [DeletedCoupon] -> Value # toEncodingList :: [DeletedCoupon] -> Encoding # | |
| FromJSON DeletedCoupon Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods parseJSON :: Value -> Parser DeletedCoupon # parseJSONList :: Value -> Parser [DeletedCoupon] # | |
data DeletedCouponDeleted' Source #
Defines the enum schema deleted_couponDeleted'
Always true for a deleted object
Constructors
| DeletedCouponDeleted'EnumOther Value | |
| DeletedCouponDeleted'EnumTyped Bool | |
| DeletedCouponDeleted'EnumBoolTrue |
Instances
| Eq DeletedCouponDeleted' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods (==) :: DeletedCouponDeleted' -> DeletedCouponDeleted' -> Bool # (/=) :: DeletedCouponDeleted' -> DeletedCouponDeleted' -> Bool # | |
| Show DeletedCouponDeleted' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods showsPrec :: Int -> DeletedCouponDeleted' -> ShowS # show :: DeletedCouponDeleted' -> String # showList :: [DeletedCouponDeleted'] -> ShowS # | |
| ToJSON DeletedCouponDeleted' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods toJSON :: DeletedCouponDeleted' -> Value # toEncoding :: DeletedCouponDeleted' -> Encoding # toJSONList :: [DeletedCouponDeleted'] -> Value # toEncodingList :: [DeletedCouponDeleted'] -> Encoding # | |
| FromJSON DeletedCouponDeleted' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods parseJSON :: Value -> Parser DeletedCouponDeleted' # parseJSONList :: Value -> Parser [DeletedCouponDeleted'] # | |
data DeletedCouponObject' Source #
Defines the enum schema deleted_couponObject'
String representing the object's type. Objects of the same type share the same value.
Constructors
| DeletedCouponObject'EnumOther Value | |
| DeletedCouponObject'EnumTyped String | |
| DeletedCouponObject'EnumStringCoupon |
Instances
| Eq DeletedCouponObject' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods (==) :: DeletedCouponObject' -> DeletedCouponObject' -> Bool # (/=) :: DeletedCouponObject' -> DeletedCouponObject' -> Bool # | |
| Show DeletedCouponObject' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods showsPrec :: Int -> DeletedCouponObject' -> ShowS # show :: DeletedCouponObject' -> String # showList :: [DeletedCouponObject'] -> ShowS # | |
| ToJSON DeletedCouponObject' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods toJSON :: DeletedCouponObject' -> Value # toEncoding :: DeletedCouponObject' -> Encoding # toJSONList :: [DeletedCouponObject'] -> Value # toEncodingList :: [DeletedCouponObject'] -> Encoding # | |
| FromJSON DeletedCouponObject' Source # | |
Defined in StripeAPI.Types.DeletedCoupon Methods parseJSON :: Value -> Parser DeletedCouponObject' # parseJSONList :: Value -> Parser [DeletedCouponObject'] # | |