Beispiel #1
0
 private Customer4(Guid customerId,
                   string firstName,
                   string lastName,
                   string middleName,
                   string title,
                   Address3 address,
                   DateTime dateOfBirth,
                   CountryCode countryOfBirth,
                   string idDocumentType,
                   string idDocumentNumber,
                   string vatNumber,
                   CountryCode vatCountry,
                   IAddressRepository4 addressRepository) : this(customerId,
                                                                 firstName,
                                                                 lastName,
                                                                 middleName,
                                                                 title,
                                                                 address,
                                                                 dateOfBirth,
                                                                 countryOfBirth,
                                                                 idDocumentType,
                                                                 idDocumentNumber,
                                                                 vatNumber,
                                                                 vatCountry)
 {
     _addressRepository = addressRepository;
 }
Beispiel #2
0
 public static OperationResult <Customer4> Create(Guid customerId,
                                                  string firstName,
                                                  string lastName,
                                                  string middleName,
                                                  string title,
                                                  Address3 address,
                                                  DateTime dateOfBirth,
                                                  CountryCode countryOfBirth,
                                                  string idDocumentType,
                                                  string idDocumentNumber,
                                                  string vatNumber,
                                                  CountryCode vatCountry,
                                                  IAddressRepository4 addressRepository
                                                  )
 {
     return(OperationResult <Customer4> .Success(new Customer4(customerId,
                                                               firstName,
                                                               lastName,
                                                               middleName,
                                                               title,
                                                               address,
                                                               dateOfBirth,
                                                               countryOfBirth,
                                                               idDocumentType,
                                                               idDocumentNumber,
                                                               vatNumber,
                                                               vatCountry
                                                               )));
 }
Beispiel #3
0
 private Customer4(Guid customerId,
                   string firstName,
                   string lastName,
                   string middleName,
                   string title,
                   Address3 address,
                   DateTime dateOfBirth,
                   CountryCode countryOfBirth,
                   string idDocumentType,
                   string idDocumentNumber,
                   string vatNumber,
                   CountryCode vatCountry)
 {
     CustomerId       = customerId;
     FirstName        = firstName;
     LastName         = lastName;
     MiddleName       = middleName;
     Title            = title;
     Address          = address;
     DateOfBirth      = dateOfBirth;
     CountryOfBirth   = countryOfBirth;
     IdDocumentType   = idDocumentType;
     IdDocumentNumber = idDocumentNumber;
     VatNumber        = vatNumber;
     VatCountry       = vatCountry;
 }
Beispiel #4
0
 public async Task ChangeCustomerAddress(Address3 address)
 {
 }