From 697369b257edf2ebc48b82b04419fb7170702abc Mon Sep 17 00:00:00 2001 From: Daniel Berry Date: Mon, 30 Nov 2015 16:59:14 +1100 Subject: [PATCH] [Issue #3] Adds new attributes from the refund response to the Eway\Rapid\Model\RefundDetails $fillable array The following attributes are now present in the production refund response and such have been added to the RefundDetails model: 'AuthorisationID', 'STAN', 'ReceiptId', 'Receipt', 'ResponseCode', 'ResponseText', 'MerchantID', 'TerminalID', 'PosReference', 'SettlementDate', 'ReceiptGUID', 'MposDeviceId' --- src/Rapid/Model/RefundDetails.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Rapid/Model/RefundDetails.php b/src/Rapid/Model/RefundDetails.php index 1eb6e56..528a49b 100644 --- a/src/Rapid/Model/RefundDetails.php +++ b/src/Rapid/Model/RefundDetails.php @@ -21,5 +21,17 @@ class RefundDetails extends AbstractModel 'InvoiceDescription', 'InvoiceReference', 'CurrencyCode', + 'AuthorisationID', + 'STAN', + 'ReceiptId', + 'Receipt', + 'ResponseCode', + 'ResponseText', + 'MerchantID', + 'TerminalID', + 'PosReference', + 'SettlementDate', + 'ReceiptGUID', + 'MposDeviceId' ]; -} +} \ No newline at end of file