2024-06-04 02:59:31 +07:00
|
|
|
package entity
|
|
|
|
|
|
|
|
|
|
type MidtransResponse struct {
|
|
|
|
|
Token string
|
|
|
|
|
RedirectURL string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type MidtransRequest struct {
|
|
|
|
|
PaymentReferenceID string
|
2024-08-04 01:14:59 +07:00
|
|
|
PaymentMethod string
|
2024-06-04 02:59:31 +07:00
|
|
|
TotalAmount int64
|
|
|
|
|
OrderItems []OrderItem
|
|
|
|
|
}
|
2024-08-06 16:21:55 +07:00
|
|
|
|
|
|
|
|
type MidtransQrisResponse struct {
|
|
|
|
|
QrCodeUrl string
|
|
|
|
|
OrderID string
|
|
|
|
|
Amount int64
|
|
|
|
|
}
|