ShoppingCartRecovery - Marjoel/redepay-sdk-php GitHub Wiki
Clique aqui para ver como importar e integrar a SDK em seu projeto.
Objeto: ShoppingCartRecovery
negrito: obrigatório
| PARÂMETRO | TIPO | EXEMPLO |
|---|---|---|
| enable | boolean | $shoppingCartRecovery->setEnable($enable) |
| firstAlert | integer | $shoppingCartRecovery->setFirstAlert(firstAlert) |
| secondAlert | integer | $shoppingCartRecovery->setSecondAlert(secondAlert) |
| thirdAlert | integer | $shoppingCartRecovery->setThirdAlert(thirdAlert) |
| fourthAlert | integer | $shoppingCartRecovery->setFourthAlert(fourthAlert) |
| logoUrlAlert | string | $shoppingCartRecovery->setLogoUrlAlert(logoUrlAlert) |
$shoppingCartRecovery = new \RedePay\ShoppingCartRecovery\ShoppingCartRecovery();
$shoppingCartRecovery->setEnable(true);
$shoppingCartRecovery->setFirstAlert(12); // horas
$shoppingCartRecovery->setSecondAlert(24); // horas
$shoppingCartRecovery->setThirdAlert(48); // horas
$shoppingCartRecovery->setFourthAlert(72); // horas
$shoppingCartRecovery->setLogoUrl("https://www.minhaloja.com.br/logo");