Last active
April 28, 2021 18:26
-
-
Save igorfelipee/e3b33e16aa87def865e3f098f654f145 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
// Chamada para criar sessão no BFF com carrinho que tenha desconto | |
{ | |
idUsuario: '1234', | |
idCarrinho: '4567', | |
opcaoDeFrete: 'A_JATO' | |
} | |
// Responsta de criação de sessão | |
{ | |
sessionMeta:{ | |
idUsuario: '1234', | |
idCarrinho: '4567', | |
opcaoDeFrete: 'A_JATO' | |
}, | |
components: [ | |
{ | |
rel: 'sumario', | |
payload: { | |
total: 100, | |
desconto: 90 | |
}, | |
behaviour: 'COM_DESCONTO' | |
} | |
], | |
screen: 'PAGAMENTO' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment