|
@@ -35,14 +35,6 @@ final readonly class CustomerRequestData extends PagarmeData
|
|
|
'document' => $this->document,
|
|
'document' => $this->document,
|
|
|
'type' => $this->type,
|
|
'type' => $this->type,
|
|
|
'document_type' => $this->documentType,
|
|
'document_type' => $this->documentType,
|
|
|
- 'documents' => [
|
|
|
|
|
- [
|
|
|
|
|
- 'type' => $this->documentType,
|
|
|
|
|
- 'number' => $this->documentType === 'PASSPORT'
|
|
|
|
|
- ? $this->document
|
|
|
|
|
- : self::digits($this->document),
|
|
|
|
|
- ],
|
|
|
|
|
- ],
|
|
|
|
|
'code' => $this->code,
|
|
'code' => $this->code,
|
|
|
'address' => $this->address,
|
|
'address' => $this->address,
|
|
|
'phones' => $this->phones,
|
|
'phones' => $this->phones,
|