Interface CfnCustomLineItem.ICustomLineItemChargeDetailsProperty
The charge details of a custom line item.
Namespace: Amazon.CDK.AWS.BillingConductor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICustomLineItemChargeDetailsProperty
Syntax (vb)
Public Interface ICustomLineItemChargeDetailsProperty
Remarks
It should contain only one of Flat
or Percentage
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BillingConductor;
var customLineItemChargeDetailsProperty = new CustomLineItemChargeDetailsProperty {
Type = "type",
// the properties below are optional
Flat = new CustomLineItemFlatChargeDetailsProperty {
ChargeValue = 123
},
LineItemFilters = new [] { new LineItemFilterProperty {
Attribute = "attribute",
MatchOption = "matchOption",
Values = new [] { "values" }
} },
Percentage = new CustomLineItemPercentageChargeDetailsProperty {
PercentageValue = 123,
// the properties below are optional
ChildAssociatedResources = new [] { "childAssociatedResources" }
}
};
Synopsis
Properties
Flat | A |
Line |
A representation of the line item filter. |
Percentage | A |
Type | The type of the custom line item that indicates whether the charge is a fee or credit. |
Properties
Flat
A CustomLineItemFlatChargeDetails
that describes the charge details of a flat custom line item.
virtual object Flat { get; }
Property Value
System.
Remarks
LineItemFilters
A representation of the line item filter.
virtual object LineItemFilters { get; }
Property Value
System.
Remarks
Percentage
A CustomLineItemPercentageChargeDetails
that describes the charge details of a percentage custom line item.
virtual object Percentage { get; }
Property Value
System.
Remarks
Type
The type of the custom line item that indicates whether the charge is a fee or credit.
string Type { get; }
Property Value
System.