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.LineItem

Description

 
Synopsis

Documentation

data LineItem Source #

Information about a line item.

See: newLineItem smart constructor.

Constructors

LineItem' 

Fields

Instances

Instances details
Eq LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

Read LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

Show LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

Generic LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

Associated Types

type Rep LineItem :: Type -> Type #

Methods

from :: LineItem -> Rep LineItem x #

to :: Rep LineItem x -> LineItem #

NFData LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

Methods

rnf :: LineItem -> () #

Hashable LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

Methods

hashWithSalt :: Int -> LineItem -> Int #

hash :: LineItem -> Int #

FromJSON LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

type Rep LineItem Source # 
Instance details

Defined in Amazonka.Outposts.Types.LineItem

type Rep LineItem = D1 ('MetaData "LineItem" "Amazonka.Outposts.Types.LineItem" "libZSservicesZSamazonka-outpostsZSamazonka-outposts" 'False) (C1 ('MetaCons "LineItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "catalogItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lineItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLineItem :: LineItem Source #

Create a value of LineItem 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:LineItem', lineItem_status - The status of the line item.

$sel:quantity:LineItem', lineItem_quantity - The quantity of the line item.

$sel:catalogItemId:LineItem', lineItem_catalogItemId - The ID of the catalog item.

$sel:lineItemId:LineItem', lineItem_lineItemId - The ID of the line item.

lineItem_status :: Lens' LineItem (Maybe Text) Source #

The status of the line item.

lineItem_quantity :: Lens' LineItem (Maybe Natural) Source #

The quantity of the line item.

lineItem_catalogItemId :: Lens' LineItem (Maybe Text) Source #

The ID of the catalog item.

lineItem_lineItemId :: Lens' LineItem (Maybe Text) Source #

The ID of the line item.