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

Description

 
Synopsis

Documentation

data UpdateCustomLineItemChargeDetails Source #

A representation of the new charge details of a custom line item. This should contain only one of Flat or Percentage.

See: newUpdateCustomLineItemChargeDetails smart constructor.

Constructors

UpdateCustomLineItemChargeDetails' 

Fields

Instances

Instances details
ToJSON UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

Generic UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

Associated Types

type Rep UpdateCustomLineItemChargeDetails :: Type -> Type #

Read UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

Show UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

NFData UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

Eq UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

Hashable UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

type Rep UpdateCustomLineItemChargeDetails Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.UpdateCustomLineItemChargeDetails

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

newUpdateCustomLineItemChargeDetails :: UpdateCustomLineItemChargeDetails Source #

Create a value of UpdateCustomLineItemChargeDetails 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:UpdateCustomLineItemChargeDetails', updateCustomLineItemChargeDetails_flat - An UpdateCustomLineItemFlatChargeDetails that describes the new charge details of a flat custom line item.

$sel:percentage:UpdateCustomLineItemChargeDetails', updateCustomLineItemChargeDetails_percentage - An UpdateCustomLineItemPercentageChargeDetails that describes the new charge details of a percentage custom line item.

updateCustomLineItemChargeDetails_flat :: Lens' UpdateCustomLineItemChargeDetails (Maybe UpdateCustomLineItemFlatChargeDetails) Source #

An UpdateCustomLineItemFlatChargeDetails that describes the new charge details of a flat custom line item.

updateCustomLineItemChargeDetails_percentage :: Lens' UpdateCustomLineItemChargeDetails (Maybe UpdateCustomLineItemPercentageChargeDetails) Source #

An UpdateCustomLineItemPercentageChargeDetails that describes the new charge details of a percentage custom line item.