SyncteraRubySdk::SpendControl
Properties
| Name |
Type |
Description |
Notes |
| action_case |
Boolean |
If set, create a case for transactions that do not conform to the spend control |
|
| action_decline |
Boolean |
If set, decline transactions that do not conform to the spend control |
|
| amount_limit |
Integer |
Monetary limit for the spend control in the smallest currency unit (eg cents) |
|
| creation_time |
Time |
The timestamp representing when the spend control was created |
[optional][readonly] |
| direction |
SpendControlDirection |
|
[optional] |
| id |
String |
Spend Control ID |
[optional][readonly] |
| is_active |
Boolean |
Indicates if spend control is active |
|
| last_modified_time |
Time |
The timestamp representing when the spend control was last modified |
[optional][readonly] |
| merchant_category_codes |
Array<String> |
merchant category codes for spend control |
[optional] |
| name |
String |
Name assigned to spend control |
|
| payment_types |
Array<PaymentType> |
A list of payment types to which a spend control will apply, if set. If not set or the array is empty, then the spend control will apply to all types of payments. |
[optional] |
| time_range |
SpendControlTimeRange |
|
|
Example
require 'synctera_ruby_sdk'
instance = SyncteraRubySdk::SpendControl.new(
action_case: null,
action_decline: null,
amount_limit: null,
creation_time: 2010-05-06T12:23:34.321Z,
direction: null,
id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
is_active: true,
last_modified_time: 2010-05-06T12:23:34.321Z,
merchant_category_codes: null,
name: null,
payment_types: null,
time_range: null
)