Click or drag to resize
Infosoft Logo

SubscriptionChangeServiceChangeDiscountPermanently Method

This method changes the discount on a permanent basis. It creates a permanent change which will either remove or update the subscribers current discount. If either discount code or discount responsible code arent given in the request, it will be treated as a removal of the current discount. If both discount code and discount responsible code are given, it will update the customers current discount. If the discount requires a responsible, the responsible code must be valid else the method will fail.

Namespace: Infosoft.Webservices.Subscription
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax
public ChangeSubscriptionDiscountResponse ChangeDiscountPermanently(
	ChangeSubscriptionDiscountRequest request
)

Parameters

request  ChangeSubscriptionDiscountRequest
The request.

Return Value

ChangeSubscriptionDiscountResponse
A response object reflecting the changes done.

Implements

ISubscriptionChangeServiceChangeDiscountPermanently(ChangeSubscriptionDiscountRequest)
Exceptions
ExceptionCondition
FaultExceptionTDetailNo customer found for given customer number.
FaultExceptionTDetailNo discount found for give discount code.
FaultExceptionTDetailA valid discount responsible is required, but none were found for given discount responsible code.
See Also