QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

Address Property

Address of vendor.

Syntax

ANSI (Cross Platform)
char* GetAddress();
int SetAddress(const char* lpszAddress); Unicode (Windows) LPWSTR GetAddress();
INT SetAddress(LPCWSTR lpszAddress);
@property (nonatomic,readwrite,assign,getter=address,setter=setAddress:) NSString* address;
- (NSString*)address;
- (void)setAddress:(NSString*)newAddress;
#define PID_VENDOR_ADDRESS 2

INQB_EXTERNAL void* INQB_CALL InQB_Vendor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_Vendor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

The address of the Vendor.

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>

Address must be specified if EligibleFor1099 is set to true. Moreover, it must be a valid and complete US address, with city, state, and zip code.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]