io.sphere.sdk.carts.ClassificationShippingRateInputImpl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.carts;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.LocalizedString;
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.carts.ClassificationShippingRateInput"
)
final class ClassificationShippingRateInputImpl extends Base implements ClassificationShippingRateInput {
private String key;
@Nullable
private LocalizedString label;
@JsonCreator
ClassificationShippingRateInputImpl(final String key, @Nullable final LocalizedString label) {
this.key = key;
this.label = label;
}
public String getKey() {
return key;
}
@Nullable
public LocalizedString getLabel() {
return label;
}
}