Class Distribution
-
- All Implemented Interfaces:
public final class Distribution
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDistribution.BuilderA builder for Distribution.
-
Method Summary
-
-
Method Detail
-
approvedAt
final Optional<OffsetDateTime> approvedAt()
-
cancelledAt
final Optional<OffsetDateTime> cancelledAt()
-
createdAt
final OffsetDateTime createdAt()
-
distributionDate
final OffsetDateTime distributionDate()
Distribution date
-
executedAt
final Optional<OffsetDateTime> executedAt()
-
payments
final List<DistributionPayment> payments()
-
publishedAt
final Optional<OffsetDateTime> publishedAt()
-
status
final DistributionStatus status()
-
updatedAt
final OffsetDateTime updatedAt()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_approvedAt
final JsonField<OffsetDateTime> _approvedAt()
Returns the raw JSON value of approvedAt.
Unlike approvedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_cancelledAt
final JsonField<OffsetDateTime> _cancelledAt()
Returns the raw JSON value of cancelledAt.
Unlike cancelledAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_distributionDate
final JsonField<OffsetDateTime> _distributionDate()
Returns the raw JSON value of distributionDate.
Unlike distributionDate, this method doesn't throw if the JSON field has an unexpected type.
-
_executedAt
final JsonField<OffsetDateTime> _executedAt()
Returns the raw JSON value of executedAt.
Unlike executedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_payments
final JsonField<List<DistributionPayment>> _payments()
Returns the raw JSON value of payments.
Unlike payments, this method doesn't throw if the JSON field has an unexpected type.
-
_publishedAt
final JsonField<OffsetDateTime> _publishedAt()
Returns the raw JSON value of publishedAt.
Unlike publishedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_shortId
final JsonField<String> _shortId()
Returns the raw JSON value of shortId.
Unlike shortId, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<DistributionStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_vehicleId
final JsonField<String> _vehicleId()
Returns the raw JSON value of vehicleId.
Unlike vehicleId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Distribution.Builder toBuilder()
-
validate
final Distribution validate()
-
builder
final static Distribution.Builder builder()
Returns a mutable builder for constructing an instance of Distribution.
The following fields are required:
.id() .approvedAt() .cancelledAt() .createdAt() .distributionDate() .executedAt() .name() .payments() .publishedAt() .shortId() .status() .updatedAt() .vehicleId()
-
-
-
-