Class CartsConfigurationImpl
- All Implemented Interfaces:
CartsConfiguration
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if country - no state Tax Rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all Tax Categories of a Cart Line Items.Default value for thedeleteDaysAfterLastModification
parameter of the CartDraft and MyCartDraft.int
hashCode()
void
setCountryTaxRateFallbackEnabled
(Boolean countryTaxRateFallbackEnabled) Indicates if country - no state Tax Rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all Tax Categories of a Cart Line Items.void
setDeleteDaysAfterLastModification
(Long deleteDaysAfterLastModification) Default value for thedeleteDaysAfterLastModification
parameter of the CartDraft and MyCartDraft.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.project.CartsConfiguration
withCartsConfiguration
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CartsConfigurationImpl
public CartsConfigurationImpl()create empty instance
-
-
Method Details
-
getDeleteDaysAfterLastModification
Default value for the
deleteDaysAfterLastModification
parameter of the CartDraft and MyCartDraft. If a ChangeSubscription for Carts exists, a ResourceDeletedDeliveryPayload is sent upon deletion of a Cart.This field may not be present on Projects created before January 2020.
- Specified by:
getDeleteDaysAfterLastModification
in interfaceCartsConfiguration
- Returns:
- deleteDaysAfterLastModification
-
getCountryTaxRateFallbackEnabled
Indicates if country - no state Tax Rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all Tax Categories of a Cart Line Items. This field may not be present on Projects created before June 2020.
- Specified by:
getCountryTaxRateFallbackEnabled
in interfaceCartsConfiguration
- Returns:
- countryTaxRateFallbackEnabled
-
setDeleteDaysAfterLastModification
Description copied from interface:CartsConfiguration
Default value for the
deleteDaysAfterLastModification
parameter of the CartDraft and MyCartDraft. If a ChangeSubscription for Carts exists, a ResourceDeletedDeliveryPayload is sent upon deletion of a Cart.This field may not be present on Projects created before January 2020.
- Specified by:
setDeleteDaysAfterLastModification
in interfaceCartsConfiguration
- Parameters:
deleteDaysAfterLastModification
- value to be set
-
setCountryTaxRateFallbackEnabled
Description copied from interface:CartsConfiguration
Indicates if country - no state Tax Rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all Tax Categories of a Cart Line Items. This field may not be present on Projects created before June 2020.
- Specified by:
setCountryTaxRateFallbackEnabled
in interfaceCartsConfiguration
- Parameters:
countryTaxRateFallbackEnabled
- value to be set
-
equals
-
hashCode
-