Sha256: fcc99f3f4456e181f3b70f514020c752192c8e0fca4883d35848fa611ad62c1d

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

# VeloPayments::PaymentChannelRule

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **element** | **String** | <p>the rule element</p> <p>will match a given element name for a payment channel configuration  |  |
| **required** | **Boolean** | is this element required |  |
| **display_name** | **String** | User friendly name |  |
| **min_length** | **Integer** | mininum length of the element data | [optional] |
| **max_length** | **Integer** | maximum length of the element data | [optional] |
| **validation** | **String** | a regex to validate the element data |  |
| **display_order** | **Integer** |  | [optional] |
| **description** | **String** | An optional description, or hint, as to how the user should enter the field value. | [optional] |

## Example

```ruby
require 'velopayments'

instance = VeloPayments::PaymentChannelRule.new(
  element: accountName,
  required: null,
  display_name: Account Name,
  min_length: 5,
  max_length: 50,
  validation: ^[0-9]{6,11}$,
  display_order: null,
  description: The bank branch, account number prefix and account number suffix; with hyphen separators.
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
velopayments-2.37.150.beta1 docs/PaymentChannelRule.md
velopayments-2.35.58 docs/PaymentChannelRule.md
velopayments-2.35.58.beta1 docs/PaymentChannelRule.md