Class DistributionCreateParams.Body
-
- All Implemented Interfaces:
public final class DistributionCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDistributionCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final OffsetDateTimedistributionDate()Distribution date final Stringname()final List<DistributionCreateParams.Payment>payments()List of payments final StringvehicleId()UUID of the vehicle this distribution pays from final JsonField<OffsetDateTime>_distributionDate()Returns the raw JSON value of distributionDate. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<DistributionCreateParams.Payment>>_payments()Returns the raw JSON value of payments. final JsonField<String>_vehicleId()Returns the raw JSON value of vehicleId. final Map<String, JsonValue>_additionalProperties()final DistributionCreateParams.Body.BuildertoBuilder()final DistributionCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DistributionCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
distributionDate
final OffsetDateTime distributionDate()
Distribution date
-
payments
final List<DistributionCreateParams.Payment> payments()
List of payments
-
_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.
-
_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<DistributionCreateParams.Payment>> _payments()
Returns the raw JSON value of payments.
Unlike payments, 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 DistributionCreateParams.Body.Builder toBuilder()
-
validate
final DistributionCreateParams.Body validate()
-
builder
final static DistributionCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.distributionDate() .name() .payments() .vehicleId()
-
-
-
-