Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data UpdateCustomLineItemChargeDetails = UpdateCustomLineItemChargeDetails' {}
- newUpdateCustomLineItemChargeDetails :: UpdateCustomLineItemChargeDetails
- updateCustomLineItemChargeDetails_flat :: Lens' UpdateCustomLineItemChargeDetails (Maybe UpdateCustomLineItemFlatChargeDetails)
- updateCustomLineItemChargeDetails_percentage :: Lens' UpdateCustomLineItemChargeDetails (Maybe UpdateCustomLineItemPercentageChargeDetails)
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.
UpdateCustomLineItemChargeDetails' | |
|
Instances
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.