@@ -80,8 +80,8 @@ public function getResponseText()
8080 public function getCode ()
8181 {
8282 return $ this ->hasTransaction ()
83- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->responseCode
84- : (string ) $ this ->data ->Status ->statusCode ;
83+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->responseCode
84+ : (string ) $ this ->data ->Status ->statusCode ;
8585 }
8686
8787 /**
@@ -92,8 +92,8 @@ public function getCode()
9292 public function getMessage ()
9393 {
9494 return $ this ->hasTransaction ()
95- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->responseText
96- : (string ) $ this ->data ->Status ->statusDescription ;
95+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->responseText
96+ : (string ) $ this ->data ->Status ->statusDescription ;
9797 }
9898
9999 /**
@@ -112,8 +112,8 @@ public function getMessageTimestamp()
112112 public function getTransactionReference ()
113113 {
114114 return $ this ->hasTransaction ()
115- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->purchaseOrderNo
116- : null ;
115+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->purchaseOrderNo
116+ : null ;
117117 }
118118
119119 /**
@@ -122,8 +122,8 @@ public function getTransactionReference()
122122 public function getTransactionId ()
123123 {
124124 return $ this ->hasTransaction ()
125- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->txnID
126- : null ;
125+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->txnID
126+ : null ;
127127 }
128128
129129 /**
@@ -134,8 +134,8 @@ public function getTransactionId()
134134 public function getTransactionAmount ()
135135 {
136136 return $ this ->hasTransaction ()
137- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->amount
138- : null ;
137+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->amount
138+ : null ;
139139 }
140140
141141 /**
@@ -146,8 +146,8 @@ public function getTransactionAmount()
146146 public function getTransactionCurrency ()
147147 {
148148 return $ this ->hasTransaction ()
149- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->currency
150- : null ;
149+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->currency
150+ : null ;
151151 }
152152
153153 /**
@@ -158,8 +158,8 @@ public function getTransactionCurrency()
158158 public function getTransactionSource ()
159159 {
160160 return $ this ->hasTransaction ()
161- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->txnSource
162- : null ;
161+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->txnSource
162+ : null ;
163163 }
164164
165165 /**
@@ -170,7 +170,7 @@ public function getTransactionSource()
170170 public function getSettlementDate ()
171171 {
172172 return $ this ->hasTransaction ()
173- ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->settlementDate
174- : null ;
173+ ? (string ) $ this ->data ->Payment ->TxnList ->Txn ->settlementDate
174+ : null ;
175175 }
176176}
0 commit comments