File tree Expand file tree Collapse file tree
contract/v1/TransactionDetailsType Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace net \authorize \api \contract \v1 \TransactionDetailsType ;
4+
5+ /**
6+ * Class representing EmvDetailsAType
7+ */
8+ class EmvDetailsAType
9+ {
10+
11+ /**
12+ * @property
13+ * \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType[]
14+ * $tag
15+ */
16+ private $ tag = null ;
17+
18+ /**
19+ * Adds as tag
20+ *
21+ * @return self
22+ * @param
23+ * \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType
24+ * $tag
25+ */
26+ public function addToTag (\net \authorize \api \contract \v1 \TransactionDetailsType \EmvDetailsAType \TagAType $ tag )
27+ {
28+ $ this ->tag [] = $ tag ;
29+ return $ this ;
30+ }
31+
32+ /**
33+ * isset tag
34+ *
35+ * @param scalar $index
36+ * @return boolean
37+ */
38+ public function issetTag ($ index )
39+ {
40+ return isset ($ this ->tag [$ index ]);
41+ }
42+
43+ /**
44+ * unset tag
45+ *
46+ * @param scalar $index
47+ * @return void
48+ */
49+ public function unsetTag ($ index )
50+ {
51+ unset($ this ->tag [$ index ]);
52+ }
53+
54+ /**
55+ * Gets as tag
56+ *
57+ * @return
58+ * \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType[]
59+ */
60+ public function getTag ()
61+ {
62+ return $ this ->tag ;
63+ }
64+
65+ /**
66+ * Sets a new tag
67+ *
68+ * @param
69+ * \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType[]
70+ * $tag
71+ * @return self
72+ */
73+ public function setTag (array $ tag )
74+ {
75+ $ this ->tag = $ tag ;
76+ return $ this ;
77+ }
78+
79+
80+ }
81+
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace net \authorize \api \contract \v1 \TransactionDetailsType \EmvDetailsAType ;
4+
5+ /**
6+ * Class representing TagAType
7+ */
8+ class TagAType
9+ {
10+
11+ /**
12+ * @property string $tagId
13+ */
14+ private $ tagId = null ;
15+
16+ /**
17+ * @property string $data
18+ */
19+ private $ data = null ;
20+
21+ /**
22+ * Gets as tagId
23+ *
24+ * @return string
25+ */
26+ public function getTagId ()
27+ {
28+ return $ this ->tagId ;
29+ }
30+
31+ /**
32+ * Sets a new tagId
33+ *
34+ * @param string $tagId
35+ * @return self
36+ */
37+ public function setTagId ($ tagId )
38+ {
39+ $ this ->tagId = $ tagId ;
40+ return $ this ;
41+ }
42+
43+ /**
44+ * Gets as data
45+ *
46+ * @return string
47+ */
48+ public function getData ()
49+ {
50+ return $ this ->data ;
51+ }
52+
53+ /**
54+ * Sets a new data
55+ *
56+ * @param string $data
57+ * @return self
58+ */
59+ public function setData ($ data )
60+ {
61+ $ this ->data = $ data ;
62+ return $ this ;
63+ }
64+
65+
66+ }
67+
Original file line number Diff line number Diff line change @@ -109,13 +109,11 @@ public function execute($endPoint = \net\authorize\api\constants\ANetEnvironment
109109 {
110110 $ this ->beforeExecute ();
111111
112- $ this ->apiRequest ->$ clientId = "sdk-php- " . \net \authorize \api \constants \ANetEnvironment::VERSION
112+ $ this ->apiRequest ->$ clientId = "sdk-php- " . \net \authorize \api \constants \ANetEnvironment::VERSION ;
113113
114114 $ this ->logger ->info ("Request Serialization Begin " );
115115 $ this ->logger ->debug ($ this ->apiRequest );
116116 $ xmlRequest = $ this ->serializer ->serialize ($ this ->apiRequest , 'xml ' );
117-
118- print $ xmlRequest ;
119117
120118 $ this ->logger ->info ("Request Serialization End " );
121119 /*
You can’t perform that action at this time.
0 commit comments