public class PremiumCall extends AbstractCall<PremiumDataType>
Constructor and Description |
---|
PremiumCall(ClearCheckBookConnection connection) |
Modifier and Type | Method and Description |
---|---|
PremiumDataType |
get()
Determines whether or not this user is a premium member.
|
protected String |
getUrlSuffix() |
bulkProcess, delete, edit, get, getAll, getAll, getConnection, getPluralUrl, insert, process
public static final String TYPE
public PremiumCall(ClearCheckBookConnection connection)
protected String getUrlSuffix()
getUrlSuffix
in class AbstractCall<PremiumDataType>
public PremiumDataType get() throws ClearcheckbookException
Example:
https://username:password@www.clearcheckbook.com/api/premium/
Parameters:
Parameter Required Description
None
Returned Values:
Value Description
status true or false. true if the user has a valid premium membership
check_num 0 or 1. 1 if the user has the additional check number field
enabled
memo 0 or 1. 1 if the user has the additional memo field enabled
payee 0 or 1. 1 if the user has the additional payee field enabled
get
in class AbstractCall<PremiumDataType>
extends AbstractDataType
ClearcheckbookException
Copyright © 2014 Leonard UK Ltd. All rights reserved.