File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
src/Mollie/API/Object/Payment Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 32
32
class Mollie_API_Object_Payment_Refund
33
33
{
34
34
/**
35
- * The refund will be send to the bank on the next business day. You can still cancel the refund.
35
+ * The refund is queued until there is enough balance to process te refund. You can still cancel the refund.
36
+ */
37
+ const STATUS_QUEUED = 'queued ' ;
38
+
39
+ /**
40
+ * The refund will be sent to the bank on the next business day. You can still cancel the refund.
36
41
*/
37
42
const STATUS_PENDING = 'pending ' ;
38
43
@@ -88,6 +93,16 @@ class Mollie_API_Object_Payment_Refund
88
93
*/
89
94
public $ status ;
90
95
96
+ /**
97
+ * Is this refund queued?
98
+ *
99
+ * @return bool
100
+ */
101
+ public function isQueued ()
102
+ {
103
+ return $ this ->status == self ::STATUS_QUEUED ;
104
+ }
105
+
91
106
/**
92
107
* Is this refund pending?
93
108
*
You can’t perform that action at this time.
0 commit comments