public interface ShippingMethodDraft extends WithKey, CustomDraft
String getName()
@Deprecated @Nullable String getDescription()
@Nullable LocalizedString getLocalizedDescription()
@Nullable LocalizedString getLocalizedName()
ResourceIdentifier<TaxCategory> getTaxCategory()
List<ZoneRateDraft> getZoneRates()
Boolean isDefault()
@Nullable CustomFieldsDraft getCustom()
getCustom
in interface CustomDraft
@Deprecated static ShippingMethodDraft of(String name, @Nullable String description, Referenceable<TaxCategory> taxCategory, List<ZoneRateDraft> zoneRates)
@Deprecated static ShippingMethodDraft of(String name, @Nullable String description, Referenceable<TaxCategory> taxCategory, List<ZoneRateDraft> zoneRates, boolean isDefault)
static ShippingMethodDraft of(String name, @Nullable LocalizedString localizedDescription, Referenceable<TaxCategory> taxCategory, List<ZoneRateDraft> zoneRates)
static ShippingMethodDraft of(String name, @Nullable LocalizedString localizedDescription, Referenceable<TaxCategory> taxCategory, List<ZoneRateDraft> zoneRates, boolean isDefault)