All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.orders.ParcelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.orders;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.types.CustomFields;
import java.lang.String;
import java.time.ZonedDateTime;
import java.util.List;
import javax.annotation.Generated;
import javax.annotation.Nullable;

@Generated(
    value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
    comments = "Generated from: io.sphere.sdk.orders.Parcel"
)
final class ParcelImpl extends Base implements Parcel {
  private ZonedDateTime createdAt;

  @Nullable
  private CustomFields custom;

  private String id;

  @Nullable
  private List items;

  @Nullable
  private ParcelMeasurements measurements;

  @Nullable
  private TrackingData trackingData;

  @JsonCreator
  ParcelImpl(final ZonedDateTime createdAt, @Nullable final CustomFields custom, final String id,
      @Nullable final List items, @Nullable final ParcelMeasurements measurements,
      @Nullable final TrackingData trackingData) {
    this.createdAt = createdAt;
    this.custom = custom;
    this.id = id;
    this.items = items;
    this.measurements = measurements;
    this.trackingData = trackingData;
  }

  public ZonedDateTime getCreatedAt() {
    return createdAt;
  }

  @Nullable
  public CustomFields getCustom() {
    return custom;
  }

  public String getId() {
    return id;
  }

  @Nullable
  public List getItems() {
    return items;
  }

  @Nullable
  public ParcelMeasurements getMeasurements() {
    return measurements;
  }

  @Nullable
  public TrackingData getTrackingData() {
    return trackingData;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy