Skip to content

Commit 52971de

Browse files
authored
Release 21.3 (#12)
1 parent 0ebf86f commit 52971de

File tree

6 files changed

+116
-8
lines changed

6 files changed

+116
-8
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.BarCode Cloud SDK for PHP
22

33
- API version: 3.0
4-
- Package version: 21.2.0
4+
- Package version: 21.3.0
55

66
Aspose.BarCode for Cloud is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
77

@@ -114,6 +114,7 @@ Class | Method | HTTP request | Description
114114
- [CodabarParams](docs/Model/CodabarParams.md)
115115
- [CodabarSymbol](docs/Model/CodabarSymbol.md)
116116
- [CodablockParams](docs/Model/CodablockParams.md)
117+
- [Code128Emulation](docs/Model/Code128Emulation.md)
117118
- [Code16KParams](docs/Model/Code16KParams.md)
118119
- [CodeLocation](docs/Model/CodeLocation.md)
119120
- [CouponParams](docs/Model/CouponParams.md)

docs/Model/Code128Emulation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Code128Emulation
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
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
2222
**macro_file_name** | **string** | Macro Pdf417 barcode file name | [optional]
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]
25+
**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]
2526

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

src/Aspose/BarCode/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Configuration implements JsonSerializable
4646
*
4747
* @var string
4848
*/
49-
protected $clientVersion = '21.2.0';
49+
protected $clientVersion = '21.3.0';
5050

5151
/*
5252
* ClientId for API
@@ -362,7 +362,7 @@ public static function toDebugReport()
362362
$report .= ' OS: ' . php_uname() . PHP_EOL;
363363
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
364364
$report .= ' OpenAPI Spec Version: 3.0' . PHP_EOL;
365-
$report .= ' SDK Package Version: 21.2.0' . PHP_EOL;
365+
$report .= ' SDK Package Version: 21.3.0' . PHP_EOL;
366366
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
367367

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

src/Aspose/BarCode/Model/Pdf417Params.php

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ class Pdf417Params implements ArrayAccess
7878
'macro_checksum' => 'int',
7979
'macro_file_name' => 'string',
8080
'macro_addressee' => 'string',
81-
'macro_eci_encoding' => '\Aspose\BarCode\Model\ECIEncodings'
81+
'macro_eci_encoding' => '\Aspose\BarCode\Model\ECIEncodings',
82+
'code128_emulation' => '\Aspose\BarCode\Model\Code128Emulation'
8283
];
8384

8485
/*
@@ -105,7 +106,8 @@ class Pdf417Params implements ArrayAccess
105106
'macro_checksum' => 'int32',
106107
'macro_file_name' => null,
107108
'macro_addressee' => null,
108-
'macro_eci_encoding' => null
109+
'macro_eci_encoding' => null,
110+
'code128_emulation' => null
109111
];
110112

111113
/*
@@ -153,7 +155,8 @@ public static function swaggerFormats()
153155
'macro_checksum' => 'MacroChecksum',
154156
'macro_file_name' => 'MacroFileName',
155157
'macro_addressee' => 'MacroAddressee',
156-
'macro_eci_encoding' => 'MacroECIEncoding'
158+
'macro_eci_encoding' => 'MacroECIEncoding',
159+
'code128_emulation' => 'Code128Emulation'
157160
];
158161

159162
/*
@@ -180,7 +183,8 @@ public static function swaggerFormats()
180183
'macro_checksum' => 'setMacroChecksum',
181184
'macro_file_name' => 'setMacroFileName',
182185
'macro_addressee' => 'setMacroAddressee',
183-
'macro_eci_encoding' => 'setMacroEciEncoding'
186+
'macro_eci_encoding' => 'setMacroEciEncoding',
187+
'code128_emulation' => 'setCode128Emulation'
184188
];
185189

186190
/*
@@ -207,7 +211,8 @@ public static function swaggerFormats()
207211
'macro_checksum' => 'getMacroChecksum',
208212
'macro_file_name' => 'getMacroFileName',
209213
'macro_addressee' => 'getMacroAddressee',
210-
'macro_eci_encoding' => 'getMacroEciEncoding'
214+
'macro_eci_encoding' => 'getMacroEciEncoding',
215+
'code128_emulation' => 'getCode128Emulation'
211216
];
212217

213218
/*
@@ -289,6 +294,7 @@ public function __construct(array $data = null)
289294
$this->container['macro_file_name'] = isset($data['macro_file_name']) ? $data['macro_file_name'] : null;
290295
$this->container['macro_addressee'] = isset($data['macro_addressee']) ? $data['macro_addressee'] : null;
291296
$this->container['macro_eci_encoding'] = isset($data['macro_eci_encoding']) ? $data['macro_eci_encoding'] : null;
297+
$this->container['code128_emulation'] = isset($data['code128_emulation']) ? $data['code128_emulation'] : null;
292298
}
293299

294300
/*
@@ -770,6 +776,30 @@ public function setMacroEciEncoding($macro_eci_encoding)
770776

771777
return $this;
772778
}
779+
780+
/*
781+
* Gets code128_emulation
782+
*
783+
* @return \Aspose\BarCode\Model\Code128Emulation
784+
*/
785+
public function getCode128Emulation()
786+
{
787+
return $this->container['code128_emulation'];
788+
}
789+
790+
/*
791+
* Sets code128_emulation
792+
*
793+
* @param \Aspose\BarCode\Model\Code128Emulation $code128_emulation Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes.
794+
*
795+
* @return $this
796+
*/
797+
public function setCode128Emulation($code128_emulation)
798+
{
799+
$this->container['code128_emulation'] = $code128_emulation;
800+
801+
return $this;
802+
}
773803
/*
774804
* Returns true if offset exists. False otherwise.
775805
*

0 commit comments

Comments
 (0)