io.sphere.sdk.shippingmethods.PriceFunctionImpl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.shippingmethods;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import java.lang.String;
import javax.annotation.Generated;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.shippingmethods.PriceFunction"
)
final class PriceFunctionImpl extends Base implements PriceFunction {
private String currencyCode;
private String function;
@JsonCreator
PriceFunctionImpl(final String currencyCode, final String function) {
this.currencyCode = currencyCode;
this.function = function;
}
public String getCurrencyCode() {
return currencyCode;
}
public String getFunction() {
return function;
}
}