File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed
MailChimp.Net/Core/Responses Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ using Newtonsoft . Json ;
2+
3+ namespace MailChimp . Net . Core . Responses ;
4+
5+ public class AddressResponse
6+ {
7+ /// <summary>
8+ /// Gets or sets the address 1.
9+ /// </summary>
10+ [ JsonProperty ( "addr1" ) ]
11+ public string Address1 { get ; set ; }
12+
13+ /// <summary>
14+ /// Gets or sets the address 2.
15+ /// </summary>
16+ [ JsonProperty ( "addr2" ) ]
17+ public string Address2 { get ; set ; }
18+
19+ /// <summary>
20+ /// Gets or sets the city.
21+ /// </summary>
22+ [ JsonProperty ( "city" ) ]
23+ public string City { get ; set ; }
24+
25+ /// <summary>
26+ /// Gets or sets the state.
27+ /// </summary>
28+ [ JsonProperty ( "state" ) ]
29+ public string State { get ; set ; }
30+
31+ /// <summary>
32+ /// Gets or sets the zip.
33+ /// </summary>
34+ [ JsonProperty ( "zip" ) ]
35+ public string Zip { get ; set ; }
36+
37+ /// <summary>
38+ /// Gets or sets the country.
39+ /// </summary>
40+ [ JsonProperty ( "country" ) ]
41+ public string Country { get ; set ; }
42+ }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public class MergeFields
1111 public string LastName { get ; set ; }
1212
1313 [ JsonProperty ( "ADDRESS" ) ]
14- public string Address { get ; set ; }
14+ public AddressResponse Address { get ; set ; }
1515
1616 [ JsonProperty ( "PHONE" ) ]
1717 public string Phone { get ; set ; }
You can’t perform that action at this time.
0 commit comments