io.sphere.sdk.shippingmethods.CartClassificationImpl 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.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.CartClassification"
)
final class CartClassificationImpl extends Base implements CartClassification {
@Nullable
@JsonProperty("isMatching")
private Boolean matching;
private MonetaryAmount price;
private String type;
private String value;
@JsonCreator
CartClassificationImpl(@Nullable @JsonProperty("isMatching") final Boolean matching,
final MonetaryAmount price, final String type, final String value) {
this.matching = matching;
this.price = price;
this.type = type;
this.value = value;
}
@Nullable
@JsonProperty("isMatching")
public Boolean isMatching() {
return matching;
}
public MonetaryAmount getPrice() {
return price;
}
public String getType() {
return type;
}
public String getValue() {
return value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy