Skip to content

Commit ceae1c3

Browse files
committed
Updated charge expiry
1 parent 16fd035 commit ceae1c3

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ else
1313
(git clone https://github.com/chargehive/webhooks.git tmp_webhooks && cd $TMP_PROTO_PATH)
1414
fi
1515

16-
php ./v1.php
16+
/opt/homebrew/opt/php@7.4/bin/php ./v1.php
1717
rm -rf ./tmp_webhooks
1818

1919
git add ../src/Generated/*

build/v1.changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,7 @@
221221
####Updated Classes
222222
- FraudScan
223223

224+
####Build Process @ 2024-12-03 14:17:00
225+
####Updated Classes
226+
- ChargeExpired
227+

src/Generated/V1/ChargeExpired.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,25 @@ class ChargeExpired extends WebhookFoundation
5454
*/
5555
public $transactionNumber;
5656

57+
/**
58+
* ID of the policy triggering the expiry
59+
*
60+
* @var string
61+
*/
62+
public $policyID;
63+
64+
/**
65+
* Reason for the charge expiry
66+
*
67+
* @var string
68+
*/
69+
public $reason;
70+
71+
/**
72+
* Reason code for the expiry
73+
*
74+
* @var number
75+
*/
76+
public $reasonCode;
77+
5778
}

0 commit comments

Comments
 (0)