Skip to content

Commit ff51d2a

Browse files
authored
Update Cord.php
1 parent 7ebbfba commit ff51d2a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Cord.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,19 @@ public function booking(string $booking): self
101101

102102
return $this;
103103
}
104+
105+
/**
106+
* Determine if the request is for a receiveable
107+
* Note: eAdaptor cannot query AR/APs, so this can only be used in junction
108+
* with the "withDocuments()" method.
109+
*/
110+
public function receiveable(string $receiveable): self
111+
{
112+
$this->targetKey = $receiveable;
113+
$this->target = DataTarget::Receiveable;
114+
115+
return $this;
116+
}
104117

105118
/**
106119
* Determine if the request is for a shipment.

0 commit comments

Comments
 (0)