Skip to content

Commit

Permalink
Add support for Mailstep-based distribution of Special
Browse files Browse the repository at this point in the history
We have a requirement to allow postal-fee-free delivery
of Special issues, which would go through the standard
print export channels.

We allow this by allowing modules to process MailStage
order items before they're sent to the Mailstage. Currently
we process any items with postal fee using the
"issue delivery" condition.

remp/respekt#320
  • Loading branch information
rootpd committed Nov 13, 2024
1 parent 1d0fa0c commit daeee22
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Models/PaymentItem/GiftPaymentItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,14 @@ public function data(): array
'subscription_type_item_id' => $this->subscriptionTypeItemId,
];
}

public function getSubscriptionTypeId(): int
{
return $this->subscriptionTypeId;
}

public function getSubscriptionTypeItemId(): ?int
{
return $this->subscriptionTypeItemId;
}
}

0 comments on commit daeee22

Please sign in to comment.