io.sphere.sdk.shippingmethods.CartValueImpl Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.sphere.sdk.models.Base;
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
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.shippingmethods.CartValue"
)
final class CartValueImpl extends Base implements CartValue {
@Nullable
@JsonProperty("isMatching")
private Boolean matching;
private Long minimumCentAmount;
private MonetaryAmount price;
private String type;
@JsonCreator
CartValueImpl(@Nullable @JsonProperty("isMatching") final Boolean matching,
final Long minimumCentAmount, final MonetaryAmount price, final String type) {
this.matching = matching;
this.minimumCentAmount = minimumCentAmount;
this.price = price;
this.type = type;
}
@Nullable
@JsonProperty("isMatching")
public Boolean isMatching() {
return matching;
}
public Long getMinimumCentAmount() {
return minimumCentAmount;
}
public MonetaryAmount getPrice() {
return price;
}
public String getType() {
return type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy