JSON ข้อความ · Message objectflexlay-payment-plan-options-carousel.json
{
"type": "flex",
"altText": "เลือกรูปแบบการชำระเงินสำหรับคำสั่งซื้อ OD-88231 ยอด ฿12,000",
"contents": {
"type": "carousel",
"contents": [
{
"type": "bubble",
"size": "micro",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"paddingEnd": "8px",
"paddingTop": "2px",
"cornerRadius": "xl",
"paddingStart": "8px",
"paddingBottom": "2px",
"backgroundColor": "#047857",
"contents": [
{
"type": "text",
"size": "xxs",
"text": "คุ้มสุด",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
]
},
{
"type": "text",
"size": "md",
"text": "จ่ายเต็มจำนวน",
"color": "#111827",
"margin": "md",
"weight": "bold"
},
{
"type": "text",
"size": "xxl",
"text": "฿11,400",
"color": "#047857",
"margin": "sm",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "ลด 5% เมื่อชำระครั้งเดียว ยอดปกติ ฿12,000",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#047857",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=choose_plan&order=OD-88231&plan=full",
"label": "เลือกแบบนี้",
"displayText": "เลือกจ่ายเต็มจำนวน"
}
}
]
}
},
{
"type": "bubble",
"size": "micro",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"paddingEnd": "8px",
"paddingTop": "2px",
"cornerRadius": "xl",
"paddingStart": "8px",
"paddingBottom": "2px",
"backgroundColor": "#2563EB",
"contents": [
{
"type": "text",
"size": "xxs",
"text": "ยอดนิยม",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
]
},
{
"type": "text",
"size": "md",
"text": "ผ่อน 3 เดือน",
"color": "#111827",
"margin": "md",
"weight": "bold"
},
{
"type": "text",
"size": "xxl",
"text": "฿4,000",
"color": "#2563EB",
"margin": "sm",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "ต่อเดือน ดอกเบี้ย 0% รวม ฿12,000",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#2563EB",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=choose_plan&order=OD-88231&plan=i3",
"label": "เลือกแบบนี้",
"displayText": "เลือกผ่อน 3 เดือน"
}
}
]
}
},
{
"type": "bubble",
"size": "micro",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": " "
},
{
"type": "text",
"size": "md",
"text": "ผ่อน 6 เดือน",
"color": "#111827",
"margin": "md",
"weight": "bold"
},
{
"type": "text",
"size": "xxl",
"text": "฿2,000",
"color": "#7C3AED",
"margin": "sm",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "ต่อเดือน ดอกเบี้ย 0% ผ่านบัตรเครดิตที่ร่วมรายการ",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#7C3AED",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=choose_plan&order=OD-88231&plan=i6",
"label": "เลือกแบบนี้",
"displayText": "เลือกผ่อน 6 เดือน"
}
}
]
}
}
]
}
}