stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Address

Description

Contains the types generated from the schema Address

Synopsis

Documentation

data Address Source #

Defines the data type for the schema address

Constructors

Address 

Fields

  • addressCity :: Maybe String

    city: City, district, suburb, town, or village.

    Constraints:

    • Maximum length of 5000
  • addressCountry :: Maybe String

    country: Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).

    Constraints:

    • Maximum length of 5000
  • addressLine1 :: Maybe String

    line1: Address line 1 (e.g., street, PO Box, or company name).

    Constraints:

    • Maximum length of 5000
  • addressLine2 :: Maybe String

    line2: Address line 2 (e.g., apartment, suite, unit, or building).

    Constraints:

    • Maximum length of 5000
  • addressPostalCode :: Maybe String

    postal_code: ZIP or postal code.

    Constraints:

    • Maximum length of 5000
  • addressState :: Maybe String

    state: State, county, province, or region.

    Constraints:

    • Maximum length of 5000
Instances
Eq Address Source # 
Instance details

Defined in StripeAPI.Types.Address

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Show Address Source # 
Instance details

Defined in StripeAPI.Types.Address

ToJSON Address Source # 
Instance details

Defined in StripeAPI.Types.Address

FromJSON Address Source # 
Instance details

Defined in StripeAPI.Types.Address