Skip to content

Commit

Permalink
Merge branch 'theSCHAPPY-main'
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Jun 26, 2024
2 parents 0a23009 + edf1946 commit 2849deb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/Type/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
/**
* Collmex Member Type.
*
* @author Sebastian Gunreben
* @author Sebastian Gunreben
* @author Marcus Jaschen <[email protected]>
* @author Matthieu-P. Schapranow
*
* @property $type_identifier
* @property $customer_id
Expand Down Expand Up @@ -47,6 +48,7 @@
* @property $payment_via
* @property $printout_language
* @property $cost_center
* @property $no_mailings
*/
class Member extends AbstractType implements TypeInterface
{
Expand Down Expand Up @@ -154,6 +156,7 @@ class Member extends AbstractType implements TypeInterface
'payment_via' => null,
'printout_language' => null,
'cost_center' => null,
'no_mailings' => null,
];

/**
Expand Down
25 changes: 22 additions & 3 deletions src/Type/MemberGet.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
namespace MarcusJaschen\Collmex\Type;

/**
* Collmex Customer Get Type.
* Collmex Member Get Type.
*
* @author Sebastian Gunreben
* @author Marcus Jaschen <[email protected]>
* @author Sebastian Gunreben
* @author Marcus Jaschen <[email protected]>
* @author Matthieu-P. Schapranow
*
* @property $type_identifier
* @property $customer_id
Expand All @@ -19,22 +20,40 @@
* @property $exited_too
* @property $changed_only
* @property $system_name
* @property $reporting_date
* @property $entrance_date_from
* @property $entrance_date_to
* @property $exit_date_from
* @property $exit_date_to
* @property $birthday_from
* @property $birthday_to
*/
class MemberGet extends AbstractType implements TypeInterface
{
/**
* @var array
*/
protected $template = [
// 1
'type_identifier' => 'MEMBER_GET',
'customer_id' => null,
'client_id' => null,
'query' => null,
// 5
'zipcode' => null,
'address_group_id' => null,
'exited_too' => null,
'changed_only' => null,
'system_name' => null,
// 10
'reporting_date' => null,
'entrance_date_from' => null,
'entrance_date_to' => null,
'exit_date_from' => null,
'exit_date_to' => null,
// 15
'birthday_from' => null,
'birthday_to' => null,
];

/**
Expand Down

0 comments on commit 2849deb

Please sign in to comment.