Skip to content

Commit a6e7f4d

Browse files
ivankamkinIvan Kamkin
andauthored
Release 22.10
Pdf417MacroTerminator enum added Co-authored-by: Ivan Kamkin <[email protected]>
1 parent d178475 commit a6e7f4d

File tree

6 files changed

+113
-8
lines changed

6 files changed

+113
-8
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Supported PHP Versions](https://img.shields.io/packagist/dependency-v/aspose/barcode-cloud-php/php)](https://packagist.org/packages/aspose/barcode-cloud-php)
77

88
- API version: 3.0
9-
- Package version: 22.9.0
9+
- Package version: 22.10.0
1010
- Supported PHP versions: ">=7.3 || >=8.0"
1111

1212
## Demo applications
@@ -163,6 +163,7 @@ Class | Method | HTTP request | Description
163163
- [PatchFormat](docs/Model/PatchFormat.md)
164164
- [Pdf417CompactionMode](docs/Model/Pdf417CompactionMode.md)
165165
- [Pdf417ErrorLevel](docs/Model/Pdf417ErrorLevel.md)
166+
- [Pdf417MacroTerminator](docs/Model/Pdf417MacroTerminator.md)
166167
- [Pdf417Params](docs/Model/Pdf417Params.md)
167168
- [PostalParams](docs/Model/PostalParams.md)
168169
- [PresetType](docs/Model/PresetType.md)
@@ -179,3 +180,4 @@ Class | Method | HTTP request | Description
179180
- [StructuredAppend](docs/Model/StructuredAppend.md)
180181
- [TextAlignment](docs/Model/TextAlignment.md)
181182
- [FileVersion](docs/Model/FileVersion.md)
183+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Pdf417MacroTerminator
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+
9+

docs/Model/Pdf417Params.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
2323
**macro_addressee** | **string** | Macro Pdf417 barcode addressee name | [optional]
2424
**macro_eci_encoding** | [**\Aspose\BarCode\Model\ECIEncodings**](ECIEncodings.md) | Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields. | [optional]
2525
**code128_emulation** | [**\Aspose\BarCode\Model\Code128Emulation**](Code128Emulation.md) | Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. | [optional]
26+
**pdf417_macro_terminator** | [**\Aspose\BarCode\Model\Pdf417MacroTerminator**](Pdf417MacroTerminator.md) | Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417. | [optional]
2627

2728
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
2829

src/Aspose/BarCode/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Configuration implements JsonSerializable
4949
*
5050
* @var string
5151
*/
52-
protected $clientVersion = '22.9.0';
52+
protected $clientVersion = '22.10.0';
5353

5454
/*
5555
* ClientId for API
@@ -378,7 +378,7 @@ public static function toDebugReport()
378378
$report .= ' OS: ' . php_uname() . PHP_EOL;
379379
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
380380
$report .= ' OpenAPI Spec Version: 3.0' . PHP_EOL;
381-
$report .= ' SDK Package Version: 22.9.0' . PHP_EOL;
381+
$report .= ' SDK Package Version: 22.10.0' . PHP_EOL;
382382
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
383383

384384
return $report;
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
/*
5+
* --------------------------------------------------------------------------------------------------------------------
6+
* <copyright company="Aspose" file="Pdf417MacroTerminator.php">
7+
* Copyright (c) 2022 Aspose Pty Ltd
8+
* </copyright>
9+
* <summary>
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
16+
*
17+
* The above copyright notice and this permission notice shall be included in all
18+
* copies or substantial portions of the Software.
19+
*
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26+
* SOFTWARE.
27+
* </summary>
28+
* --------------------------------------------------------------------------------------------------------------------
29+
*/
30+
31+
/*
32+
*
33+
*/
34+
//
35+
// This source code was auto-generated by AsposeBarcodeCloudCodegen.
36+
//
37+
38+
namespace Aspose\BarCode\Model;
39+
40+
use Aspose\BarCode\ObjectSerializer;
41+
42+
/*
43+
* Pdf417MacroTerminator
44+
*
45+
* @description
46+
*/
47+
class Pdf417MacroTerminator
48+
{
49+
/// <summary>
50+
/// Enum value Auto
51+
/// </summary>
52+
public const Auto = "Auto";
53+
54+
/// <summary>
55+
/// Enum value None
56+
/// </summary>
57+
public const None = "None";
58+
59+
/// <summary>
60+
/// Enum value Set
61+
/// </summary>
62+
public const Set = "Set";
63+
}

src/Aspose/BarCode/Model/Pdf417Params.php

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ class Pdf417Params implements ArrayAccess
8181
'macro_file_name' => 'string',
8282
'macro_addressee' => 'string',
8383
'macro_eci_encoding' => '\Aspose\BarCode\Model\ECIEncodings',
84-
'code128_emulation' => '\Aspose\BarCode\Model\Code128Emulation'
84+
'code128_emulation' => '\Aspose\BarCode\Model\Code128Emulation',
85+
'pdf417_macro_terminator' => '\Aspose\BarCode\Model\Pdf417MacroTerminator'
8586
];
8687

