Moved Payment objects

This commit is contained in:
netkas 2024-10-04 15:09:07 -04:00
parent 0662c64ed6
commit 02dedd3e03
13 changed files with 18 additions and 10 deletions

View file

@ -3,6 +3,7 @@
namespace TgBotLib\Objects; namespace TgBotLib\Objects;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Payments\Invoice;
class ExternalReplyInfo implements ObjectTypeInterface class ExternalReplyInfo implements ObjectTypeInterface
{ {

View file

@ -9,7 +9,7 @@
use TgBotLib\Enums\Types\InputMessageContentType; use TgBotLib\Enums\Types\InputMessageContentType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\Inline\InputMessageContent;
use TgBotLib\Objects\LabeledPrice; use TgBotLib\Objects\Payments\LabeledPrice;
class InputInvoiceMessageContent extends InputMessageContent implements ObjectTypeInterface class InputInvoiceMessageContent extends InputMessageContent implements ObjectTypeInterface
{ {

View file

@ -4,6 +4,9 @@
namespace TgBotLib\Objects; namespace TgBotLib\Objects;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Payments\Invoice;
use TgBotLib\Objects\Payments\RefundedPayment;
use TgBotLib\Objects\Payments\SuccessfulPayment;
class Message extends MaybeInaccessibleMessage implements ObjectTypeInterface class Message extends MaybeInaccessibleMessage implements ObjectTypeInterface
{ {

View file

@ -1,7 +1,7 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,7 +1,7 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,7 +1,7 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,9 +1,10 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\User;
class PreCheckoutQuery implements ObjectTypeInterface class PreCheckoutQuery implements ObjectTypeInterface
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,7 +1,7 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,7 +1,7 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,9 +1,10 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\User;
class ShippingQuery implements ObjectTypeInterface class ShippingQuery implements ObjectTypeInterface
{ {

View file

@ -1,7 +1,7 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Payments;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -6,6 +6,8 @@
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Inline\ChosenInlineResult; use TgBotLib\Objects\Inline\ChosenInlineResult;
use TgBotLib\Objects\Inline\InlineQuery; use TgBotLib\Objects\Inline\InlineQuery;
use TgBotLib\Objects\Payments\PreCheckoutQuery;
use TgBotLib\Objects\Payments\ShippingQuery;
class Update implements ObjectTypeInterface class Update implements ObjectTypeInterface
{ {