GetPaymentsCount

Description

This method allows you to return the number of payments based on the search terms.

Syntax

int GetPaymentsCount(SecurityToken securityToken, string customerId, string customerInternalId, System.DateTime fromDateTime, System.DateTime toDateTime)

Arguments

Type

Name

Description

SecurityToken

securityToken

Merchant security token: used to identify merchant and validate transaction. (required)

string

customerId

Unique customer ID number assigned by the system. (required)

string

customerInternalId

Unique invoice ID number assigned by the internal system. (required)

System.DateTime

fromDateTime

From date. (required)

System.DateTime

toDateTime

To date. (required)

Return Value

Type

Description

int

Returns the number of payments based on the search terms.

Examples

var client = new EBizSOAP.IeBizServiceClient();
EBizSOAP.SecurityToken securityToken = new EBizSOAP.SecurityToken();
securityToken.UserId = "";
securityToken.SecurityId = "1dc496d1-90b4-4a38-ad78-28a795af78e9";
securityToken.Password = "";
int count = client.GetPaymentsCount(securityToken, "1010120", "12345645", DateTime.Parse("01/01/2016"), DateTime.Parse("01/03/2016"));
Console.WriteLine(count);