Created
April 28, 2021 18:27
-
-
Save igorfelipee/5a9d25e109e0ae59f77df38888769894 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 não tenha desconto | |
{ | |
idUsuario: '1234', | |
idCarrinho: '7890', | |
opcaoDeFrete: 'A_JATO' | |
} | |
// Responsta de criação de sessão | |
{ | |
sessionMeta:{ | |
idUsuario: '1234', | |
idCarrinho: '4567', | |
opcaoDeFrete: 'A_JATO' | |
}, | |
components: [ | |
{ | |
rel: 'sumario', | |
payload: { | |
total: 100, | |
}, | |
behaviour: 'SEM_DESCONTO' | |
} | |
], | |
screen: 'PAGAMENTO' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment