func FetchPayment(endpoint string, id string) (*Payment, error) { var result Payment return &result, services.Http_get_json("http://"+endpoint+"/payment/"+id, &result) }
func GetShipment(endpoint string, id string) (*Shipment, error) { var result Shipment return &result, services.Http_get_json("http://"+endpoint+"/shipment/"+id, &result) }
func GetItem(endpoint string, item string) (*Item, error) { var result Item return &result, services.Http_get_json("http://"+endpoint+"/item/"+item, &result) }
func AllItems(endpoint string) ([]*Item, error) { var result []*Item return result, services.Http_get_json("http://"+endpoint+"/items", &result) }
func GetOrder(shopEndpoint string, orderId string) (*Order, error) { var result *Order return result, services.Http_get_json("http://"+shopEndpoint+"/order/"+orderId, &result) }
func AllOrders(shopEndpoint string, user string) ([]*Order, error) { var result []*Order return result, services.Http_get_json("http://"+shopEndpoint+"/orders/"+user, &result) }