init project
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package transaction
|
||||
|
||||
type PaymentStatus string
|
||||
|
||||
const (
|
||||
New PaymentStatus = "NEW"
|
||||
Paid PaymentStatus = "PAID"
|
||||
Cancel PaymentStatus = "CANCEL"
|
||||
)
|
||||
|
||||
func (b PaymentStatus) toString() string {
|
||||
return string(b)
|
||||
}
|
||||
|
||||
type PaymentMethod string
|
||||
|
||||
const (
|
||||
Cash PaymentMethod = "CASH"
|
||||
Debit PaymentMethod = "DEBIT"
|
||||
Transfer PaymentMethod = "TRANSFER"
|
||||
QRIS PaymentMethod = "QRIS"
|
||||
)
|
||||
|
||||
func (b PaymentMethod) toString() string {
|
||||
return string(b)
|
||||
}
|
||||
Reference in New Issue
Block a user