From 4f7bf9960c5b7e6bd8f251ebc16fe4df6a4ba8ac Mon Sep 17 00:00:00 2001 From: Lucas Garcia Date: Sun, 5 Aug 2018 11:47:01 -0300 Subject: [PATCH] Removing BILLING address example from customer --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 16376d7..8b7f082 100644 --- a/README.md +++ b/README.md @@ -161,10 +161,6 @@ $customer = $moip->customers()->setOwnId(uniqid()) ->setBirthDate('1988-12-30') ->setTaxDocument('22222222222') ->setPhone(11, 66778899) - ->addAddress('BILLING', - 'Rua de teste', 123, - 'Bairro', 'Sao Paulo', 'SP', - '01234567', 8) ->addAddress('SHIPPING', 'Rua de teste do SHIPPING', 123, 'Bairro do SHIPPING', 'Sao Paulo', 'SP', @@ -278,7 +274,10 @@ $holder = $moip->holders()->setFullname('Jose Silva') ->setBirthDate("1990-10-10") ->setTaxDocument('22222222222', 'CPF') ->setPhone(11, 66778899, 55) - ->setAddress('BILLING', 'Avenida Faria Lima', '2927', 'Itaim', 'Sao Paulo', 'SP', '01234000', 'Apt 101'); + ->setAddress('BILLING', + 'Avenida Faria Lima', '2927', + 'Itaim', 'Sao Paulo', 'SP', + '01234000', 'Apt 101'); ``` ##### Com hash > Para mais detalhes sobre a geração de hash com os dados do cartão [consulte a documentação.](https://dev.moip.com.br/docs/criptografia-de-cartao)