C# Class Pwinty.Client.OrderItemResource

Inheritance: BaseResource
Mostra file Open project: tomgallard/pwinty-dotnet

Public Methods

Method Description
Create ( long orderId, OrderItemRequest orderItem ) : OrderItem
CreateWithData ( long orderId, OrderItemRequest orderItem, Stream fileData ) : OrderItem
Delete ( long id, long orderId ) : void
Get ( long orderId, long photoId ) : OrderItem
OrderItemResource ( ) : System

Method Details

Create() public method

public Create ( long orderId, OrderItemRequest orderItem ) : OrderItem
orderId long
orderItem OrderItemRequest
return OrderItem

CreateWithData() public method

public CreateWithData ( long orderId, OrderItemRequest orderItem, Stream fileData ) : OrderItem
orderId long
orderItem OrderItemRequest
fileData Stream
return OrderItem

Delete() public method

public Delete ( long id, long orderId ) : void
id long
orderId long
return void

Get() public method

public Get ( long orderId, long photoId ) : OrderItem
orderId long
photoId long
return OrderItem

OrderItemResource() public method

public OrderItemResource ( ) : System
return System