SwipBoxEnduserShipment constructor
SwipBoxEnduserShipment({})
Implementation
factory SwipBoxEnduserShipment({
$core.String? spId,
$core.String? prefix,
$core.String? altSpId,
$core.String? name,
$core.String? address,
$core.String? locationDescription,
$core.String? zip,
$core.String? city,
$core.String? countryIso,
$core.double? longitude,
$core.double? latitude,
$core.String? carrierName,
$core.Iterable<Translations>? translations,
$core.Iterable<$1.Locker>? lockers,
}) {
final result = create();
if (spId != null) result.spId = spId;
if (prefix != null) result.prefix = prefix;
if (altSpId != null) result.altSpId = altSpId;
if (name != null) result.name = name;
if (address != null) result.address = address;
if (locationDescription != null)
result.locationDescription = locationDescription;
if (zip != null) result.zip = zip;
if (city != null) result.city = city;
if (countryIso != null) result.countryIso = countryIso;
if (longitude != null) result.longitude = longitude;
if (latitude != null) result.latitude = latitude;
if (carrierName != null) result.carrierName = carrierName;
if (translations != null) result.translations.addAll(translations);
if (lockers != null) result.lockers.addAll(lockers);
return result;
}