Created
March 15, 2024 11:01
-
-
Save Mulannnnn/d613a66dd8cdf4e11d4040bdebbfaa67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "bubble", | |
"header": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://img.wongnai.com/p/1920x0/2019/05/15/30637519f7434fe9a037f5456d9d84d5.jpg" | |
} | |
] | |
}, | |
"body": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "RECEIPT", | |
"weight": "bold", | |
"color": "#1DB446", | |
"size": "sm" | |
}, | |
{ | |
"type": "text", | |
"text": "BEAR HOUSE", | |
"weight": "bold", | |
"size": "xxl", | |
"margin": "md" | |
}, | |
{ | |
"type": "text", | |
"text": "Future Park Rangsit", | |
"size": "xs", | |
"color": "#aaaaaa", | |
"wrap": true | |
}, | |
{ | |
"type": "separator", | |
"margin": "xxl" | |
}, | |
{ | |
"type": "box", | |
"layout": "vertical", | |
"margin": "xxl", | |
"spacing": "sm", | |
"contents": [ | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "Boba Tea", | |
"size": "sm", | |
"color": "#555555", | |
"flex": 0 | |
}, | |
{ | |
"type": "text", | |
"text": "45 Bath", | |
"size": "sm", | |
"color": "#111111", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "Matcha green tea", | |
"size": "sm", | |
"color": "#555555", | |
"flex": 0 | |
}, | |
{ | |
"type": "text", | |
"text": "45 Bath", | |
"size": "sm", | |
"color": "#111111", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "Brownie", | |
"size": "sm", | |
"color": "#555555", | |
"flex": 0 | |
}, | |
{ | |
"type": "text", | |
"text": "60 Bath", | |
"size": "sm", | |
"color": "#111111", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "Yuzu Cake", | |
"size": "sm", | |
"color": "#555555", | |
"flex": 0 | |
}, | |
{ | |
"type": "text", | |
"text": "80 Bath", | |
"size": "sm", | |
"color": "#111111", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "separator", | |
"margin": "xxl" | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"margin": "xxl", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "ITEMS", | |
"size": "sm", | |
"color": "#555555" | |
}, | |
{ | |
"type": "text", | |
"text": "4", | |
"size": "sm", | |
"color": "#111111", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "TOTAL", | |
"size": "sm", | |
"color": "#555555" | |
}, | |
{ | |
"type": "text", | |
"text": "230 Bath", | |
"size": "sm", | |
"color": "#111111", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/QR_code_for_mobile_English_Wikipedia.svg/1200px-QR_code_for_mobile_English_Wikipedia.svg.png" | |
}, | |
{ | |
"type": "text", | |
"text": "Scan here to pay ", | |
"align": "center" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "separator", | |
"margin": "xxl" | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"margin": "md", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "PAYMENT ID", | |
"size": "xs", | |
"color": "#aaaaaa", | |
"flex": 0 | |
}, | |
{ | |
"type": "text", | |
"text": "#52345845245", | |
"color": "#aaaaaa", | |
"size": "xs", | |
"align": "end" | |
} | |
] | |
} | |
] | |
}, | |
"footer": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "button", | |
"action": { | |
"type": "uri", | |
"label": "Check Payment", | |
"uri": "http://linecorp.com/" | |
}, | |
"style": "primary" | |
} | |
] | |
}, | |
"styles": { | |
"footer": { | |
"separator": true | |
} | |
} | |
} |
Author
Mulannnnn
commented
Mar 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment