an override for the default tax rate
This commit is contained in:
parent
02011a7d37
commit
74d7a98cde
1 changed files with 9 additions and 4 deletions
|
|
@ -8,10 +8,11 @@ needs to be simple so it can be extended to fit any need.
|
||||||
The following fields are needed to construct this assets table called
|
The following fields are needed to construct this assets table called
|
||||||
E<acirc>E<128>E<156>SKUE<acirc>E<128>E<157>.
|
E<acirc>E<128>E<156>SKUE<acirc>E<128>E<157>.
|
||||||
|
|
||||||
Field Schema Description
|
Field Schema Description
|
||||||
assetId guid The unique id assigned to this sku that may never change. It's with all assets
|
assetId guid The unique id assigned to this sku that may never change. It's with all assets
|
||||||
sku varchar(35) unique The unique id that the shop keeper assigns to this item. It may be changed by the shop keeper. By default this is set equal to assetId.
|
sku varchar(35) unique The unique id that the shop keeper assigns to this item. It may be changed by the shop keeper. By default this is set equal to assetId.
|
||||||
vendorId guid The unique id of the vendor associated with this sku, if any
|
vendorId guid The unique id of the vendor associated with this sku, if any
|
||||||
|
taxRateOverride float An override value for the default tax rate.
|
||||||
|
|
||||||
=head2 Method Dictionary
|
=head2 Method Dictionary
|
||||||
|
|
||||||
|
|
@ -47,6 +48,10 @@ should return the number that are currently in stock.
|
||||||
|
|
||||||
By default return 0.00. Should be overridden by subclasses.
|
By default return 0.00. Should be overridden by subclasses.
|
||||||
|
|
||||||
|
=head3 getTaxRate
|
||||||
|
|
||||||
|
Returns undef. However, if the user specifies a tax override in this Sku then it returns the special tax rate.
|
||||||
|
|
||||||
=head3 isShippingRequired
|
=head3 isShippingRequired
|
||||||
|
|
||||||
By default return 0. Should be overridden by subclasses.
|
By default return 0. Should be overridden by subclasses.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue