amazonka-billingconductor-2.0: Amazon BillingConductor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

Description

 
Synopsis

Documentation

data CustomLineItemChargeDetails Source #

The charge details of a custom line item. It should contain only one of Flat or Percentage.

See: newCustomLineItemChargeDetails smart constructor.

Constructors

CustomLineItemChargeDetails' 

Fields

Instances

Instances details
ToJSON CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

Generic CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

Associated Types

type Rep CustomLineItemChargeDetails :: Type -> Type #

Read CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

Show CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

NFData CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

Eq CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

Hashable CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

type Rep CustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.CustomLineItemChargeDetails

type Rep CustomLineItemChargeDetails = D1 ('MetaData "CustomLineItemChargeDetails" "Amazonka.BillingConductor.Types.CustomLineItemChargeDetails" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "CustomLineItemChargeDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomLineItemFlatChargeDetails)) :*: (S1 ('MetaSel ('Just "percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomLineItemPercentageChargeDetails)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CustomLineItemType))))

newCustomLineItemChargeDetails Source #

Create a value of CustomLineItemChargeDetails 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:flat:CustomLineItemChargeDetails', customLineItemChargeDetails_flat - A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.

$sel:percentage:CustomLineItemChargeDetails', customLineItemChargeDetails_percentage - A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.

$sel:type':CustomLineItemChargeDetails', customLineItemChargeDetails_type - The type of the custom line item that indicates whether the charge is a fee or credit.

customLineItemChargeDetails_flat :: Lens' CustomLineItemChargeDetails (Maybe CustomLineItemFlatChargeDetails) Source #

A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.

customLineItemChargeDetails_percentage :: Lens' CustomLineItemChargeDetails (Maybe CustomLineItemPercentageChargeDetails) Source #

A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.

customLineItemChargeDetails_type :: Lens' CustomLineItemChargeDetails CustomLineItemType Source #

The type of the custom line item that indicates whether the charge is a fee or credit.