Skip to content

Commit 4ecdcf2

Browse files
committed
V25.9.0 - 2025-09-23
1 parent c4d1abe commit 4ecdcf2

20 files changed

+652
-192
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $create_time Create time of the event.
9+
* @property string $last_update_time Last modification time of the event.
10+
* @property string $payment_option The type of payment option.
11+
* @property bool $visible Specifies if the payment option is visible to users.
12+
* @property bool $selected Specifies if the payment option is selected by default.
13+
* @property bool $additional_accounts Specifies if additional accounts are available.
14+
* @property array<\PHPFUI\ConstantContact\Definition\Message> $error_messages List of error messages associated with the payment option.
15+
* @property string $payable_to The name to make the check payable too.
16+
*/
17+
class CheckPaymentOptionConfigurationDto extends \PHPFUI\ConstantContact\Definition\Base
18+
{
19+
protected static array $fields = [
20+
'create_time' => 'string',
21+
'last_update_time' => 'string',
22+
'payment_option' => 'string',
23+
'visible' => 'bool',
24+
'selected' => 'bool',
25+
'additional_accounts' => 'bool',
26+
'error_messages' => 'array<\PHPFUI\ConstantContact\Definition\Message>',
27+
'payable_to' => 'string',
28+
29+
];
30+
}

src/ConstantContact/Definition/ContactCustomField.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
namespace PHPFUI\ConstantContact\Definition;
66

