Functionality to add prices as a client, and view them as a provider

This commit is contained in:
Alexander Wong
2018-02-07 15:52:29 -07:00
parent e6ee51f481
commit 631d1f6d39
13 changed files with 875 additions and 4 deletions
+26
View File
@@ -0,0 +1,26 @@
import {
CREATE_PRICE_REQUEST,
UPDATE_PRICE_REQUEST,
DELETE_PRICE_REQUEST
} from "../../constants/price.constants";
export function createPriceRequest(postBody) {
return {
type: CREATE_PRICE_REQUEST,
data: postBody
};
}
export function updatePriceRequest(payload) {
return {
type: UPDATE_PRICE_REQUEST,
data: payload
};
}
export function deletePriceRequest(payload) {
return {
type: DELETE_PRICE_REQUEST,
data: payload
};
}