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

io.sphere.sdk.orderedits.OrderExcerptImpl Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.carts.TaxedPrice;
import io.sphere.sdk.models.Base;
import java.lang.Long;
import javax.annotation.Generated;
import javax.annotation.Nullable;
import javax.money.MonetaryAmount;

@Generated(
    value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
    comments = "Generated from: io.sphere.sdk.orderedits.OrderExcerpt"
)
final class OrderExcerptImpl extends Base implements OrderExcerpt {
  @Nullable
  private TaxedPrice taxedPrice;

  private MonetaryAmount totalPrice;

  private Long version;

  @JsonCreator
  OrderExcerptImpl(@Nullable final TaxedPrice taxedPrice, final MonetaryAmount totalPrice,
      final Long version) {
    this.taxedPrice = taxedPrice;
    this.totalPrice = totalPrice;
    this.version = version;
  }

  @Nullable
  public TaxedPrice getTaxedPrice() {
    return taxedPrice;
  }

  public MonetaryAmount getTotalPrice() {
    return totalPrice;
  }

  public Long getVersion() {
    return version;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy