Class TaxCalculationResponse

    • Constructor Detail

      • TaxCalculationResponse

        public TaxCalculationResponse()
    • Method Detail

      • getTaxProviderId

        public String getTaxProviderId()
        The ID of the TaxProvider that was used to process the corresponding request. This can be saved for later calls to the TaxDelegate, which provides a hint as to which provider should be used, or a flag for logging when a different provider is used, usually due to a fallback mechanism.
      • getInternalAttributes

        public Map<String,​Object> getInternalAttributes()
        Any internal attributes to be copied over to an order on post commit tax operations.
      • setTaxProviderId

        public void setTaxProviderId​(String taxProviderId)
        The ID of the TaxProvider that was used to process the corresponding request. This can be saved for later calls to the TaxDelegate, which provides a hint as to which provider should be used, or a flag for logging when a different provider is used, usually due to a fallback mechanism.
      • setInternalAttributes

        public void setInternalAttributes​(Map<String,​Object> internalAttributes)
        Any internal attributes to be copied over to an order on post commit tax operations.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object