Class BillingLedgerPeriodsListV1Request
- java.lang.Object
-
- com.chrt.api.resources.billing.billingledgerperiods.requests.BillingLedgerPeriodsListV1Request
-
public final class BillingLedgerPeriodsListV1Request extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBillingLedgerPeriodsListV1Request.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BillingLedgerPeriodsListV1Request.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Boolean>getFilterAttachedToStatement()java.util.Optional<java.lang.String>getFilterBillingLedgerId()java.util.Optional<java.lang.String>getFilterOwnedByOrgId()java.util.Optional<java.time.OffsetDateTime>getFilterPeriodEndAtTimestampAfter()java.util.Optional<java.time.OffsetDateTime>getFilterPeriodEndAtTimestampBefore()java.util.Optional<java.lang.String>getFilterStatementId()java.util.Optional<java.util.List<BillingLedgerPeriodStatusEnum>>getFilterStatus()java.util.Optional<java.lang.Integer>getPage()java.util.Optional<java.lang.Integer>getPageSize()java.util.Optional<BillingLedgerPeriodSortByEnum>getSortBy()java.util.Optional<SortOrderEnum>getSortOrder()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getFilterStatus
public java.util.Optional<java.util.List<BillingLedgerPeriodStatusEnum>> getFilterStatus()
- Returns:
- Filter by status(es). Multi-select.
-
getSortBy
public java.util.Optional<BillingLedgerPeriodSortByEnum> getSortBy()
- Returns:
- Field to sort by.
-
getSortOrder
public java.util.Optional<SortOrderEnum> getSortOrder()
- Returns:
- Sort order (asc or desc).
-
getPage
public java.util.Optional<java.lang.Integer> getPage()
-
getPageSize
public java.util.Optional<java.lang.Integer> getPageSize()
-
getFilterBillingLedgerId
public java.util.Optional<java.lang.String> getFilterBillingLedgerId()
- Returns:
- Filter by parent billing ledger id.
-
getFilterOwnedByOrgId
public java.util.Optional<java.lang.String> getFilterOwnedByOrgId()
- Returns:
- Filter by owner org id.
-
getFilterStatementId
public java.util.Optional<java.lang.String> getFilterStatementId()
- Returns:
- Filter to periods rolled into this statement.
-
getFilterAttachedToStatement
public java.util.Optional<java.lang.Boolean> getFilterAttachedToStatement()
- Returns:
- Filter by whether the period is bundled into a statement (
statement_id is not Noneif true,is Noneif false). Used by the statement-bundling worklist to find unbundled periods.
-
getFilterPeriodEndAtTimestampBefore
public java.util.Optional<java.time.OffsetDateTime> getFilterPeriodEndAtTimestampBefore()
- Returns:
- Filter to periods whose
period_end_at_timestampis strictly before this instant. Combined withfilter_status=openthis yields the 'needs cycling' worklist.
-
getFilterPeriodEndAtTimestampAfter
public java.util.Optional<java.time.OffsetDateTime> getFilterPeriodEndAtTimestampAfter()
- Returns:
- Filter to periods whose
period_end_at_timestampis strictly after this instant.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static BillingLedgerPeriodsListV1Request.Builder builder()
-
-