File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function getData()
3333 'ord_no ' => $ this ->getTransactionId (),
3434 'ord_time ' => $ this ->getOrdTime () ?? (new DateTime ())->format ('Y-m-d H:i:s ' ),
3535 'tx_type ' => $ this ->getTxType () ?? '101 ' ,
36- 'pay_type ' => $ this ->getPayType () ?? '1 ' ,
36+ 'pay_type ' => $ this ->getPaymentMethod () ?? '1 ' ,
3737 'amt ' => $ this ->getAmount (),
3838 'cur ' => $ this ->getCurrency () ?? 'NTD ' ,
3939 'order_desc ' => $ this ->getDescription (),
Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ public function getOrdTime()
5252 */
5353 public function setPayType ($ value )
5454 {
55- return $ this ->setParameter ( ' pay_type ' , $ value );
55+ return $ this ->setPaymentMethod ( $ value );
5656 }
5757
5858 public function getPayType ()
5959 {
60- return $ this ->getParameter ( ' pay_type ' );
60+ return $ this ->getPaymentMethod ( );
6161 }
6262
6363 /**
You can’t perform that action at this time.
0 commit comments