Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema Issuing_Card
Synopsis
- data Issuing'card = Issuing'card {
- issuing'cardBrand :: Text
- issuing'cardCancellationReason :: Maybe Issuing'cardCancellationReason'
- issuing'cardCardholder :: Issuing'cardholder
- issuing'cardCreated :: Int
- issuing'cardCurrency :: Text
- issuing'cardCvc :: Maybe Text
- issuing'cardExpMonth :: Int
- issuing'cardExpYear :: Int
- issuing'cardId :: Text
- issuing'cardLast4 :: Text
- issuing'cardLivemode :: Bool
- issuing'cardMetadata :: Object
- issuing'cardNumber :: Maybe Text
- issuing'cardReplacedBy :: Maybe Issuing'cardReplacedBy'Variants
- issuing'cardReplacementFor :: Maybe Issuing'cardReplacementFor'Variants
- issuing'cardReplacementReason :: Maybe Issuing'cardReplacementReason'
- issuing'cardShipping :: Maybe Issuing'cardShipping'
- issuing'cardSpendingControls :: IssuingCardAuthorizationControls
- issuing'cardStatus :: Issuing'cardStatus'
- issuing'cardType :: Issuing'cardType'
- mkIssuing'card :: Text -> Issuing'cardholder -> Int -> Text -> Int -> Int -> Text -> Text -> Bool -> Object -> IssuingCardAuthorizationControls -> Issuing'cardStatus' -> Issuing'cardType' -> Issuing'card
- data Issuing'cardCancellationReason'
- data Issuing'cardReplacedBy'Variants
- data Issuing'cardReplacementFor'Variants
- data Issuing'cardReplacementReason'
- data Issuing'cardShipping' = Issuing'cardShipping' {
- issuing'cardShipping'Address :: Maybe Address
- issuing'cardShipping'Carrier :: Maybe Issuing'cardShipping'Carrier'
- issuing'cardShipping'Eta :: Maybe Int
- issuing'cardShipping'Name :: Maybe Text
- issuing'cardShipping'Service :: Maybe Issuing'cardShipping'Service'
- issuing'cardShipping'Status :: Maybe Issuing'cardShipping'Status'
- issuing'cardShipping'TrackingNumber :: Maybe Text
- issuing'cardShipping'TrackingUrl :: Maybe Text
- issuing'cardShipping'Type :: Maybe Issuing'cardShipping'Type'
- mkIssuing'cardShipping' :: Issuing'cardShipping'
- data Issuing'cardShipping'Carrier'
- data Issuing'cardShipping'Service'
- data Issuing'cardShipping'Status'
- = Issuing'cardShipping'Status'Other Value
- | Issuing'cardShipping'Status'Typed Text
- | Issuing'cardShipping'Status'EnumCanceled
- | Issuing'cardShipping'Status'EnumDelivered
- | Issuing'cardShipping'Status'EnumFailure
- | Issuing'cardShipping'Status'EnumPending
- | Issuing'cardShipping'Status'EnumReturned
- | Issuing'cardShipping'Status'EnumShipped
- data Issuing'cardShipping'Type'
- data Issuing'cardStatus'
- data Issuing'cardType'
Documentation
data Issuing'card Source #
Defines the object schema located at components.schemas.issuing.card
in the specification.
You can create physical or virtual cards that are issued to cardholders.
Issuing'card | |
|
Instances
Eq Issuing'card Source # | |
Defined in StripeAPI.Types.Issuing_Card (==) :: Issuing'card -> Issuing'card -> Bool # (/=) :: Issuing'card -> Issuing'card -> Bool # | |
Show Issuing'card Source # | |
Defined in StripeAPI.Types.Issuing_Card showsPrec :: Int -> Issuing'card -> ShowS # show :: Issuing'card -> String # showList :: [Issuing'card] -> ShowS # | |
ToJSON Issuing'card Source # | |
Defined in StripeAPI.Types.Issuing_Card toJSON :: Issuing'card -> Value # toEncoding :: Issuing'card -> Encoding # toJSONList :: [Issuing'card] -> Value # toEncodingList :: [Issuing'card] -> Encoding # | |
FromJSON Issuing'card Source # | |
Defined in StripeAPI.Types.Issuing_Card parseJSON :: Value -> Parser Issuing'card # parseJSONList :: Value -> Parser [Issuing'card] # |
:: Text | |
-> Issuing'cardholder | |
-> Int | |
-> Text | |
-> Int | |
-> Int | |
-> Text | |
-> Text | |
-> Bool | |
-> Object | |
-> IssuingCardAuthorizationControls | |
-> Issuing'cardStatus' | |
-> Issuing'cardType' | |
-> Issuing'card |
Create a new Issuing'card
with all required fields.
data Issuing'cardCancellationReason' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.cancellation_reason
in the specification.
The reason why the card was canceled.
Issuing'cardCancellationReason'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardCancellationReason'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardCancellationReason'EnumLost | Represents the JSON value |
Issuing'cardCancellationReason'EnumStolen | Represents the JSON value |
data Issuing'cardReplacedBy'Variants Source #
Defines the oneOf schema located at components.schemas.issuing.card.properties.replaced_by.anyOf
in the specification.
The latest card that replaces this card, if any.
data Issuing'cardReplacementFor'Variants Source #
Defines the oneOf schema located at components.schemas.issuing.card.properties.replacement_for.anyOf
in the specification.
The card this card replaces, if any.
data Issuing'cardReplacementReason' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.replacement_reason
in the specification.
The reason why the previous card needed to be replaced.
Issuing'cardReplacementReason'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardReplacementReason'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardReplacementReason'EnumDamaged | Represents the JSON value |
Issuing'cardReplacementReason'EnumExpired | Represents the JSON value |
Issuing'cardReplacementReason'EnumLost | Represents the JSON value |
Issuing'cardReplacementReason'EnumStolen | Represents the JSON value |
data Issuing'cardShipping' Source #
Defines the object schema located at components.schemas.issuing.card.properties.shipping.anyOf
in the specification.
Where and how the card will be shipped.
Issuing'cardShipping' | |
|
Instances
Eq Issuing'cardShipping' Source # | |
Defined in StripeAPI.Types.Issuing_Card (==) :: Issuing'cardShipping' -> Issuing'cardShipping' -> Bool # (/=) :: Issuing'cardShipping' -> Issuing'cardShipping' -> Bool # | |
Show Issuing'cardShipping' Source # | |
Defined in StripeAPI.Types.Issuing_Card showsPrec :: Int -> Issuing'cardShipping' -> ShowS # show :: Issuing'cardShipping' -> String # showList :: [Issuing'cardShipping'] -> ShowS # | |
ToJSON Issuing'cardShipping' Source # | |
Defined in StripeAPI.Types.Issuing_Card toJSON :: Issuing'cardShipping' -> Value # toEncoding :: Issuing'cardShipping' -> Encoding # toJSONList :: [Issuing'cardShipping'] -> Value # toEncodingList :: [Issuing'cardShipping'] -> Encoding # | |
FromJSON Issuing'cardShipping' Source # | |
Defined in StripeAPI.Types.Issuing_Card parseJSON :: Value -> Parser Issuing'cardShipping' # parseJSONList :: Value -> Parser [Issuing'cardShipping'] # |
mkIssuing'cardShipping' :: Issuing'cardShipping' Source #
Create a new Issuing'cardShipping'
with all required fields.
data Issuing'cardShipping'Carrier' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.shipping.anyOf.properties.carrier
in the specification.
The delivery company that shipped a card.
Issuing'cardShipping'Carrier'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardShipping'Carrier'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardShipping'Carrier'EnumDhl | Represents the JSON value |
Issuing'cardShipping'Carrier'EnumFedex | Represents the JSON value |
Issuing'cardShipping'Carrier'EnumRoyalMail | Represents the JSON value |
Issuing'cardShipping'Carrier'EnumUsps | Represents the JSON value |
Instances
data Issuing'cardShipping'Service' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.shipping.anyOf.properties.service
in the specification.
Shipment service, such as `standard` or `express`.
Issuing'cardShipping'Service'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardShipping'Service'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardShipping'Service'EnumExpress | Represents the JSON value |
Issuing'cardShipping'Service'EnumPriority | Represents the JSON value |
Issuing'cardShipping'Service'EnumStandard | Represents the JSON value |
Instances
data Issuing'cardShipping'Status' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.shipping.anyOf.properties.status
in the specification.
The delivery status of the card.
Issuing'cardShipping'Status'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardShipping'Status'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardShipping'Status'EnumCanceled | Represents the JSON value |
Issuing'cardShipping'Status'EnumDelivered | Represents the JSON value |
Issuing'cardShipping'Status'EnumFailure | Represents the JSON value |
Issuing'cardShipping'Status'EnumPending | Represents the JSON value |
Issuing'cardShipping'Status'EnumReturned | Represents the JSON value |
Issuing'cardShipping'Status'EnumShipped | Represents the JSON value |
Instances
data Issuing'cardShipping'Type' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.shipping.anyOf.properties.type
in the specification.
Packaging options.
Issuing'cardShipping'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardShipping'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardShipping'Type'EnumBulk | Represents the JSON value |
Issuing'cardShipping'Type'EnumIndividual | Represents the JSON value |
Instances
Eq Issuing'cardShipping'Type' Source # | |
Defined in StripeAPI.Types.Issuing_Card | |
Show Issuing'cardShipping'Type' Source # | |
Defined in StripeAPI.Types.Issuing_Card showsPrec :: Int -> Issuing'cardShipping'Type' -> ShowS # show :: Issuing'cardShipping'Type' -> String # showList :: [Issuing'cardShipping'Type'] -> ShowS # | |
ToJSON Issuing'cardShipping'Type' Source # | |
Defined in StripeAPI.Types.Issuing_Card | |
FromJSON Issuing'cardShipping'Type' Source # | |
Defined in StripeAPI.Types.Issuing_Card |
data Issuing'cardStatus' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.status
in the specification.
Whether authorizations can be approved on this card.
Issuing'cardStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardStatus'EnumActive | Represents the JSON value |
Issuing'cardStatus'EnumCanceled | Represents the JSON value |
Issuing'cardStatus'EnumInactive | Represents the JSON value |
Instances
Eq Issuing'cardStatus' Source # | |
Defined in StripeAPI.Types.Issuing_Card (==) :: Issuing'cardStatus' -> Issuing'cardStatus' -> Bool # (/=) :: Issuing'cardStatus' -> Issuing'cardStatus' -> Bool # | |
Show Issuing'cardStatus' Source # | |
Defined in StripeAPI.Types.Issuing_Card showsPrec :: Int -> Issuing'cardStatus' -> ShowS # show :: Issuing'cardStatus' -> String # showList :: [Issuing'cardStatus'] -> ShowS # | |
ToJSON Issuing'cardStatus' Source # | |
Defined in StripeAPI.Types.Issuing_Card toJSON :: Issuing'cardStatus' -> Value # toEncoding :: Issuing'cardStatus' -> Encoding # toJSONList :: [Issuing'cardStatus'] -> Value # toEncodingList :: [Issuing'cardStatus'] -> Encoding # | |
FromJSON Issuing'cardStatus' Source # | |
Defined in StripeAPI.Types.Issuing_Card parseJSON :: Value -> Parser Issuing'cardStatus' # parseJSONList :: Value -> Parser [Issuing'cardStatus'] # |
data Issuing'cardType' Source #
Defines the enum schema located at components.schemas.issuing.card.properties.type
in the specification.
The type of the card.
Issuing'cardType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Issuing'cardType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Issuing'cardType'EnumPhysical | Represents the JSON value |
Issuing'cardType'EnumVirtual | Represents the JSON value |
Instances
Eq Issuing'cardType' Source # | |
Defined in StripeAPI.Types.Issuing_Card (==) :: Issuing'cardType' -> Issuing'cardType' -> Bool # (/=) :: Issuing'cardType' -> Issuing'cardType' -> Bool # | |
Show Issuing'cardType' Source # | |
Defined in StripeAPI.Types.Issuing_Card showsPrec :: Int -> Issuing'cardType' -> ShowS # show :: Issuing'cardType' -> String # showList :: [Issuing'cardType'] -> ShowS # | |
ToJSON Issuing'cardType' Source # | |
Defined in StripeAPI.Types.Issuing_Card toJSON :: Issuing'cardType' -> Value # toEncoding :: Issuing'cardType' -> Encoding # toJSONList :: [Issuing'cardType'] -> Value # toEncodingList :: [Issuing'cardType'] -> Encoding # | |
FromJSON Issuing'cardType' Source # | |
Defined in StripeAPI.Types.Issuing_Card parseJSON :: Value -> Parser Issuing'cardType' # parseJSONList :: Value -> Parser [Issuing'cardType'] # |