| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.PortalCustomerUpdate
Description
Contains the types generated from the schema PortalCustomerUpdate
Synopsis
- data PortalCustomerUpdate = PortalCustomerUpdate {}
- mkPortalCustomerUpdate :: [PortalCustomerUpdateAllowedUpdates'] -> Bool -> PortalCustomerUpdate
- data PortalCustomerUpdateAllowedUpdates'
- = PortalCustomerUpdateAllowedUpdates'Other Value
- | PortalCustomerUpdateAllowedUpdates'Typed Text
- | PortalCustomerUpdateAllowedUpdates'EnumAddress
- | PortalCustomerUpdateAllowedUpdates'EnumEmail
- | PortalCustomerUpdateAllowedUpdates'EnumPhone
- | PortalCustomerUpdateAllowedUpdates'EnumShipping
- | PortalCustomerUpdateAllowedUpdates'EnumTaxId
Documentation
data PortalCustomerUpdate Source #
Defines the object schema located at components.schemas.portal_customer_update in the specification.
Constructors
| PortalCustomerUpdate | |
Fields
| |
Instances
| Eq PortalCustomerUpdate Source # | |
Defined in StripeAPI.Types.PortalCustomerUpdate Methods (==) :: PortalCustomerUpdate -> PortalCustomerUpdate -> Bool # (/=) :: PortalCustomerUpdate -> PortalCustomerUpdate -> Bool # | |
| Show PortalCustomerUpdate Source # | |
Defined in StripeAPI.Types.PortalCustomerUpdate Methods showsPrec :: Int -> PortalCustomerUpdate -> ShowS # show :: PortalCustomerUpdate -> String # showList :: [PortalCustomerUpdate] -> ShowS # | |
| ToJSON PortalCustomerUpdate Source # | |
Defined in StripeAPI.Types.PortalCustomerUpdate Methods toJSON :: PortalCustomerUpdate -> Value # toEncoding :: PortalCustomerUpdate -> Encoding # toJSONList :: [PortalCustomerUpdate] -> Value # toEncodingList :: [PortalCustomerUpdate] -> Encoding # | |
| FromJSON PortalCustomerUpdate Source # | |
Defined in StripeAPI.Types.PortalCustomerUpdate Methods parseJSON :: Value -> Parser PortalCustomerUpdate # parseJSONList :: Value -> Parser [PortalCustomerUpdate] # | |
mkPortalCustomerUpdate Source #
Arguments
| :: [PortalCustomerUpdateAllowedUpdates'] | |
| -> Bool | |
| -> PortalCustomerUpdate |
Create a new PortalCustomerUpdate with all required fields.
data PortalCustomerUpdateAllowedUpdates' Source #
Defines the enum schema located at components.schemas.portal_customer_update.properties.allowed_updates.items in the specification.
Constructors
| PortalCustomerUpdateAllowedUpdates'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PortalCustomerUpdateAllowedUpdates'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PortalCustomerUpdateAllowedUpdates'EnumAddress | Represents the JSON value |
| PortalCustomerUpdateAllowedUpdates'EnumEmail | Represents the JSON value |
| PortalCustomerUpdateAllowedUpdates'EnumPhone | Represents the JSON value |
| PortalCustomerUpdateAllowedUpdates'EnumShipping | Represents the JSON value |
| PortalCustomerUpdateAllowedUpdates'EnumTaxId | Represents the JSON value |