libZSservicesZSamazonka-outpostsZSamazonka-outposts
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Outposts.Types.Order

Description

 
Synopsis

Documentation

data Order Source #

Information about an order.

See: newOrder smart constructor.

Constructors

Order' 

Fields

Instances

Instances details
Eq Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

Methods

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

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

Read Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

Show Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

Methods

showsPrec :: Int -> Order -> ShowS #

show :: Order -> String #

showList :: [Order] -> ShowS #

Generic Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

Associated Types

type Rep Order :: Type -> Type #

Methods

from :: Order -> Rep Order x #

to :: Rep Order x -> Order #

NFData Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

Methods

rnf :: Order -> () #

Hashable Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

Methods

hashWithSalt :: Int -> Order -> Int #

hash :: Order -> Int #

FromJSON Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

type Rep Order Source # 
Instance details

Defined in Amazonka.Outposts.Types.Order

newOrder :: Order Source #

Create a value of Order with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Order', order_status - The status of the order

$sel:orderSubmissionDate:Order', order_orderSubmissionDate - The submission date for the order.

$sel:lineItems:Order', order_lineItems - The line items for the order

$sel:orderFulfilledDate:Order', order_orderFulfilledDate - The fulfillment date of the order.

$sel:orderId:Order', order_orderId - The ID of the order.

$sel:outpostId:Order', order_outpostId - The ID of the Outpost.

$sel:paymentOption:Order', order_paymentOption - The payment option for the order.

order_status :: Lens' Order (Maybe OrderStatus) Source #

The status of the order

order_orderSubmissionDate :: Lens' Order (Maybe UTCTime) Source #

The submission date for the order.

order_lineItems :: Lens' Order (Maybe [LineItem]) Source #

The line items for the order

order_orderFulfilledDate :: Lens' Order (Maybe UTCTime) Source #

The fulfillment date of the order.

order_orderId :: Lens' Order (Maybe Text) Source #

The ID of the order.

order_outpostId :: Lens' Order (Maybe Text) Source #

The ID of the Outpost.

order_paymentOption :: Lens' Order (Maybe PaymentOption) Source #

The payment option for the order.