add order and payment
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package entity
|
||||
|
||||
type MidtransResponse struct {
|
||||
Token string
|
||||
RedirectURL string
|
||||
}
|
||||
|
||||
type MidtransRequest struct {
|
||||
PaymentReferenceID string
|
||||
TotalAmount int64
|
||||
OrderItems []OrderItem
|
||||
}
|
||||
Reference in New Issue
Block a user