JSON ข้อความ · Message objectflexlay-edu-tuition-fee-notice.json
{
"type": "flex",
"altText": "แจ้งชำระค่าเทอม 1/2570 ยอด ฿28,450 ภายใน 15 ม.ค. 2570",
"contents": {
"type": "bubble",
"size": "mega",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ใบแจ้งค่าธรรมเนียมการศึกษา",
"color": "#5F6673"
},
{
"type": "text",
"size": "xl",
"text": "ภาคเรียนที่ 1/2570",
"color": "#111827",
"margin": "xs",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "ด.ญ. ณิชา รักเรียน · ป.4/1 · เลขที่ INV-70-01892",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "box",
"layout": "vertical",
"margin": "lg",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ค่าเล่าเรียน",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "฿22,000",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ค่ากิจกรรม",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "฿3,500",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ค่าหนังสือ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "฿2,150",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ค่าประกันอุบัติเหตุ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "฿800",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "box",
"layout": "horizontal",
"margin": "lg",
"contents": [
{
"type": "text",
"size": "md",
"text": "ยอดชำระ",
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xl",
"text": "฿28,450",
"align": "end",
"color": "#2563EB",
"weight": "bold"
}
]
},
{
"type": "text",
"size": "xs",
"text": "กำหนดชำระภายใน 15 ม.ค. 2570",
"align": "end",
"color": "#B45309",
"margin": "sm",
"weight": "bold"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#2563EB",
"style": "primary",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/pay/INV-70-01892",
"label": "ชำระเงิน"
}
},
{
"type": "button",
"color": "#2563EB",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/invoices/INV-70-01892.pdf",
"label": "ดาวน์โหลดใบแจ้งหนี้ (PDF)"
}
}
]
}
}
}