From 787ea0c80e19f89dd34b3e7e10668184aef7f824 Mon Sep 17 00:00:00 2001 From: Andy Chute Date: Fri, 23 Sep 2022 13:06:38 -0700 Subject: [PATCH] [FIX] Add missing parameters to StoredCredential Object see https://developer.paysafe.com/en/cards/api/#/introduction/complex-json-objects/storedcredential --- source/Paysafe/CardPayments/StoredCredential.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/Paysafe/CardPayments/StoredCredential.php b/source/Paysafe/CardPayments/StoredCredential.php index 7426feb..23de762 100644 --- a/source/Paysafe/CardPayments/StoredCredential.php +++ b/source/Paysafe/CardPayments/StoredCredential.php @@ -8,6 +8,8 @@ /** * @property string $type * @property number $occurrence + * @property string $initialTransactionId + * @property string $externalInitialTransactionId */ class StoredCredential extends \Paysafe\JSONObject { @@ -20,6 +22,8 @@ class StoredCredential extends \Paysafe\JSONObject 'occurrence' => array( 'INITIAL', 'SUBSEQUENT' - ) + ), + 'initialTransactionId' => 'string', + 'externalInitialTransactionId' => 'string' ); }