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); }
public static function createCustomerShippingData() { $id = '1'; $legalDocument = '63165236372'; $name = 'Fulano da Silva'; $address = AddressFixture::createAddress(); $phone = PhoneFixture::createPhone(); return CustomerShippingData::create($id, AbstractCustomer::TYPE_PESSOA_FISICA, $legalDocument, $name, $address, $phone); }