add order and payment

This commit is contained in:
aditya.siregar
2024-06-04 02:59:31 +07:00
parent 8a23e72230
commit 4ae9079ff9
34 changed files with 810 additions and 1172 deletions
+12
View File
@@ -0,0 +1,12 @@
package entity
type MidtransResponse struct {
Token string
RedirectURL string
}
type MidtransRequest struct {
PaymentReferenceID string
TotalAmount int64
OrderItems []OrderItem
}