Documentation ¶
Index ¶
- func Create(ctx context.Context, priceInput *apicontracts.Price) (*apicontracts.Price, error)
- func Delete(ctx context.Context, priceId string) (bool, *apicontracts.Price, error)
- func GetAll(ctx context.Context) (*[]apicontracts.Price, error)
- func GetById(ctx context.Context, id string) (*apicontracts.Price, error)
- func GetByProperty(ctx context.Context, property string, propertyValue string) (*[]apicontracts.Price, error)
- func Update(ctx context.Context, priceId string, priceInput *apicontracts.Price) (*apicontracts.Price, *apicontracts.Price, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, priceInput *apicontracts.Price) (*apicontracts.Price, error)
func GetByProperty ¶
func Update ¶
func Update(ctx context.Context, priceId string, priceInput *apicontracts.Price) (*apicontracts.Price, *apicontracts.Price, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.