Initial commit

This commit is contained in:
user
2026-07-12 14:34:52 +04:00
commit 3abf6bd9c2
557 changed files with 68706 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef CREATE_REFUND_REQUEST_H
#define CREATE_REFUND_REQUEST_H
#include <QDateTime>
class CreateRefundRequest {
private:
QDateTime refundAt_; // Refund date and time
double refundAmount_; // Refund amount
qint32 ticketId_; // Ticket ID
public:
// Constructors
explicit CreateRefundRequest() = default;
explicit CreateRefundRequest(const QDateTime &refundAt, double refundAmount,
qint32 ticketId)
: refundAt_(refundAt), refundAmount_(refundAmount), ticketId_(ticketId) {}
// Setters (inline methods)
inline void setRefundAt(const QDateTime &refundAt) { refundAt_ = refundAt; }
inline void setRefundAmount(double refundAmount) {
refundAmount_ = refundAmount;
}
inline void setTicketId(qint32 ticketId) { ticketId_ = ticketId; }
// Getters (inline methods)
inline QDateTime refundAt() const { return refundAt_; }
inline double refundAmount() const { return refundAmount_; }
inline qint32 ticketId() const { return ticketId_; }
};
#endif // CREATE_REFUND_REQUEST_H