C# 클래스 Netshoes.Api.V1.ProductsApi

Represents a collection of functions to interact with the API endpoints
상속: IProductsApi
파일 보기 프로젝트 열기: netshoes/marketplace-api-sdk-csharp

공개 메소드들

메소드 설명
GetBasePath ( String basePath ) : String

Gets the base path of the API client.

GetProduct ( string ProductId, string Expand ) : ProductResource

Get the product by product id.

GetProductAsync ( string ProductId, string Expand ) : Task

Get the product by product id.

ListProductAttributes ( string ProductId ) : AttributeListResource

Get the list of product attributes.

ListProductAttributesAsync ( string ProductId ) : Task

Get the list of product attributes.

ListProducts ( int Page, int Size, string Expand ) : ProductListResource

Get the list of products.

ListProductsAsync ( int Page, int Size, string Expand ) : Task

Get the list of products.

PatchProduct ( string ProductId, ProductResource Body ) : ProductResource

Partialy update the product.

PatchProductAsync ( string ProductId, ProductResource Body ) : Task

Partialy update the product.

ProductsApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the ProductsApi class.

ProductsApi ( String basePath ) : System

Initializes a new instance of the ProductsApi class.

SaveProduct ( ProductResource Body ) : ProductResource

Create a new product.

SaveProductAsync ( ProductResource Body ) : Task

Create a new product.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

UpdateProduct ( string ProductId, ProductResource Body ) : ProductResource

Update the product.

UpdateProductAsync ( string ProductId, ProductResource Body ) : Task

Update the product.

메소드 상세

GetBasePath() 공개 메소드

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
리턴 String

GetProduct() 공개 메소드

Get the product by product id.
public GetProduct ( string ProductId, string Expand ) : ProductResource
ProductId string
Expand string
리턴 Netshoes.Api.V1.Model.ProductResource

GetProductAsync() 공개 메소드

Get the product by product id.
public GetProductAsync ( string ProductId, string Expand ) : Task
ProductId string
Expand string
리턴 Task

ListProductAttributes() 공개 메소드

Get the list of product attributes.
public ListProductAttributes ( string ProductId ) : AttributeListResource
ProductId string
리턴 Netshoes.Api.V1.Model.AttributeListResource

ListProductAttributesAsync() 공개 메소드

Get the list of product attributes.
public ListProductAttributesAsync ( string ProductId ) : Task
ProductId string
리턴 Task

ListProducts() 공개 메소드

Get the list of products.
public ListProducts ( int Page, int Size, string Expand ) : ProductListResource
Page int
Size int
Expand string
리턴 Netshoes.Api.V1.Model.ProductListResource

ListProductsAsync() 공개 메소드

Get the list of products.
public ListProductsAsync ( int Page, int Size, string Expand ) : Task
Page int
Size int
Expand string
리턴 Task

PatchProduct() 공개 메소드

Partialy update the product.
public PatchProduct ( string ProductId, ProductResource Body ) : ProductResource
ProductId string
Body Netshoes.Api.V1.Model.ProductResource
리턴 Netshoes.Api.V1.Model.ProductResource

PatchProductAsync() 공개 메소드

Partialy update the product.
public PatchProductAsync ( string ProductId, ProductResource Body ) : Task
ProductId string
Body Netshoes.Api.V1.Model.ProductResource
리턴 Task

ProductsApi() 공개 메소드

Initializes a new instance of the ProductsApi class.
public ProductsApi ( ApiClient apiClient = null ) : System
apiClient Netshoes.Api.V1.Client.ApiClient
리턴 System

ProductsApi() 공개 메소드

Initializes a new instance of the ProductsApi class.
public ProductsApi ( String basePath ) : System
basePath String
리턴 System

SaveProduct() 공개 메소드

Create a new product.
public SaveProduct ( ProductResource Body ) : ProductResource
Body Netshoes.Api.V1.Model.ProductResource
리턴 Netshoes.Api.V1.Model.ProductResource

SaveProductAsync() 공개 메소드

Create a new product.
public SaveProductAsync ( ProductResource Body ) : Task
Body Netshoes.Api.V1.Model.ProductResource
리턴 Task

SetBasePath() 공개 메소드

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
리턴 void

UpdateProduct() 공개 메소드

Update the product.
public UpdateProduct ( string ProductId, ProductResource Body ) : ProductResource
ProductId string
Body Netshoes.Api.V1.Model.ProductResource
리턴 Netshoes.Api.V1.Model.ProductResource

UpdateProductAsync() 공개 메소드

Update the product.
public UpdateProductAsync ( string ProductId, ProductResource Body ) : Task
ProductId string
Body Netshoes.Api.V1.Model.ProductResource
리턴 Task