8788
/*
@@ -109,7 +110,8 @@ class Pdf417Params implements ArrayAccess
109110
'macro_file_name' => null,
110111
'macro_addressee' => null,
111112
'macro_eci_encoding' => null,
112-
'code128_emulation' => null
113+
'code128_emulation' => null,
114+
'pdf417_macro_terminator' => null
113115
];
114116

115117
/*
@@ -158,7 +160,8 @@ public static function swaggerFormats()
158160
'macro_file_name' => 'MacroFileName',
159161
'macro_addressee' => 'MacroAddressee',
160162
'macro_eci_encoding' => 'MacroECIEncoding',
161-
'code128_emulation' => 'Code128Emulation'
163+
'code128_emulation' => 'Code128Emulation',
164+
'pdf417_macro_terminator' => 'Pdf417MacroTerminator'
162165
];
163166

164167
/*
@@ -186,7 +189,8 @@ public static function swaggerFormats()
186189
'macro_file_name' => 'setMacroFileName',
187190
'macro_addressee' => 'setMacroAddressee',
188191
'macro_eci_encoding' => 'setMacroEciEncoding',
189-
'code128_emulation' => 'setCode128Emulation'
192+
'code128_emulation' => 'setCode128Emulation',
193+
'pdf417_macro_terminator' => 'setPdf417MacroTerminator'
190194
];
191195

192196
/*
@@ -214,7 +218,8 @@ public static function swaggerFormats()
214218
'macro_file_name' => 'getMacroFileName',
215219
'macro_addressee' => 'getMacroAddressee',
216220
'macro_eci_encoding' => 'getMacroEciEncoding',
217-
'code128_emulation' => 'getCode128Emulation'
221+
'code128_emulation' => 'getCode128Emulation',
222+
'pdf417_macro_terminator' => 'getPdf417MacroTerminator'
218223
];
219224

220225
/*
@@ -297,6 +302,7 @@ public function __construct(array $data = null)
297302
$this->container['macro_addressee'] = isset($data['macro_addressee']) ? $data['macro_addressee'] : null;
298303
$this->container['macro_eci_encoding'] = isset($data['macro_eci_encoding']) ? $data['macro_eci_encoding'] : null;
299304
$this->container['code128_emulation'] = isset($data['code128_emulation']) ? $data['code128_emulation'] : null;
305+
$this->container['pdf417_macro_terminator'] = isset($data['pdf417_macro_terminator']) ? $data['pdf417_macro_terminator'] : null;
300306
}
301307

302308
/*
@@ -802,6 +808,30 @@ public function setCode128Emulation($code128_emulation)
802808

803809
return $this;
804810
}
811+
812+
/*
813+
* Gets pdf417_macro_terminator
814+
*
815+
* @return \Aspose\BarCode\Model\Pdf417MacroTerminator
816+
*/
817+
public function getPdf417MacroTerminator()
818+
{
819+
return $this->container['pdf417_macro_terminator'];
820+
}
821+
822+
/*
823+
* Sets pdf417_macro_terminator
824+
*
825+
* @param \Aspose\BarCode\Model\Pdf417MacroTerminator $pdf417_macro_terminator Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417.
826+
*
827+
* @return $this
828+
*/
829+
public function setPdf417MacroTerminator($pdf417_macro_terminator)
830+
{
831+
$this->container['pdf417_macro_terminator'] = $pdf417_macro_terminator;
832+
833+
return $this;
834+
}
805835
/*
806836
* Returns true if offset exists. False otherwise.
807837
*

0 commit comments

Comments
 (0)