SyncteraRubySdk::SpendControlUpdateRequest
Properties
| Name |
Type |
Description |
Notes |
| action_case |
Boolean |
If set, create a case for transactions that do not conform to the spend control |
[optional] |
| action_decline |
Boolean |
If set, decline transactions that do not conform to the spend control |
[optional] |
| amount_limit |
Integer |
Monetary limit for the spend control in the smallest currency unit (eg cents) |
[optional] |
| direction |
SpendControlDirection |
|
[optional] |
| is_active |
Boolean |
Indicates if spend control is active |
[optional] |
| merchant_category_codes |
Array<String> |
merchant category codes for spend control |
[optional] |
| name |
String |
Name assigned to spend control |
[optional] |
| 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 |
|
[optional] |
Example
require 'synctera_ruby_sdk'
instance = SyncteraRubySdk::SpendControlUpdateRequest.new(
action_case: null,
action_decline: null,
amount_limit: null,
direction: null,
is_active: true,
merchant_category_codes: null,
name: null,
payment_types: null,
time_range: null
)