Package com.chrt.api.types
Class BillingLedgerPeriod1.Builder
- java.lang.Object
-
- com.chrt.api.types.BillingLedgerPeriod1.Builder
-
- All Implemented Interfaces:
BillingLedgerPeriod1._FinalStage,BillingLedgerPeriod1.BillingLedgerIdStage,BillingLedgerPeriod1.CycleStage,BillingLedgerPeriod1.IdStage,BillingLedgerPeriod1.OpenedAtTimestampStage,BillingLedgerPeriod1.OpenedByOrgIdStage,BillingLedgerPeriod1.OpenedByUserIdStage,BillingLedgerPeriod1.OwnedByOrgIdStage,BillingLedgerPeriod1.PeriodEndAtTimestampStage,BillingLedgerPeriod1.PeriodStartAtTimestampStage,BillingLedgerPeriod1.RateUsdStage,BillingLedgerPeriod1.SchemaVersionStage
- Enclosing class:
- BillingLedgerPeriod1
public static final class BillingLedgerPeriod1.Builder extends java.lang.Object implements BillingLedgerPeriod1.SchemaVersionStage, BillingLedgerPeriod1.IdStage, BillingLedgerPeriod1.BillingLedgerIdStage, BillingLedgerPeriod1.OwnedByOrgIdStage, BillingLedgerPeriod1.PeriodStartAtTimestampStage, BillingLedgerPeriod1.PeriodEndAtTimestampStage, BillingLedgerPeriod1.CycleStage, BillingLedgerPeriod1.RateUsdStage, BillingLedgerPeriod1.OpenedByUserIdStage, BillingLedgerPeriod1.OpenedByOrgIdStage, BillingLedgerPeriod1.OpenedAtTimestampStage, BillingLedgerPeriod1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingLedgerPeriod1.OwnedByOrgIdStagebillingLedgerId(java.lang.String billingLedgerId)BillingLedgerPeriod1build()BillingLedgerPeriod1._FinalStageclosedAtTimestamp(Nullable<java.time.OffsetDateTime> closedAtTimestamp)BillingLedgerPeriod1._FinalStageclosedAtTimestamp(java.time.OffsetDateTime closedAtTimestamp)BillingLedgerPeriod1._FinalStageclosedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> closedAtTimestamp)BillingLedgerPeriod1._FinalStageclosedByOrgId(Nullable<java.lang.String> closedByOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStageclosedByOrgId(java.lang.String closedByOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStageclosedByOrgId(java.util.Optional<java.lang.String> closedByOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStageclosedByUserId(Nullable<java.lang.String> closedByUserId)Must be a string starting withuser_BillingLedgerPeriod1._FinalStageclosedByUserId(java.lang.String closedByUserId)Must be a string starting withuser_BillingLedgerPeriod1._FinalStageclosedByUserId(java.util.Optional<java.lang.String> closedByUserId)Must be a string starting withuser_BillingLedgerPeriod1.RateUsdStagecycle(BillingCycleEnum cycle)BillingLedgerPeriod1.Builderfrom(BillingLedgerPeriod1 other)BillingLedgerPeriod1.BillingLedgerIdStageid(java.lang.String id)BillingLedgerPeriod1._FinalStagelinkedTaskGroupIds(java.util.List<java.lang.String> linkedTaskGroupIds)BillingLedgerPeriod1._FinalStagelinkedTaskGroupIds(java.util.Optional<java.util.List<java.lang.String>> linkedTaskGroupIds)BillingLedgerPeriod1._FinalStageopenedAtTimestamp(java.time.OffsetDateTime openedAtTimestamp)BillingLedgerPeriod1.OpenedAtTimestampStageopenedByOrgId(java.lang.String openedByOrgId)Must be a string starting withorg_BillingLedgerPeriod1.OpenedByOrgIdStageopenedByUserId(java.lang.String openedByUserId)Must be a string starting withuser_BillingLedgerPeriod1.PeriodStartAtTimestampStageownedByOrgId(java.lang.String ownedByOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStagepaymentDestinationDriverId(Nullable<java.lang.String> paymentDestinationDriverId)BillingLedgerPeriod1._FinalStagepaymentDestinationDriverId(java.lang.String paymentDestinationDriverId)BillingLedgerPeriod1._FinalStagepaymentDestinationDriverId(java.util.Optional<java.lang.String> paymentDestinationDriverId)BillingLedgerPeriod1._FinalStagepaymentDestinationOffChrtProviderOrgId(Nullable<java.lang.String> paymentDestinationOffChrtProviderOrgId)BillingLedgerPeriod1._FinalStagepaymentDestinationOffChrtProviderOrgId(java.lang.String paymentDestinationOffChrtProviderOrgId)BillingLedgerPeriod1._FinalStagepaymentDestinationOffChrtProviderOrgId(java.util.Optional<java.lang.String> paymentDestinationOffChrtProviderOrgId)BillingLedgerPeriod1._FinalStagepaymentDestinationOrgId(Nullable<java.lang.String> paymentDestinationOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStagepaymentDestinationOrgId(java.lang.String paymentDestinationOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStagepaymentDestinationOrgId(java.util.Optional<java.lang.String> paymentDestinationOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStagepaymentOriginOffChrtShipperOrgId(Nullable<java.lang.String> paymentOriginOffChrtShipperOrgId)BillingLedgerPeriod1._FinalStagepaymentOriginOffChrtShipperOrgId(java.lang.String paymentOriginOffChrtShipperOrgId)BillingLedgerPeriod1._FinalStagepaymentOriginOffChrtShipperOrgId(java.util.Optional<java.lang.String> paymentOriginOffChrtShipperOrgId)BillingLedgerPeriod1._FinalStagepaymentOriginOrgId(Nullable<java.lang.String> paymentOriginOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStagepaymentOriginOrgId(java.lang.String paymentOriginOrgId)Must be a string starting withorg_BillingLedgerPeriod1._FinalStagepaymentOriginOrgId(java.util.Optional<java.lang.String> paymentOriginOrgId)Must be a string starting withorg_BillingLedgerPeriod1.CycleStageperiodEndAtTimestamp(java.time.OffsetDateTime periodEndAtTimestamp)BillingLedgerPeriod1.PeriodEndAtTimestampStageperiodStartAtTimestamp(java.time.OffsetDateTime periodStartAtTimestamp)BillingLedgerPeriod1.OpenedByUserIdStagerateUsd(double rateUsd)BillingLedgerPeriod1.IdStageschemaVersion(int schemaVersion)BillingLedgerPeriod1._FinalStagestatementId(Nullable<java.lang.String> statementId)BillingLedgerPeriod1._FinalStagestatementId(java.lang.String statementId)BillingLedgerPeriod1._FinalStagestatementId(java.util.Optional<java.lang.String> statementId)BillingLedgerPeriod1._FinalStagestatus(BillingLedgerPeriodStatusEnum status)BillingLedgerPeriod1._FinalStagestatus(java.util.Optional<BillingLedgerPeriodStatusEnum> status)
-
-
-
Method Detail
-
from
public BillingLedgerPeriod1.Builder from(BillingLedgerPeriod1 other)
- Specified by:
fromin interfaceBillingLedgerPeriod1.SchemaVersionStage
-
schemaVersion
public BillingLedgerPeriod1.IdStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceBillingLedgerPeriod1.SchemaVersionStage
-
id
public BillingLedgerPeriod1.BillingLedgerIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceBillingLedgerPeriod1.IdStage
-
billingLedgerId
public BillingLedgerPeriod1.OwnedByOrgIdStage billingLedgerId(@NotNull java.lang.String billingLedgerId)
- Specified by:
billingLedgerIdin interfaceBillingLedgerPeriod1.BillingLedgerIdStage
-
ownedByOrgId
public BillingLedgerPeriod1.PeriodStartAtTimestampStage ownedByOrgId(@NotNull java.lang.String ownedByOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
ownedByOrgIdin interfaceBillingLedgerPeriod1.OwnedByOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
periodStartAtTimestamp
public BillingLedgerPeriod1.PeriodEndAtTimestampStage periodStartAtTimestamp(@NotNull java.time.OffsetDateTime periodStartAtTimestamp)
- Specified by:
periodStartAtTimestampin interfaceBillingLedgerPeriod1.PeriodStartAtTimestampStage
-
periodEndAtTimestamp
public BillingLedgerPeriod1.CycleStage periodEndAtTimestamp(@NotNull java.time.OffsetDateTime periodEndAtTimestamp)
- Specified by:
periodEndAtTimestampin interfaceBillingLedgerPeriod1.PeriodEndAtTimestampStage
-
cycle
public BillingLedgerPeriod1.RateUsdStage cycle(@NotNull BillingCycleEnum cycle)
- Specified by:
cyclein interfaceBillingLedgerPeriod1.CycleStage
-
rateUsd
public BillingLedgerPeriod1.OpenedByUserIdStage rateUsd(double rateUsd)
- Specified by:
rateUsdin interfaceBillingLedgerPeriod1.RateUsdStage
-
openedByUserId
public BillingLedgerPeriod1.OpenedByOrgIdStage openedByUserId(@NotNull java.lang.String openedByUserId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
openedByUserIdin interfaceBillingLedgerPeriod1.OpenedByUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
openedByOrgId
public BillingLedgerPeriod1.OpenedAtTimestampStage openedByOrgId(@NotNull java.lang.String openedByOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
openedByOrgIdin interfaceBillingLedgerPeriod1.OpenedByOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
openedAtTimestamp
public BillingLedgerPeriod1._FinalStage openedAtTimestamp(@NotNull java.time.OffsetDateTime openedAtTimestamp)
- Specified by:
openedAtTimestampin interfaceBillingLedgerPeriod1.OpenedAtTimestampStage
-
statementId
public BillingLedgerPeriod1._FinalStage statementId(Nullable<java.lang.String> statementId)
- Specified by:
statementIdin interfaceBillingLedgerPeriod1._FinalStage
-
statementId
public BillingLedgerPeriod1._FinalStage statementId(java.lang.String statementId)
- Specified by:
statementIdin interfaceBillingLedgerPeriod1._FinalStage
-
statementId
public BillingLedgerPeriod1._FinalStage statementId(java.util.Optional<java.lang.String> statementId)
- Specified by:
statementIdin interfaceBillingLedgerPeriod1._FinalStage
-
linkedTaskGroupIds
public BillingLedgerPeriod1._FinalStage linkedTaskGroupIds(java.util.List<java.lang.String> linkedTaskGroupIds)
- Specified by:
linkedTaskGroupIdsin interfaceBillingLedgerPeriod1._FinalStage
-
linkedTaskGroupIds
public BillingLedgerPeriod1._FinalStage linkedTaskGroupIds(java.util.Optional<java.util.List<java.lang.String>> linkedTaskGroupIds)
- Specified by:
linkedTaskGroupIdsin interfaceBillingLedgerPeriod1._FinalStage
-
closedAtTimestamp
public BillingLedgerPeriod1._FinalStage closedAtTimestamp(Nullable<java.time.OffsetDateTime> closedAtTimestamp)
- Specified by:
closedAtTimestampin interfaceBillingLedgerPeriod1._FinalStage
-
closedAtTimestamp
public BillingLedgerPeriod1._FinalStage closedAtTimestamp(java.time.OffsetDateTime closedAtTimestamp)
- Specified by:
closedAtTimestampin interfaceBillingLedgerPeriod1._FinalStage
-
closedAtTimestamp
public BillingLedgerPeriod1._FinalStage closedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> closedAtTimestamp)
- Specified by:
closedAtTimestampin interfaceBillingLedgerPeriod1._FinalStage
-
closedByOrgId
public BillingLedgerPeriod1._FinalStage closedByOrgId(Nullable<java.lang.String> closedByOrgId)
Must be a string starting with
org_- Specified by:
closedByOrgIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
closedByOrgId
public BillingLedgerPeriod1._FinalStage closedByOrgId(java.lang.String closedByOrgId)
Must be a string starting with
org_- Specified by:
closedByOrgIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
closedByOrgId
public BillingLedgerPeriod1._FinalStage closedByOrgId(java.util.Optional<java.lang.String> closedByOrgId)
Must be a string starting with
org_- Specified by:
closedByOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
closedByUserId
public BillingLedgerPeriod1._FinalStage closedByUserId(Nullable<java.lang.String> closedByUserId)
Must be a string starting with
user_- Specified by:
closedByUserIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
closedByUserId
public BillingLedgerPeriod1._FinalStage closedByUserId(java.lang.String closedByUserId)
Must be a string starting with
user_- Specified by:
closedByUserIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
closedByUserId
public BillingLedgerPeriod1._FinalStage closedByUserId(java.util.Optional<java.lang.String> closedByUserId)
Must be a string starting with
user_- Specified by:
closedByUserIdin interfaceBillingLedgerPeriod1._FinalStage
-
status
public BillingLedgerPeriod1._FinalStage status(BillingLedgerPeriodStatusEnum status)
- Specified by:
statusin interfaceBillingLedgerPeriod1._FinalStage
-
status
public BillingLedgerPeriod1._FinalStage status(java.util.Optional<BillingLedgerPeriodStatusEnum> status)
- Specified by:
statusin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationDriverId
public BillingLedgerPeriod1._FinalStage paymentDestinationDriverId(Nullable<java.lang.String> paymentDestinationDriverId)
- Specified by:
paymentDestinationDriverIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationDriverId
public BillingLedgerPeriod1._FinalStage paymentDestinationDriverId(java.lang.String paymentDestinationDriverId)
- Specified by:
paymentDestinationDriverIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationDriverId
public BillingLedgerPeriod1._FinalStage paymentDestinationDriverId(java.util.Optional<java.lang.String> paymentDestinationDriverId)
- Specified by:
paymentDestinationDriverIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationOffChrtProviderOrgId
public BillingLedgerPeriod1._FinalStage paymentDestinationOffChrtProviderOrgId(Nullable<java.lang.String> paymentDestinationOffChrtProviderOrgId)
- Specified by:
paymentDestinationOffChrtProviderOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationOffChrtProviderOrgId
public BillingLedgerPeriod1._FinalStage paymentDestinationOffChrtProviderOrgId(java.lang.String paymentDestinationOffChrtProviderOrgId)
- Specified by:
paymentDestinationOffChrtProviderOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationOffChrtProviderOrgId
public BillingLedgerPeriod1._FinalStage paymentDestinationOffChrtProviderOrgId(java.util.Optional<java.lang.String> paymentDestinationOffChrtProviderOrgId)
- Specified by:
paymentDestinationOffChrtProviderOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentDestinationOrgId
public BillingLedgerPeriod1._FinalStage paymentDestinationOrgId(Nullable<java.lang.String> paymentDestinationOrgId)
Must be a string starting with
org_- Specified by:
paymentDestinationOrgIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationOrgId
public BillingLedgerPeriod1._FinalStage paymentDestinationOrgId(java.lang.String paymentDestinationOrgId)
Must be a string starting with
org_- Specified by:
paymentDestinationOrgIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationOrgId
public BillingLedgerPeriod1._FinalStage paymentDestinationOrgId(java.util.Optional<java.lang.String> paymentDestinationOrgId)
Must be a string starting with
org_- Specified by:
paymentDestinationOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentOriginOffChrtShipperOrgId
public BillingLedgerPeriod1._FinalStage paymentOriginOffChrtShipperOrgId(Nullable<java.lang.String> paymentOriginOffChrtShipperOrgId)
- Specified by:
paymentOriginOffChrtShipperOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentOriginOffChrtShipperOrgId
public BillingLedgerPeriod1._FinalStage paymentOriginOffChrtShipperOrgId(java.lang.String paymentOriginOffChrtShipperOrgId)
- Specified by:
paymentOriginOffChrtShipperOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentOriginOffChrtShipperOrgId
public BillingLedgerPeriod1._FinalStage paymentOriginOffChrtShipperOrgId(java.util.Optional<java.lang.String> paymentOriginOffChrtShipperOrgId)
- Specified by:
paymentOriginOffChrtShipperOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
paymentOriginOrgId
public BillingLedgerPeriod1._FinalStage paymentOriginOrgId(Nullable<java.lang.String> paymentOriginOrgId)
Must be a string starting with
org_- Specified by:
paymentOriginOrgIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentOriginOrgId
public BillingLedgerPeriod1._FinalStage paymentOriginOrgId(java.lang.String paymentOriginOrgId)
Must be a string starting with
org_- Specified by:
paymentOriginOrgIdin interfaceBillingLedgerPeriod1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentOriginOrgId
public BillingLedgerPeriod1._FinalStage paymentOriginOrgId(java.util.Optional<java.lang.String> paymentOriginOrgId)
Must be a string starting with
org_- Specified by:
paymentOriginOrgIdin interfaceBillingLedgerPeriod1._FinalStage
-
build
public BillingLedgerPeriod1 build()
- Specified by:
buildin interfaceBillingLedgerPeriod1._FinalStage
-
-