From 503d7cfc05a1568d9ca77b9b1176c6e4c88d9902 Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Mon, 27 Nov 2023 09:47:10 +0100 Subject: [PATCH] Delete payment source from order to array --- modules/ppcp-api-client/src/Entity/Order.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/modules/ppcp-api-client/src/Entity/Order.php b/modules/ppcp-api-client/src/Entity/Order.php index ef1cba160..42a037a10 100644 --- a/modules/ppcp-api-client/src/Entity/Order.php +++ b/modules/ppcp-api-client/src/Entity/Order.php @@ -189,16 +189,6 @@ class Order { return $this->application_context; } - /** - * Returns the payment source. - * - * @return PaymentSource|null - */ - public function payment_source() { - - return $this->payment_source; - } - /** * Returns the object as array. * @@ -228,9 +218,6 @@ class Order { if ( $this->application_context() ) { $order['application_context'] = $this->application_context()->to_array(); } - if ( $this->payment_source() ) { - $order['payment_source'] = $this->payment_source(); - } return $order; }