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

io.sphere.sdk.models.CreatedByImpl Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.models;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.customers.Customer;
import java.lang.String;
import javax.annotation.Generated;
import javax.annotation.Nullable;

@Generated(
    value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
    comments = "Generated from: io.sphere.sdk.models.CreatedBy"
)
final class CreatedByImpl extends Base implements CreatedBy {
  @Nullable
  private String anonymousId;

  @Nullable
  private String clientId;

  private Reference customer;

  @Nullable
  private String externalUserId;

  @JsonCreator
  CreatedByImpl(@Nullable final String anonymousId, @Nullable final String clientId,
      final Reference customer, @Nullable final String externalUserId) {
    this.anonymousId = anonymousId;
    this.clientId = clientId;
    this.customer = customer;
    this.externalUserId = externalUserId;
  }

  @Nullable
  public String getAnonymousId() {
    return anonymousId;
  }

  @Nullable
  public String getClientId() {
    return clientId;
  }

  public Reference getCustomer() {
    return customer;
  }

  @Nullable
  public String getExternalUserId() {
    return externalUserId;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy