@@ -44,7 +44,7 @@ public Address() { }
44
44
/// <param name="Email">The email address of the contact associated with the address..</param>
45
45
/// <param name="CopyEmails">The email cc addresses of the contact associated with the address..</param>
46
46
/// <param name="PhoneNumber">The phone number of the person, business or institution located at that address..</param>
47
- public Address ( string Name = default ( string ) , string AddressLine1 = default ( string ) , string AddressLine2 = default ( string ) , string AddressLine3 = default ( string ) , StateOrRegion StateOrRegion = default ( StateOrRegion ) , City City = default ( City ) , CountryCode CountryCode = default ( CountryCode ) , PostalCode PostalCode = default ( PostalCode ) , string Email = default ( string ) , List < string > CopyEmails = default ( List < string > ) , string PhoneNumber = default ( string ) )
47
+ public Address ( string Name = default ( string ) , string AddressLine1 = default ( string ) , string AddressLine2 = default ( string ) , string AddressLine3 = default ( string ) , string StateOrRegion = default ( string ) , string City = default ( string ) , string CountryCode = default ( string ) , string PostalCode = default ( string ) , string Email = default ( string ) , List < string > CopyEmails = default ( List < string > ) , string PhoneNumber = default ( string ) )
48
48
{
49
49
// to ensure "Name" is required (not null)
50
50
if ( Name == null )
@@ -139,25 +139,25 @@ public Address() { }
139
139
/// Gets or Sets StateOrRegion
140
140
/// </summary>
141
141
[ DataMember ( Name = "stateOrRegion" , EmitDefaultValue = false ) ]
142
- public StateOrRegion StateOrRegion { get ; set ; }
142
+ public string StateOrRegion { get ; set ; }
143
143
144
144
/// <summary>
145
145
/// Gets or Sets City
146
146
/// </summary>
147
147
[ DataMember ( Name = "city" , EmitDefaultValue = false ) ]
148
- public City City { get ; set ; }
148
+ public string City { get ; set ; }
149
149
150
150
/// <summary>
151
151
/// Gets or Sets CountryCode
152
152
/// </summary>
153
153
[ DataMember ( Name = "countryCode" , EmitDefaultValue = false ) ]
154
- public CountryCode CountryCode { get ; set ; }
154
+ public string CountryCode { get ; set ; }
155
155
156
156
/// <summary>
157
157
/// Gets or Sets PostalCode
158
158
/// </summary>
159
159
[ DataMember ( Name = "postalCode" , EmitDefaultValue = false ) ]
160
- public PostalCode PostalCode { get ; set ; }
160
+ public string PostalCode { get ; set ; }
161
161
162
162
/// <summary>
163
163
/// The email address of the contact associated with the address.
0 commit comments