From 98b009ff40d385a37349b6fa56524ffd2195aa5c Mon Sep 17 00:00:00 2001 From: Felix Malfait Date: Wed, 5 Jul 2017 17:45:58 +0200 Subject: [PATCH] Add new PayIn type (External Instruction) --- MangoPay/PayIn.php | 1 + MangoPay/PayInExecutionDetailsExternalInstruction.php | 9 +++++++++ MangoPay/PayInExecutionType.php | 1 + 3 files changed, 11 insertions(+) create mode 100644 MangoPay/PayInExecutionDetailsExternalInstruction.php diff --git a/MangoPay/PayIn.php b/MangoPay/PayIn.php index 56bba34b..48707bd0 100644 --- a/MangoPay/PayIn.php +++ b/MangoPay/PayIn.php @@ -56,6 +56,7 @@ public function GetDependsObjects() '_property_name' => 'ExecutionDetails', PayInExecutionType::Web => '\MangoPay\PayInExecutionDetailsWeb', PayInExecutionType::Direct => '\MangoPay\PayInExecutionDetailsDirect', + PayInExecutionType::ExternalInstruction => '\MangoPay\PayInExecutionDetailsExternalInstruction', // ...and more in future... ) ); diff --git a/MangoPay/PayInExecutionDetailsExternalInstruction.php b/MangoPay/PayInExecutionDetailsExternalInstruction.php new file mode 100644 index 00000000..1a32ce5b --- /dev/null +++ b/MangoPay/PayInExecutionDetailsExternalInstruction.php @@ -0,0 +1,9 @@ +