stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.DeliveryEstimate

Description

Contains the types generated from the schema DeliveryEstimate

Synopsis

Documentation

data DeliveryEstimate Source #

Defines the object schema located at components.schemas.delivery_estimate in the specification.

Constructors

DeliveryEstimate 

Fields

  • deliveryEstimateDate :: Maybe Text

    date: If `type` is `"exact"`, `date` will be the expected delivery date in the format YYYY-MM-DD.

    Constraints:

    • Maximum length of 5000
  • deliveryEstimateEarliest :: Maybe Text

    earliest: If `type` is `"range"`, `earliest` will be be the earliest delivery date in the format YYYY-MM-DD.

    Constraints:

    • Maximum length of 5000
  • deliveryEstimateLatest :: Maybe Text

    latest: If `type` is `"range"`, `latest` will be the latest delivery date in the format YYYY-MM-DD.

    Constraints:

    • Maximum length of 5000
  • deliveryEstimateType :: Text

    type: The type of estimate. Must be either `"range"` or `"exact"`.

    Constraints:

    • Maximum length of 5000

mkDeliveryEstimate Source #

Create a new DeliveryEstimate with all required fields.