| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.ShippingMethod
Description
Contains the types generated from the schema ShippingMethod
Synopsis
Documentation
data ShippingMethod Source #
Defines the object schema located at components.schemas.shipping_method in the specification.
Constructors
| ShippingMethod | |
Fields
| |
Instances
| Eq ShippingMethod Source # | |
Defined in StripeAPI.Types.ShippingMethod Methods (==) :: ShippingMethod -> ShippingMethod -> Bool # (/=) :: ShippingMethod -> ShippingMethod -> Bool # | |
| Show ShippingMethod Source # | |
Defined in StripeAPI.Types.ShippingMethod Methods showsPrec :: Int -> ShippingMethod -> ShowS # show :: ShippingMethod -> String # showList :: [ShippingMethod] -> ShowS # | |
| ToJSON ShippingMethod Source # | |
Defined in StripeAPI.Types.ShippingMethod Methods toJSON :: ShippingMethod -> Value # toEncoding :: ShippingMethod -> Encoding # toJSONList :: [ShippingMethod] -> Value # toEncodingList :: [ShippingMethod] -> Encoding # | |
| FromJSON ShippingMethod Source # | |
Defined in StripeAPI.Types.ShippingMethod Methods parseJSON :: Value -> Parser ShippingMethod # parseJSONList :: Value -> Parser [ShippingMethod] # | |
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> ShippingMethod |
Create a new ShippingMethod with all required fields.
data ShippingMethodDeliveryEstimate' Source #
Defines the object schema located at components.schemas.shipping_method.properties.delivery_estimate.anyOf in the specification.
The estimated delivery date for the given shipping method. Can be either a specific date or a range.
Constructors
| ShippingMethodDeliveryEstimate' | |
Fields
| |
Instances
| Eq ShippingMethodDeliveryEstimate' Source # | |
Defined in StripeAPI.Types.ShippingMethod | |
| Show ShippingMethodDeliveryEstimate' Source # | |
Defined in StripeAPI.Types.ShippingMethod Methods showsPrec :: Int -> ShippingMethodDeliveryEstimate' -> ShowS # | |
| ToJSON ShippingMethodDeliveryEstimate' Source # | |
Defined in StripeAPI.Types.ShippingMethod | |
| FromJSON ShippingMethodDeliveryEstimate' Source # | |
Defined in StripeAPI.Types.ShippingMethod Methods parseJSON :: Value -> Parser ShippingMethodDeliveryEstimate' # parseJSONList :: Value -> Parser [ShippingMethodDeliveryEstimate'] # | |
mkShippingMethodDeliveryEstimate' :: ShippingMethodDeliveryEstimate' Source #
Create a new ShippingMethodDeliveryEstimate' with all required fields.