PMBalanceIncrementBalance Method |
Increases the current balance amount. The UsePages value will determine whether currency or pages value is used.
Namespace: PM90SettingsAPIAssembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntaxpublic void IncrementBalance(
Nullable<double> currency = null,
Nullable<int> pages = null
)
Parameters
- currency (Optional)
- Type: SystemNullableDouble
Value to increase balance by when it is currency. - pages (Optional)
- Type: SystemNullableInt32
Value to increase balance by when it is pages.
ExceptionsException | Condition |
---|
ArgumentException | Needed parameter is null or zero |
PMDatabaseException | Represents an database connection or syntax error that has occurred when processing an API request |
PMException | Unexcpected exception has occurred, check inner exception |
Remarks
Value can be negative and used to deduct balance.
See Also