Update Payment Token
This commit is contained in:
@@ -150,16 +150,17 @@ type PaymentDistribution struct {
|
||||
}
|
||||
|
||||
type OrderDetail struct {
|
||||
ID int64 `json:"id"` // Order ID
|
||||
QRCode string `json:"qr_code"` // QR code data (can be a URL or base64 string)
|
||||
FullName string `json:"full_name"` // Customer's full name
|
||||
Email string `json:"email"` // Customer's email address
|
||||
PhoneNumber string `json:"phone_number"` // Customer's phone number
|
||||
OrderItems []OrderDetailItem `json:"order_items"` // List of ordered items
|
||||
TotalAmount float64 `json:"total_amount"` // Total amount paid
|
||||
CreatedAt time.Time `json:"created_at"` // Order creation time
|
||||
Status string `json:"status"`
|
||||
PaymentLink string `json:"payment_link"`
|
||||
ID int64 `json:"id"`
|
||||
QRCode string `json:"qr_code"`
|
||||
FullName string `json:"full_name"`
|
||||
Email string `json:"email"`
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
OrderItems []OrderDetailItem `json:"order_items"`
|
||||
TotalAmount float64 `json:"total_amount"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Status string `json:"status"`
|
||||
PaymentLink string `json:"payment_link"`
|
||||
PaymentToken string `json:"payment_token"`
|
||||
}
|
||||
|
||||
type OrderDetailItem struct {
|
||||
|
||||
Reference in New Issue
Block a user