readDiscounts: Read discounts from file

Description Usage Arguments Value

Description

Function runs a validation of a supplied file containing discounts and throws an error if it was not successfull.

Usage

1
readDiscounts(products, file = "discounts.csv")

Arguments

file

path to the file with products list

Value

Function returns a data.frame with discounts read from file if the validation was successfull.


komisarczyks/CheckoutComponent documentation built on May 20, 2019, 12:55 p.m.