BillingAddress Property
Billing address for customer.
Syntax
ANSI (Cross Platform) char* GetBillingAddress();
int SetBillingAddress(const char* lpszBillingAddress); Unicode (Windows) LPWSTR GetBillingAddress();
INT SetBillingAddress(LPCWSTR lpszBillingAddress);
@property (nonatomic,readwrite,assign,getter=billingAddress,setter=setBillingAddress:) NSString* billingAddress; - (NSString*)billingAddress; - (void)setBillingAddress:(NSString*)newBillingAddress;
#define PID_CUSTOMER_BILLINGADDRESS 5 INQB_EXTERNAL void* INQB_CALL InQB_Customer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Customer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
The billing address for the customer.
The address is stored as a string, formatted as XML. It may be read and written directly, or with the Address component.
To read an address, set the Aggregate property of an Address class to this value, and read the values of the desired fields. To write an address, write the values of the desired Address fields and set this property to the Address's Aggregate.
To read and/or write directly, use the QBXML formatting: <Addr1>Line1</Addr1><Addr2>Line2</Addr2><Addr3>Line3</Addr3> <City>City</City><State>State</State><PostalCode>PostalCode</PostalCode> <Country>Country</Country>
Data Type
String