Customer Structure

Customer Structure 
It contains all the necessary fields to send a new customer to Digital Customers Base.
Public Structure Customer
This language is not supported or no code example is available.
public struct Customer
This language is not supported or no code example is available.
Fields
 
Name Description
Public field branch The entity's branch. If there is no branch, then branch = 0.
Public field clientServiceType Mandatory Field 
It must match with useCase 
Get the possible values using the myDATATools.getDclClientServiceType method.
Public field comments Free Text - max 150 chars 
AADE will trim comments to 150 characters if their length exceeds this limit.
Public field continuousService Determines if the service is continuous.
Public field correlatedDclId Fill this field withe ID of the correlated customer.
Public field creationDateTime The creation Date Time. 
Mandatory field only when transmissionFailure = 1
Public field customerCountry Mandatory Field only when recurringService is True; otherwise, it is ignored. 
Get all available Countries using getCountries() 
Example: GR
Public field customerVatNumber Mandatory Field only when recurringService is True; otherwise, it is ignored. 
Example: 123456789
Public field fromAgreedPeriodDate The "From" agreed Date 
Mandatory field only when continuousService is True
Public field mixedService Determines if the service is mixed.
Public field periodicity Determines the periodcity of the service
Public field recurringService Determines if the service is recurring.
Public field toAgreedPeriodDate The "To" agreed Date 
Mandatory field only when continuousService is True
Public field transmissionFailure Determines if the customer created earlier than today. 
If the customer created earlier than today, then transmissionFailure = 1
Public field useCase Mandatory Field 
Must have only one of them: 
GarageType 
ParkingCarWashType 
GarageType
Top

.NET Framework

Supported in: 3.5 or newer

In this article

Definition