77
/**
8-
* @property \PHPFUI\ConstantContact\UUID $custom_field_id The custom_field's unique ID
9-
* @property string $value The custom_field value.
8+
* @property \PHPFUI\ConstantContact\UUID $custom_field_id The custom field's unique ID
9+
* @property string $value The custom field value.
10+
* @property array $choice_ids For <code>>multi_select</code> and <code>single_select</code> data types, the ID that uniquely identifies the choice associated with a the custom field.
1011
*/
1112
class ContactCustomField extends \PHPFUI\ConstantContact\Definition\Base
1213
{
1314
protected static array $fields = [
1415
'custom_field_id' => '\PHPFUI\ConstantContact\UUID',
1516
'value' => 'string',
17+
'choice_ids' => 'array',
1618

1719
];
1820

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property \PHPFUI\ConstantContact\UUID $custom_field_id The system generated ID that uniquely identifies a <code>custom_field</code>.
9+
* @property string $label The custom field name to display in the UI (free-form text).
10+
* @property string $name The unique custom field name constructed from the label by replacing blanks with underscores.
11+
* @property string $type The data value type the custom field accepts.
12+
* @property \PHPFUI\ConstantContact\Definition\CustomFieldMetadata $metadata
13+
* @property int $version For <code>datetime</code> data types, this is the version number associated with the custom field.
14+
* @property array<\PHPFUI\ConstantContact\Definition\CustomFieldChoice> $choices Choices available for <code>single_select</code> and <code>multi_select</code> type custom fields. The maximum number of elements for <code>radio</code> or <code>checkbox</code> display types is 20. Maximum number of elements for a <code>dropdown</code> is 100.
15+
* @property \PHPFUI\ConstantContact\DateTime $updated_at System generated date and time that the resource was updated, in ISO-8601 format.
16+
* @property \PHPFUI\ConstantContact\DateTime $created_at Date and time that the resource was created, in ISO-8601 format. System generated.
17+
*/
18+
class CustomField extends \PHPFUI\ConstantContact\Definition\Base
19+
{
20+
protected static array $fields = [
21+
'custom_field_id' => '\PHPFUI\ConstantContact\UUID',
22+
'label' => 'string',
23+
'name' => 'string',
24+
'type' => 'string',
25+
'metadata' => '\PHPFUI\ConstantContact\Definition\CustomFieldMetadata',
26+
'version' => 'int',
27+
'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoice>',
28+
'updated_at' => '\PHPFUI\ConstantContact\DateTime',
29+
'created_at' => '\PHPFUI\ConstantContact\DateTime',
30+
31+
];
32+
33+
protected static array $maxLength = [
34+
'label' => 50,
35+
'name' => 50,
36+
'type' => 20,
37+
'choices' => 100,
38+
39+
];
40+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property \PHPFUI\ConstantContact\UUID $custom_field_id The ID that uniquely identifies a custom field.
9+
* @property int $choice_id The ID that uniquely identifies the choice identifier.
10+
* @property string $choice_label Label to display for the choice on the user interface.
11+
* @property int $display_order Stores the order for displaying a list of choices.
12+
* @property \PHPFUI\ConstantContact\DateTime $created_at Date and time that the record was created, in ISO-8601 format. System generated.
13+
* @property \PHPFUI\ConstantContact\DateTime $updated_at Date and time that the record was updated, in ISO-8601 format. System generated.
14+
* @property \PHPFUI\ConstantContact\Date $deleted_at Date the choice was deleted, in ISO-8601 format. System generated.
15+
*/
16+
class CustomFieldChoice extends \PHPFUI\ConstantContact\Definition\Base
17+
{
18+
protected static array $fields = [
19+
'custom_field_id' => '\PHPFUI\ConstantContact\UUID',
20+
'choice_id' => 'int',
21+
'choice_label' => 'string',
22+
'display_order' => 'int',
23+
'created_at' => '\PHPFUI\ConstantContact\DateTime',
24+
'updated_at' => '\PHPFUI\ConstantContact\DateTime',
25+
'deleted_at' => '\PHPFUI\ConstantContact\Date',
26+
27+
];
28+
29+
protected static array $maxLength = [
30+
'choice_label' => 255,
31+
32+
];
33+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property int $choice_id The ID that uniquely identifies the choice.
9+
* @property string $choice_label Label to display for the choice on the user interface.
10+
* @property int $display_order Stores the order for displaying a list of choices.
11+
*/
12+
class CustomFieldChoicePutRequest extends \PHPFUI\ConstantContact\Definition\Base
13+
{
14+
protected static array $fields = [
15+
'choice_id' => 'int',
16+
'choice_label' => 'string',
17+
'display_order' => 'int',
18+
19+
];
20+
21+
protected static array $maxLength = [
22+
'choice_label' => 255,
23+
24+
];
25+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $choice_label Label to display for the choice on the user interface.
9+
* @property int $display_order Stores the order for displaying a list of choices.
10+
*/
11+
class CustomFieldChoiceRequest extends \PHPFUI\ConstantContact\Definition\Base
12+
{
13+
protected static array $fields = [
14+
'choice_label' => 'string',
15+
'display_order' => 'int',
16+
17+
];
18+
19+
protected static array $maxLength = [
20+
'choice_label' => 255,
21+
22+
];
23+
}

src/ConstantContact/Definition/CustomFieldInput.php

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $display_type Determines how Constant Contact renders a <code>single_select</code> or <code> multi_select</code> field.
9+
* @property bool $allow_negative For type <code>number</code>, determines if a value can be negative. By default, this value is false for the type <code>number</code>.
10+
* @property int $decimal_places For types <code>number</code> and <code>currency</code>, determines the number of decimal places possible in the value.
11+
* @property string $currency_code For type <code>currency</code>, specifies the three-letter currency code to assign.
12+
* @property bool $integer For types <code>number</code> and <code>currency</code>, determines whether the custom field should store only whole numbers (integers) without decimal values. If the <code>integer</code> is set to <code>false</code>, the <code>decimal_places</code> must be between 1 and 4.
13+
* @property string $display_format Specifies the display format for date fields in the user interface. If not specified for a date type field, defaults to <code>YYYY-MM-DD</code> format. Valid only for version 2 type dates (values are stored as actual dates to support date comparisons and validations).
14+
*/
15+
class CustomFieldMetadata extends \PHPFUI\ConstantContact\Definition\Base
16+
{
17+
protected static array $fields = [
18+
'display_type' => 'string',
19+
'allow_negative' => 'bool',
20+
'decimal_places' => 'int',
21+
'currency_code' => 'string',
22+
'integer' => 'bool',
23+
'display_format' => 'string',
24+
25+
];
26+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $label The custom field name to display in the UI (free-form text).
9+
* @property array<\PHPFUI\ConstantContact\Definition\CustomFieldChoicePutRequest> $choices Array of choices for custom fields of type: <code>single_select</code> or <code>multi_select</code>. Maximum number of elements for <code>checkbox</code> and <code>radio</code> display types is 20. Maximum number of elements for a <code>dropdown</code> is 100.
10+
*/
11+
class CustomFieldPutRequest extends \PHPFUI\ConstantContact\Definition\Base
12+
{
13+
protected static array $fields = [
14+
'label' => 'string',
15+
'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoicePutRequest>',
16+
17+
];
18+
19+
protected static array $maxLength = [
20+
'label' => 50,
21+
'choices' => 100,
22+
23+
];
24+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $label The custom field name to display in the UI (free-form text).
9+
* @property string $type The type of data to store in the custom field.
10+
* @property \PHPFUI\ConstantContact\Definition\CustomFieldMetadata $metadata
11+
* @property array<\PHPFUI\ConstantContact\Definition\CustomFieldChoiceRequest> $choices Array of choices for custom fields of type: <code>single_select</code> or <code>multi_select</code>. Maximum number of elements for <code>checkbox</code> and <code>radio</code> display types is 20. Maximum number of elements for a <code>dropdown</code> is 100.
12+
* @property int $version Available if data type is <code>data</code>. Displays <code>1</code> if using legacy date fields where values are stored as strings. Displays <code>2</code> if using new date fields where values are stored as actual dates to support date comparisons and validations.
13+
*/
14+
class CustomFieldRequest extends \PHPFUI\ConstantContact\Definition\Base
15+
{
16+
protected static array $fields = [
17+
'label' => 'string',
18+
'type' => 'string',
19+
'metadata' => '\PHPFUI\ConstantContact\Definition\CustomFieldMetadata',
20+
'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoiceRequest>',
21+
'version' => 'int',
22+
23+
];
24+
25+
protected static array $maxLength = [
26+
'label' => 50,
27+
'type' => 20,
28+
'choices' => 100,
29+
30+
];
31+
}

0 commit comments

Comments
 (0)