This commit is contained in:
Fran Jurmanovic
2021-08-02 04:31:09 -07:00
parent 149fbfa211
commit 26e39322e4
4 changed files with 22 additions and 3 deletions

View File

@@ -45,6 +45,10 @@ type NewSubscriptionBody struct {
Amount json.Number `json:"amount" form:"amount"`
}
type SubscriptionEnd struct {
Id string `json:"id" form:"id"`
}
func (cm *Subscription) ToTrans() *Transaction {
trans := new(Transaction)
trans.Init()