stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Shipping

Description

Contains the types generated from the schema Shipping

Synopsis

Documentation

data Shipping Source #

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

Constructors

Shipping 

Fields

  • shippingAddress :: Maybe Address

    address:

  • shippingCarrier :: Maybe Text

    carrier: The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.

    Constraints:

    • Maximum length of 5000
  • shippingName :: Maybe Text

    name: Recipient name.

    Constraints:

    • Maximum length of 5000
  • shippingPhone :: Maybe Text

    phone: Recipient phone (including extension).

    Constraints:

    • Maximum length of 5000
  • shippingTrackingNumber :: Maybe Text

    tracking_number: The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.

    Constraints:

    • Maximum length of 5000

Instances

Instances details
Eq Shipping Source # 
Instance details

Defined in StripeAPI.Types.Shipping

Show Shipping Source # 
Instance details

Defined in StripeAPI.Types.Shipping

ToJSON Shipping Source # 
Instance details

Defined in StripeAPI.Types.Shipping

FromJSON Shipping Source # 
Instance details

Defined in StripeAPI.Types.Shipping

mkShipping :: Shipping Source #

Create a new Shipping with all required fields.