Pay for any subscriptions that are due for a given contact.

Namespace:  Asi.iBO.Commerce
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public static CErrors PayDues(
	DataServer server,
	IiMISUser user,
	CSubscription[] subscriptions,
	ref CPayment payment,
	CBatch batch
)
Visual Basic (Declaration)
Public Shared Function PayDues ( _
	server As DataServer, _
	user As IiMISUser, _
	subscriptions As CSubscription(), _
	ByRef payment As CPayment, _
	batch As CBatch _
) As CErrors
Visual C++
public:
static CErrors^ PayDues(
	DataServer^ server, 
	IiMISUser^ user, 
	array<CSubscription^>^ subscriptions, 
	CPayment^% payment, 
	CBatch^ batch
)

Parameters

server
Type: Asi.iBO..::.DataServer
The DataServer instance to be used for any database activity.
user
Type: Asi.iBO..::.IiMISUser
The IiMISUser associated with the dues payment. Only user type of CWebUser adds the user's login name and Id to the transaction's comments.
subscriptions
Type: array< Asi.iBO.Commerce..::.CSubscription >[]()[]
The array of CSubscription objects involved in this processing.
payment
Type: Asi.iBO.Financials..::.CPayment %
The CPayment object to use to pay for the subscriptions.
batch
Type: Asi.iBO.Financials..::.CBatch
The batch to be used for this processing.

Return Value

A collection of any errors that may have occurred during this processing.

See Also