View Source Craftgate.Adapter.PayByLinkAdapter (Craftgate v1.0.42)
Provides capabilities to manage and list products available for the pay-by-link feature
Link to this section Summary
Functions
Bangified version of create_product/2
Bangified version of delete_product/2
Bangified version of retrieve_product/2
Bangified version of search_products/2
Bangified version of update_product/3
Link to this section Functions
@spec create_product( Craftgate.Request.CreateProductRequest.t(), keyword() ) :: {:ok, Craftgate.Response.ProductResponse.t()} | {:error, any()}
@spec create_product!( Craftgate.Request.CreateProductRequest.t(), keyword() ) :: Craftgate.Response.ProductResponse.t() | no_return()
Bangified version of create_product/2
Bangified version of delete_product/2
@spec retrieve_product( integer(), keyword() ) :: {:ok, Craftgate.Response.ProductResponse.t()} | {:error, any()}
@spec retrieve_product!( integer(), keyword() ) :: Craftgate.Response.ProductResponse.t() | no_return()
Bangified version of retrieve_product/2
@spec search_products( Craftgate.Request.SearchProductsRequest.t(), keyword() ) :: {:ok, Craftgate.Response.ProductListResponse.t()} | {:error, any()}
@spec search_products!( Craftgate.Request.SearchProductsRequest.t(), keyword() ) :: Craftgate.Response.ProductListResponse.t() | no_return()
Bangified version of search_products/2
@spec update_product(integer(), Craftgate.Request.UpdateProductRequest.t(), keyword()) :: {:ok, Craftgate.Response.ProductResponse.t()} | {:error, any()}
@spec update_product!( integer(), Craftgate.Request.UpdateProductRequest.t(), keyword() ) :: Craftgate.Response.ProductResponse.t() | no_return()
Bangified version of update_product/3