File tree Expand file tree Collapse file tree 5 files changed +48
-26
lines changed Expand file tree Collapse file tree 5 files changed +48
-26
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " plexophp/php-sdk" ,
3
- "type" : " library" ,
4
- "license" : " AGPL-3.0-only" ,
5
- "description" : " Plexo SDK para PHP" ,
6
- "autoload" : {
7
- "psr-4" : {
8
- "Plexo\\ Sdk\\ " : " src"
9
- },
10
- "files" : [
11
- " src/Utilities/functions.php"
12
- ]
13
- },
14
- "scripts" : {
15
- "test" : " ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests"
16
- },
17
- "require" : {
18
- "php" : " >=5.6 " ,
19
- "guzzlehttp/guzzle" : " ^6 .3.0" ,
20
- "psr/log" : " ^1.0"
21
- },
22
- "require-dev" : {
23
- "phpunit/phpunit" : " ^5.7" ,
24
- "monolog/monolog" : " ^2.2"
25
- }
2
+ "name" : " plexophp/php-sdk" ,
3
+ "type" : " library" ,
4
+ "license" : " AGPL-3.0-only" ,
5
+ "description" : " Plexo SDK para PHP" ,
6
+ "autoload" : {
7
+ "psr-4" : {
8
+ "Plexo\\ Sdk\\ " : " src"
9
+ },
10
+ "files" : [
11
+ " src/Utilities/functions.php"
12
+ ]
13
+ },
14
+ "scripts" : {
15
+ "test" : " ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests"
16
+ },
17
+ "require" : {
18
+ "php" : " >=7.4 " ,
19
+ "guzzlehttp/guzzle" : " ^7 .3.0" ,
20
+ "psr/log" : " ^1.0"
21
+ },
22
+ "require-dev" : {
23
+ "phpunit/phpunit" : " ^5.7" ,
24
+ "monolog/monolog" : " ^2.2"
25
+ }
26
26
}
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ class Authorization extends ModelsBase
18
18
* @var string $ExtendableInstrumentToken (Optional)
19
19
* @var bool $DoNotUseCallback Default false
20
20
* @var WebFormSettingsDto $WebFormSettings
21
+ * @var bool $ExtendedBINInformation Default false
21
22
*/
22
23
23
24
protected $ data = [
@@ -34,6 +35,7 @@ class Authorization extends ModelsBase
34
35
'RedirectUri ' => null ,
35
36
'Type ' => null ,
36
37
'WebFormSettings ' => null ,
38
+ 'ExtendedBINInformation ' => false ,
37
39
];
38
40
39
41
public static function getValidationMetadata ()
@@ -92,6 +94,10 @@ public static function getValidationMetadata()
92
94
'class ' => 'WebFormSettingsDto ' ,
93
95
'required ' => false ,
94
96
],
97
+ 'ExtendedBINInformation ' => [
98
+ 'type ' => 'bool ' ,
99
+ 'required ' => false ,
100
+ ],
95
101
];
96
102
}
97
103
Original file line number Diff line number Diff line change @@ -21,4 +21,13 @@ public static function getValidationMetadata()
21
21
],
22
22
];
23
23
}
24
+
25
+ public function toArray ($ canonize = false )
26
+ {
27
+ return
28
+ [
29
+ 'Display ' =>$ this ->data ['Display ' ]? $ this ->data ['Display ' ]->toArray ($ canonize ):null
30
+ ];
31
+ }
32
+
24
33
}
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ class Transaction extends ModelsBase
86
86
* @var Dictionary<FieldType, string>
87
87
*/
88
88
public $ FieldInformation ;
89
+
89
90
90
91
public function __construct ($ data = null )
91
92
{
@@ -99,7 +100,6 @@ public function __construct($data = null)
99
100
$ this ->Currency = new Currency ($ data ['Currency ' ]);
100
101
$ this ->IsAnonymous = $ data ['IsAnonymous ' ];
101
102
$ this ->CurrentState = $ data ['CurrentState ' ];
102
- // $this->CurrentState = new TransactionType($data['CurrentState']);
103
103
$ this ->InvoiceNumber = $ data ['InvoiceNumber ' ];
104
104
$ this ->FinancialInclusion = new FinancialInclusionResult ($ data ['FinancialInclusion ' ]);
105
105
$ this ->Transactions = $ data ['Transactions ' ];
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ class FieldType {
95
95
const SUBCOMMERCELEGALNAME = 0x81C ;
96
96
const SUBCOMMERCESTATE = 0x81D ;
97
97
const SUBCOMMERCEPOSTALCODE = 0x81E ;
98
+ const BUYERFEEAMOUNT = 0x81F ;
99
+ const ISSUERFEEAMOUNT = 0x820 ;
100
+ const TAXDISCOUNTAMOUNT = 0x821 ;
101
+ const TAXDISCOUNTLAW = 0x822 ;
98
102
99
103
100
104
// Secure Information Starts at 0x8100. Private Flag | User Flag
@@ -196,7 +200,10 @@ class FieldType {
196
200
'SubCommerceLegalName ' ,
197
201
'SubCommerceState ' ,
198
202
'SubCommercePostalCode ' ,
199
-
203
+ 'BuyerFeeAmount ' ,
204
+ 'IssuerFeeAmount ' ,
205
+ 'TaxDiscountAmount ' ,
206
+ 'TaxDiscountLaw ' ,
200
207
0x8101 => 'Pan ' ,
201
208
'Token ' ,
202
209
'UniqueId ' ,
You can’t perform that action at this time.
0 commit comments