public static interface CustomLineItemChargeDetails.Builder extends SdkPojo, CopyableBuilder<CustomLineItemChargeDetails.Builder,CustomLineItemChargeDetails>
| Modifier and Type | Method and Description |
|---|---|
default CustomLineItemChargeDetails.Builder |
flat(Consumer<CustomLineItemFlatChargeDetails.Builder> flat)
A
CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
CustomLineItemChargeDetails.Builder |
flat(CustomLineItemFlatChargeDetails flat)
A
CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
CustomLineItemChargeDetails.Builder |
lineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
|
CustomLineItemChargeDetails.Builder |
lineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters)
A representation of the line item filter.
|
CustomLineItemChargeDetails.Builder |
lineItemFilters(LineItemFilter... lineItemFilters)
A representation of the line item filter.
|
default CustomLineItemChargeDetails.Builder |
percentage(Consumer<CustomLineItemPercentageChargeDetails.Builder> percentage)
A
CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item. |
CustomLineItemChargeDetails.Builder |
percentage(CustomLineItemPercentageChargeDetails percentage)
A
CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item. |
CustomLineItemChargeDetails.Builder |
type(CustomLineItemType type)
The type of the custom line item that indicates whether the charge is a fee or credit.
|
CustomLineItemChargeDetails.Builder |
type(String type)
The type of the custom line item that indicates whether the charge is a fee or credit.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomLineItemChargeDetails.Builder flat(CustomLineItemFlatChargeDetails flat)
A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
flat - A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line
item.default CustomLineItemChargeDetails.Builder flat(Consumer<CustomLineItemFlatChargeDetails.Builder> flat)
A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
CustomLineItemFlatChargeDetails.Builder
avoiding the need to create one manually via CustomLineItemFlatChargeDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to flat(CustomLineItemFlatChargeDetails).
flat - a consumer that will call methods on CustomLineItemFlatChargeDetails.Builderflat(CustomLineItemFlatChargeDetails)CustomLineItemChargeDetails.Builder percentage(CustomLineItemPercentageChargeDetails percentage)
A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item.
percentage - A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage
custom line item.default CustomLineItemChargeDetails.Builder percentage(Consumer<CustomLineItemPercentageChargeDetails.Builder> percentage)
A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item.
CustomLineItemPercentageChargeDetails.Builder avoiding the need to create one manually via
CustomLineItemPercentageChargeDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to percentage(CustomLineItemPercentageChargeDetails).
percentage - a consumer that will call methods on CustomLineItemPercentageChargeDetails.Builderpercentage(CustomLineItemPercentageChargeDetails)CustomLineItemChargeDetails.Builder type(String type)
The type of the custom line item that indicates whether the charge is a fee or credit.
type - The type of the custom line item that indicates whether the charge is a fee or credit.CustomLineItemType,
CustomLineItemTypeCustomLineItemChargeDetails.Builder type(CustomLineItemType type)
The type of the custom line item that indicates whether the charge is a fee or credit.
type - The type of the custom line item that indicates whether the charge is a fee or credit.CustomLineItemType,
CustomLineItemTypeCustomLineItemChargeDetails.Builder lineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
lineItemFilters - A representation of the line item filter.CustomLineItemChargeDetails.Builder lineItemFilters(LineItemFilter... lineItemFilters)
A representation of the line item filter.
lineItemFilters - A representation of the line item filter.CustomLineItemChargeDetails.Builder lineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters)
A representation of the line item filter.
This is a convenience method that creates an instance of theLineItemFilter.Builder avoiding the need to
create one manually via
LineItemFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #lineItemFilters(List.
lineItemFilters - a consumer that will call methods on
LineItemFilter.Builder#lineItemFilters(java.util.Collection) Copyright © 2023. All rights reserved.