Documentation
Show / Hide Table of Contents

Interface IDiscountServiceContract

%Service for interacting with discounts in %Evatic.

Namespace: Evatic.Common.Service.Contract
Assembly: Evatic.Common.dll
Syntax
[IncludeDocumentationInWsdl]
[ServiceContract(Namespace = "http://schema.evatic.com/2012/10/24", Name = "DiscountService")]
public interface IDiscountServiceContract

Methods

View Source

CreateOrUpdateCustomerArticleDiscount(CustomerArticleDiscountDataContract)

Create or update a customer/article discount. By sending in an unused Guid, a new discount will be created. By sending in an existing one, the matching discount will be updated. This method can not change the relation of the discount, e.g. from customer/article to contract/article.

Declaration
[OperationContract]
void CreateOrUpdateCustomerArticleDiscount(CustomerArticleDiscountDataContract articleDiscount)
Parameters
Type Name Description
CustomerArticleDiscountDataContract articleDiscount
View Source

DeleteDiscount(Guid)

Delete any type of discount by Guid.

Declaration
[OperationContract]
void DeleteDiscount(Guid discountGuid)
Parameters
Type Name Description
System.Guid discountGuid
View Source

GetCustomerArticleDiscounts(Guid)

Get all customer/article discounts for a given customer.

Declaration
[OperationContract]
List<CustomerArticleDiscountDataContract> GetCustomerArticleDiscounts(Guid customerGuid)
Parameters
Type Name Description
System.Guid customerGuid
Returns
Type Description
System.Collections.Generic.List<CustomerArticleDiscountDataContract>
  • View Source
CONTACT INFORMATION

Asolvi AS Sluppenveien 25
N-7037 Trondheim
+47 73 80 22 00
Support
FOLLOW US

© Asolvi AS 2018