CustomerAddress Property
Customer's street address.
Syntax
ANSI (Cross Platform) char* GetCustomerAddress();
int SetCustomerAddress(const char* lpszCustomerAddress); Unicode (Windows) LPWSTR GetCustomerAddress();
INT SetCustomerAddress(LPCWSTR lpszCustomerAddress);
@property (nonatomic,readwrite,assign,getter=customerAddress,setter=setCustomerAddress:) NSString* customerAddress; - (NSString*)customerAddress; - (void)setCustomerAddress:(NSString*)newCustomerAddress;
#define PID_ICHARGE_CUSTOMERADDRESS 10 INPAY_EXTERNAL void* INPAY_CALL InPay_ICharge_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INPAY_EXTERNAL int INPAY_CALL InPay_ICharge_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Customer's street address. This property is used as part of the Address Verification Service (AVS) and contains the customer's street address as it appears on their monthly statement. Only the street number, street name, and apartment number are required in This property. City, state, and zip code are set in the CustomerCity, CustomerState, and CustomerZip properties.
The length of this property varies by gateway. If the customer's address is very long, it is admissible to include only the street number in This property.
NOTE: For the Moneris gateway, this property should contain only the customer's street number. The street name should be added via the AddSpecialField method. For example:
class.CustomerAddress = "123" class.AddSpecialField("avs_street_name", "Nowhere Ln")
This property is not available at design time.
Data Type
String