Skip to content

UpdateCustomerAddressRequest

// RB2 Core Connect
using HotChocolate;
namespace CoreConnect.Commerce.Customer;
public class UpdateCustomerAddressRequest
{
public UpdateCustomerAddressRequest(
string addressId,
AddressType type,
string? firstName,
string? lastName,
string? salutation,
string? address1,
string? postalCode,
string? houseNumber,
string? city,
string? countryCode,
bool isDefaultBilling,
bool isDefaultShipping)
{
AddressId = addressId;
Type = type;
FirstName = firstName;
LastName = lastName;
Salutation = salutation;
Address1 = address1;
PostalCode = postalCode;
City = city;
CountryCode = countryCode;
IsDefaultBilling = isDefaultBilling;
IsDefaultShipping = isDefaultShipping;
HouseNumber = houseNumber;
}
[GraphQLIgnore]
public string? CustomerId { get; set; }
public string? AddressId { get; set; }
public bool IsDefault { get; set; }
public bool IsDefaultBilling { get; set; }
public bool IsDefaultShipping { get; set; }
public AddressType[]? IsDefaultForTypes { get; set; }
public AddressType Type { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Salutation { get; set; }
public string? Company { get; set; }
public string? Address1 { get; set; }
public string? Address2 { get; set; }
public string? PostalCode { get; set; }
public string? City { get; set; }
public string? StateOrProvince { get; set; }
public string? CountryCode { get; set; }
public string? Phone { get; set; }
public string? StreetNumber { get; set; }
public string? HouseNumber { get; set; }
public string? AdditionalStreetInfo { get; set; }
}