GwAddress

Contains customer contact information.

Description

This object contains all customer contact information, including telephone number, fax number, and email address.

Properties

String

FirstName

Customer's first name. (required)

String

LastName

Customer's last name. (required)

String

Company

Company or organization name. (optional)

String

Street

Street address line 1. (required)

String

Street2

Street address line 2. (optional)

String

City

City. (required)

String

State

State or province. (required)

String

Zip

Zip or postal code. (required)

String

Country

Country. (required)

String

Phone

Telephone number. (optional)

String

Fax

Fax number. (optional)

String

Email

Email address. (optional)

eBizCharge.CustomerObject customer = new eBizCharge.CustomerObject();
           eBizCharge.GwAddress address = new eBizCharge.GwAddress();
           address.FirstName = "John";
           address.LastName = "Doe";
           address.Company = "Acme";
           address.Street = "123 main st.";
           address.City = "Hollywood";
           address.State = "ca";
           address.Zip = "91607";
           address.Country = "USA";
           customer.BillingAddress = address;
<BillingAddress xsi:type="ns1:GwAddress">
<City xsi:type="xsd:string">Los Angeles</City>
<Company xsi:type="xsd:string">eBizCharge</Company>
<Country xsi:type="xsd:string">US</Country>
<Email xsi:type="xsd:string">[email protected]</Email>
<Fax xsi:type="xsd:string"></Fax>
<FirstName xsi:type="xsd:string">XML</FirstName>
<LastName xsi:type="xsd:string">Example</LastName>
<Phone xsi:type="xsd:string">1-866-872-3729</Phone>
<State xsi:type="xsd:string">CA</State>
<Street xsi:type="xsd:string">5500 Wilshire Blvd</Street>
<Street2 xsi:type="xsd:string">suite 2700</Street2>
<Zip xsi:type="xsd:string">90036</Zip>
</BillingAddress>