Class ProductTaxCodeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProductTaxCodeModel
    extends ItemModel
    Generated model class for type ProductTaxCode first defined at extension basecommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Generated constant - Attribute key of ProductTaxCode.productCode attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • TAXAREA

        public static final java.lang.String TAXAREA
        Generated constant - Attribute key of ProductTaxCode.taxArea attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • TAXCODE

        public static final java.lang.String TAXCODE
        Generated constant - Attribute key of ProductTaxCode.taxCode attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProductTaxCodeModel

        public ProductTaxCodeModel()
        Generated constructor - Default constructor for generic creation.
      • ProductTaxCodeModel

        public ProductTaxCodeModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • ProductTaxCodeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductTaxCodeModel​(java.lang.String _productCode,
                                   java.lang.String _taxCode)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _productCode - initial attribute declared by type ProductTaxCode at extension basecommerce
        _taxCode - initial attribute declared by type ProductTaxCode at extension basecommerce
      • ProductTaxCodeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductTaxCodeModel​(ItemModel _owner,
                                   java.lang.String _productCode,
                                   java.lang.String _taxArea,
                                   java.lang.String _taxCode)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
        _productCode - initial attribute declared by type ProductTaxCode at extension basecommerce
        _taxArea - initial attribute declared by type ProductTaxCode at extension basecommerce
        _taxCode - initial attribute declared by type ProductTaxCode at extension basecommerce
    • Method Detail

      • getProductCode

        @Accessor(qualifier="productCode",
                  type=GETTER)
        public java.lang.String getProductCode()
        Generated method - Getter of the ProductTaxCode.productCode attribute defined at extension basecommerce.
        Returns:
        the productCode
      • getTaxArea

        @Accessor(qualifier="taxArea",
                  type=GETTER)
        public java.lang.String getTaxArea()
        Generated method - Getter of the ProductTaxCode.taxArea attribute defined at extension basecommerce.
        Returns:
        the taxArea
      • getTaxCode

        @Accessor(qualifier="taxCode",
                  type=GETTER)
        public java.lang.String getTaxCode()
        Generated method - Getter of the ProductTaxCode.taxCode attribute defined at extension basecommerce.
        Returns:
        the taxCode
      • setProductCode

        @Accessor(qualifier="productCode",
                  type=SETTER)
        public void setProductCode​(java.lang.String value)
        Generated method - Initial setter of ProductTaxCode.productCode attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
        Parameters:
        value - the productCode
      • setTaxArea

        @Accessor(qualifier="taxArea",
                  type=SETTER)
        public void setTaxArea​(java.lang.String value)
        Generated method - Initial setter of ProductTaxCode.taxArea attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
        Parameters:
        value - the taxArea
      • setTaxCode

        @Accessor(qualifier="taxCode",
                  type=SETTER)
        public void setTaxCode​(java.lang.String value)
        Generated method - Setter of ProductTaxCode.taxCode attribute defined at extension basecommerce.
        Parameters:
        value - the taxCode