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

io.sphere.sdk.orders.DeliveryImpl 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.Address;
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.Delivery"
)
final class DeliveryImpl extends Base implements Delivery {
  @Nullable
  private Address address;

  private ZonedDateTime createdAt;

  @Nullable
  private CustomFields custom;

  private String id;

  private List items;

  private List parcels;

  @JsonCreator
  DeliveryImpl(@Nullable final Address address, final ZonedDateTime createdAt,
      @Nullable final CustomFields custom, final String id, final List items,
      final List parcels) {
    this.address = address;
    this.createdAt = createdAt;
    this.custom = custom;
    this.id = id;
    this.items = items;
    this.parcels = parcels;
  }

  @Nullable
  public Address getAddress() {
    return address;
  }

  public ZonedDateTime getCreatedAt() {
    return createdAt;
  }

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

  public String getId() {
    return id;
  }

  public List getItems() {
    return items;
  }

  public List getParcels() {
    return parcels;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy