Page 1 of 1

ForwardingAddress

Posted: Wed Jun 19, 2019 12:25 pm
by shawnregan
I am looking for information on the LocationInfo object. I cannot locate anything on it in the SDK help and I need to set a Contact.ForwardingAddress.

Re: ForwardingAddress

Posted: Wed Jun 19, 2019 4:17 pm
by BobRichards
Each Buyer and Seller contact has a "ForwardingAddress" property that is of type LocationInfo. This object contains three user writable objects - Address, Fax, and Phone. By setting the buyer/seller's "ForwardingAddressType" to one of the values from the SDK (None, SameAsPropertyAddress, or SameAsCurrentAddress) you can change the LocationInfo value.

You can write to any of the fields at any time, but to reduce confusion on the part of the operator, it makes the most sense to set the "ForwardingAddressType" to "ForwardingAddressType.None" then set the individual fields (i.e. forwardingAddress.Phone = "919-123-1234").