File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 50
50
*/
51
51
class RefundRequest extends AbstractRequest
52
52
{
53
+ /**
54
+ * @return bool Whether the application fee should be refunded
55
+ */
53
56
public function getRefundApplicationFee ()
54
57
{
55
58
return $ this ->getParameter ('refundApplicationFee ' );
56
59
}
57
60
61
+ /**
62
+ * Whether to refund the application fee associated with a charge.
63
+ *
64
+ * From the {@link https://stripe.com/docs/api#create_refund Stripe docs}:
65
+ * Boolean indicating whether the application fee should be refunded
66
+ * when refunding this charge. If a full charge refund is given, the
67
+ * full application fee will be refunded. Else, the application fee
68
+ * will be refunded with an amount proportional to the amount of the
69
+ * charge refunded. An application fee can only be refunded by the
70
+ * application that created the charge.
71
+ *
72
+ * @param bool $value Whether the application fee should be refunded
73
+ * @return AbstractRequest
74
+ */
58
75
public function setRefundApplicationFee ($ value )
59
76
{
60
77
return $ this ->setParameter ('refundApplicationFee ' , $ value );
You can’t perform that action at this time.
0 commit comments