Last active
October 18, 2017 18:15
-
-
Save pablo-fernandez/3e6755a641ddc8046662481532c780ef to your computer and use it in GitHub Desktop.
ReviewConfirmResp
This file contains hidden or 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
| { | |
| "status": "Success", | |
| "current_step": "review", | |
| "data": { | |
| "components": [], | |
| "flow_id": "17383389-84b0-4b1c-b07a-4369ab2eca65", | |
| "configurations": [ | |
| { | |
| "id": "brand_name", | |
| "value": null | |
| } | |
| ], | |
| "ui_components": [ | |
| { | |
| "text": "Revisa tu pago", | |
| "type": "title" | |
| }, | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "text": "Total a pagar", | |
| "type": "text" | |
| }, | |
| { | |
| "text": "$ 100.0", | |
| "type": "price" | |
| } | |
| ], | |
| "label": "", | |
| "type": "row_cart_total", | |
| "id": "row_cart_total" | |
| } | |
| ], | |
| "label": "", | |
| "type": "group_cart", | |
| "id": "cart" | |
| }, | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "text": "Visa **** 1730", | |
| "type": "text_title" | |
| }, | |
| { | |
| "text": "Test test", | |
| "type": "text" | |
| } | |
| ], | |
| "label": "", | |
| "type": "group_details", | |
| "id": "payment_details" | |
| }, | |
| { | |
| "type": "button_step", | |
| "id": "change_payment_method", | |
| "value": "card_form", | |
| "label": "Cambiar" | |
| } | |
| ], | |
| "label": "", | |
| "type": "row_payment", | |
| "id": "payment_method" | |
| }, | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "text": "1x $ 100.0", | |
| "type": "text_title" | |
| }, | |
| { | |
| "text": "Sin inter\u00e9s", | |
| "type": "text_interest_promo" | |
| }, | |
| { | |
| "text": "($ 100.0)", | |
| "type": "text_interest_total" | |
| }, | |
| { | |
| "text": "CFT 0,00% TEA 0,00%", | |
| "type": "text_cft" | |
| } | |
| ], | |
| "label": "", | |
| "type": "group_details", | |
| "id": "installment_details" | |
| }, | |
| { | |
| "type": "button_step", | |
| "id": "change_installments", | |
| "value": "installments_form", | |
| "label": "Cambiar" | |
| } | |
| ], | |
| "label": "", | |
| "type": "row_payment", | |
| "id": "installments" | |
| } | |
| ], | |
| "label": "", | |
| "type": "group_payment", | |
| "id": "payment" | |
| }, | |
| { | |
| "errors": {}, | |
| "validations": [], | |
| "value": [ | |
| { | |
| "type": "button", | |
| "id": "pay", | |
| "label": "Pagar 1x $ 100.0" | |
| } | |
| ], | |
| "label": "", | |
| "type": "group_form", | |
| "id": "group_pay" | |
| } | |
| ], | |
| "id": "21", | |
| "operationId": "21" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
En este ejemplo sería simplemente este cambio:
Linea #55, #87 en lugar de type "text", usar "text_title".
Pero haciendo un desglose en detalle de los casos posibles según el diseño sería así:
"text_title"
"text"
"text_interest_total"
"text_interest_promo"
"text_cft"
"text_promo"