Description Usage Arguments Details Value Examples
View source: R/ct_get_rewards.R
ct_get_rewards
Check for rewards eligibility
1 2 | ct_get_rewards(ct_token, client_id, cc_number, reward_program,
merchant_code)
|
ct_token |
pass the output from ct_auth |
cc_number |
numeric credit card number to be encrypted with sha256 |
Passes the ct_auth2 token, and clientid to test for card eligibility for a specific rewards program with a specific merchant.
If all inputs are integer and logical, then the output will be an integer. If integer overflow http://en.wikipedia.org/wiki/Integer_overflow occurs, the output will be NA with a warning. Otherwise it will be a length-one numeric or complex vector.
Zero-length vectors have sum 0 by definition. See http://en.wikipedia.org/wiki/Empty_sum for more details.
1 2 3 4 5 6 | ct_get_rewards
## Not run:
sum("a")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.