Class CartsConfigurationImpl

java.lang.Object
com.commercetools.api.models.project.CartsConfigurationImpl
All Implemented Interfaces:
CartsConfiguration, io.vrap.rmf.base.client.ModelBase

public class CartsConfigurationImpl extends Object implements CartsConfiguration, io.vrap.rmf.base.client.ModelBase
CartsConfiguration
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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 the deleteDaysAfterLastModification parameter of the CartDraft and MyCartDraft.
    int
     
    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 the deleteDaysAfterLastModification 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

  • 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 interface CartsConfiguration
      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 interface CartsConfiguration
      Returns:
      countryTaxRateFallbackEnabled
    • setDeleteDaysAfterLastModification

      public void setDeleteDaysAfterLastModification(Long deleteDaysAfterLastModification)
      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 interface CartsConfiguration
      Parameters:
      deleteDaysAfterLastModification - value to be set
    • setCountryTaxRateFallbackEnabled

      public void setCountryTaxRateFallbackEnabled(Boolean countryTaxRateFallbackEnabled)
      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 interface CartsConfiguration
      Parameters:
      countryTaxRateFallbackEnabled - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object