PaymentAmount Property

Payment amount.

Syntax

ANSI (Cross Platform)
char* GetPaymentAmount();
int SetPaymentAmount(const char* lpszPaymentAmount); Unicode (Windows) LPWSTR GetPaymentAmount();
INT SetPaymentAmount(LPCWSTR lpszPaymentAmount);
@property (nonatomic,readwrite,assign,getter=paymentAmount,setter=setPaymentAmount:) NSString* paymentAmount;
- (NSString*)paymentAmount;
- (void)setPaymentAmount:(NSString*)newPaymentAmount;
#define PID_BILLPAYMENT_PAYMENTAMOUNT 35

IPWORKSOFX_EXTERNAL void* IPWORKSOFX_CALL IPWorksOFX_BillPayment_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOFX_EXTERNAL int IPWORKSOFX_CALL IPWorksOFX_BillPayment_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Payment amount. This is to be provided when sending a bill payment request.

Note: the financial institution usually returns amounts as a string that includes the sign (+/-) of the amount. However, the server may sometimes leave out a particular field if it is not required by the OFX specification. To avoid confusion that can be caused by returning integers, the class will return all amount types as a string, with the empty string ("") for fields not returned by the server.

Where there is a value returned by the server, the class will attempt to convert the string into a format that can be easily parsed into an integer value. This behavior can be controlled by the CurrencyFormat config setting.

This property is not available at design time.

Data Type

String

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