| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Types.GiftCardDeliveryCreate
Description
Contains the types generated from the schema GiftCardDeliveryCreate
Synopsis
- data GiftCardDeliveryCreate = GiftCardDeliveryCreate {
- giftCardDeliveryCreateDeliver_at :: Maybe JsonDateTime
- giftCardDeliveryCreateEmail_address :: Maybe Text
- giftCardDeliveryCreateFirst_name :: Maybe Text
- giftCardDeliveryCreateGifter_name :: Maybe Text
- giftCardDeliveryCreateLast_name :: Maybe Text
- giftCardDeliveryCreateMethod :: GiftCardDeliveryCreateMethod
- giftCardDeliveryCreatePersonal_message :: Maybe Text
- giftCardDeliveryCreateRecipient_address :: Maybe Address
- mkGiftCardDeliveryCreate :: GiftCardDeliveryCreateMethod -> GiftCardDeliveryCreate
- data GiftCardDeliveryCreateMethod
Documentation
data GiftCardDeliveryCreate Source #
Defines the object schema located at components.schemas.GiftCardDeliveryCreate in the specification.
Gift card delivery details
Constructors
| GiftCardDeliveryCreate | |
Fields
| |
Instances
| FromJSON GiftCardDeliveryCreate Source # | |
Defined in RecurlyClient.Types.GiftCardDeliveryCreate Methods parseJSON :: Value -> Parser GiftCardDeliveryCreate # parseJSONList :: Value -> Parser [GiftCardDeliveryCreate] # | |
| ToJSON GiftCardDeliveryCreate Source # | |
Defined in RecurlyClient.Types.GiftCardDeliveryCreate Methods toJSON :: GiftCardDeliveryCreate -> Value # toEncoding :: GiftCardDeliveryCreate -> Encoding # toJSONList :: [GiftCardDeliveryCreate] -> Value # | |
| Show GiftCardDeliveryCreate Source # | |
Defined in RecurlyClient.Types.GiftCardDeliveryCreate Methods showsPrec :: Int -> GiftCardDeliveryCreate -> ShowS # show :: GiftCardDeliveryCreate -> String # showList :: [GiftCardDeliveryCreate] -> ShowS # | |
| Eq GiftCardDeliveryCreate Source # | |
Defined in RecurlyClient.Types.GiftCardDeliveryCreate Methods (==) :: GiftCardDeliveryCreate -> GiftCardDeliveryCreate -> Bool # (/=) :: GiftCardDeliveryCreate -> GiftCardDeliveryCreate -> Bool # | |
mkGiftCardDeliveryCreate Source #
Create a new GiftCardDeliveryCreate with all required fields.
data GiftCardDeliveryCreateMethod Source #
Defines the enum schema located at components.schemas.GiftCardDeliveryCreate.properties.method in the specification.
Whether the delivery method is email or postal service.
Constructors
| GiftCardDeliveryCreateMethodOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| GiftCardDeliveryCreateMethodTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| GiftCardDeliveryCreateMethodEnumEmail | Represents the JSON value |
| GiftCardDeliveryCreateMethodEnumPost | Represents the JSON value |