Skip to content

Commit

Permalink
Merge pull request #13 from erajayatech/egiftcard
Browse files Browse the repository at this point in the history
PMP-106 Add struct for notify
  • Loading branch information
zidni722 authored May 29, 2023
2 parents 92ba882 + 9301261 commit 97b907f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions hermes.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ type Body struct {
FreeMarkdown Markdown // Free markdown content that replaces all content other than header and footer
SalesOrder model.SalesOrder // Add new var custom data
Cards model.GiftcardDetail // Add new var for custom egiftcard data
Notify model.ProductDetail // Add new var for custom notify data
}

// ToHTML converts Markdown to HTML
Expand Down
7 changes: 7 additions & 0 deletions model/notify.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package model

type ProductDetail struct {
Title string `json:"title"`
Description string `json:"description"`
Thumbnail string `json:"thumbnail"`
}

0 comments on commit 97b907f

Please sign in to comment.