領収証発行サービス
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
536B

  1. <?php
  2. namespace App\Logic\SMS;
  3. use App\Codes\SMSSendPurpose;
  4. use App\Models\ReceiptIssuingOrder;
  5. use App\Models\SMSSendOrder;
  6. interface SMSManager
  7. {
  8. public static function makeSMSSendOrder(ReceiptIssuingOrder $order, SMSSendPurpose $purpose, string $contents): SMSSendOrder;
  9. public function loadOrder(string $id): static;
  10. public function setOrder(SMSSendOrder $order): static;
  11. public function getOrder();
  12. public function send(): bool;
  13. public function poll(): bool;
  14. public function cancel(): bool;
  15. }