function createCustomerShippingData()
{
    $id = '1';
    $legalDocument = '63165236372';
    $name = 'Fulano da Silva';
    $address = createAddress();
    $phone = Phone::create(Phone::COMERCIAL, '11', '37288788');
    return CustomerShippingData::create($id, AbstractCustomer::TYPE_PESSOA_FISICA, $legalDocument, $name, $address, $phone);
}
Beispiel #2
0
 public static function createPhone()
 {
     return Phone::create(Phone::COMERCIAL, '11', '37288788');
 }