GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Interchange6::Cart::Cost(3) User Contributed Perl Documentation Interchange6::Cart::Cost(3)

Interchange6::Cart::Cost - Cart cost class for Interchange6 Shop Machine

Cart cost class for Interchange6.

Cart id can be used for subclasses, e.g. primary key value for cart or product costs in the database.

Unique name is required.

Label for display. Default is same value as label.

Boolean defaults to 0. If true then amount is relative to object subtotal. If false then amount is an absolute cost.

Boolean defaults to 0. If true signifies that the cost is already included in the price for example to calculate the tax component for gross prices.

Boolean defaults to 0. If true signifies that any following costs should be applied to the modified price after this cost has been applied. This might be used for such things as discounts which are applied before taxes are applied to the modified price.

Using "compound" along with "inclusive" makes no sense and no guarantee is given as to what the result might be.

Required amount of the cost. This is the absolute cost unless "relative" is true in which case it is relative to the object subtotal. For example for a tax of 8% amount should be set to 0.08

Calculated current amount of cost. Unless "relative" is true this will be the same as "amount". If "relative" is true then this is value is recalulated whenever "total" is called on the object.
Writer: "set_current_amount"
2016-03-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.