Table of Contents - wunder-0.1.5 Documentation
Pages
Classes and Modules
- Adjustment
- Basket
- BasketItem
- Checkout
- ItemCollection
- Parser
- Product
- ProductCollection
- Promotion
- Promotional
- Promotional::Rule
- Promotional::Rule::BasketRule
- Promotional::Rule::ItemQuantityPriceRule
- PromotionalRule
- PromotionalRulesCollection
- RuleValidations
- Wunder
Methods
- ::new — Adjustment
- ::new — Basket
- ::new — BasketItem
- ::new — Checkout
- ::new — Parser
- ::new — Print
- ::new — Product
- ::new — Promotion
- ::new — Promotional::Rule::BasketRule
- ::new — Promotional::Rule::ItemQuantityPriceRule
- ::new — PromotionalRule
- #add_item — Basket
- #add_rule — Promotion
- #add_rules_in_bulk — Promotion
- #adjustable? — Promotional::Rule::BasketRule
- #adjustable? — Promotional::Rule::ItemQuantityPriceRule
- #adjustable? — PromotionalRule
- #applied_promotional_rules — Checkout
- #apply_basket_discounts — Adjustment
- #apply_item_discounts — Adjustment
- #boolean? — RuleValidations
- #calculate_discounted_price — Promotional::Rule::ItemQuantityPriceRule
- #calculate_discounted_price — PromotionalRule
- #calculate_total — Adjustment
- #calculate_total — PromotionalRule
- #calculate_total_discounted_price — Promotional::Rule::BasketRule
- #calculate_total_discounted_price — Promotional::Rule::ItemQuantityPriceRule
- #calculate_total_discounted_price — PromotionalRule
- #check_discount_type — RuleValidations
- #compute_discount — Promotional::Rule::ItemQuantityPriceRule
- #compute_item_discounted_price — Adjustment
- #decrement_item_quantity — BasketItem
- #either_should_be_present — RuleValidations
- #eligible? — Promotional::Rule::BasketRule
- #eligible? — Promotional::Rule::ItemQuantityPriceRule
- #eligible? — PromotionalRule
- #eligible_basket_promotional_discounts — Adjustment
- #eligible_product_promo_discounts — Adjustment
- #eligible_promotional_rules — Adjustment
- #find_by_product_code — ProductCollection
- #find_product — ItemCollection
- #find_promotional_rule — PromotionalRulesCollection
- #increment_item_quantity — BasketItem
- #items_in_basket — Basket
- #mock_file_path — Parser
- #process_file — Parser
- #remove_item — Basket
- #remove_rule — Promotion
- #remove_scan — Checkout
- #scan — Checkout
- #should_be_a_boolean — RuleValidations
- #should_be_a_number — RuleValidations
- #should_be_more_than — RuleValidations
- #should_be_present — RuleValidations
- #table — Print
- #total — Checkout
- #validate — Parser
- #validate — Product
- #validate — Promotional::Rule::BasketRule
- #validate — Promotional::Rule::ItemQuantityPriceRule
- #validate — PromotionalRule
- #validate_product_code_is_uniq — ProductCollection
- #validate_promotion_rule_is_uniq — PromotionalRulesCollection