Skip to content

Commit 02728b0

Browse files
committed
paymentMethod
1 parent c174445 commit 02728b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Traits/HasCreditCard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)