Skip to content

Commit 2ab811f

Browse files
authored
Merge pull request #93 from sunanzhi/master
2 parents 12dbdd1 + e029523 commit 2ab811f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/Message/RefundOrderRequest.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function getData()
4242
'refund_fee' => $this->getRefundFee(),
4343
'refund_fee_type' => $this->getRefundFee(),//<>
4444
'op_user_id' => $this->getOpUserId() ?: $this->getMchId(),
45+
'refund_account' => $this->getRefundAccount(),
4546
'nonce_str' => md5(uniqid()),
4647
];
4748

@@ -52,6 +53,22 @@ public function getData()
5253
return $data;
5354
}
5455

56+
/**
57+
* @return mixed
58+
*/
59+
public function getRefundAccount()
60+
{
61+
return $this->getParameter('refund_account');
62+
}
63+
64+
/**
65+
* @param mixed $refundAccount
66+
*/
67+
public function setRefundAccount($refundAccount)
68+
{
69+
$this->setParameter('refund_account', $refundAccount);
70+
}
71+
5572

5673
/**
5774
* @return mixed

0 commit comments

Comments
 (0)