File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,22 +92,34 @@ public function accounts(): Accounts
9292
9393 public function contacts (): Contacts
9494 {
95- return new Contacts ;
95+ $ resource = new Contacts ;
96+ $ resource ->setTenantId ($ this ->tenant_id );
97+
98+ return $ resource ;
9699 }
97100
98101 public function creditnotes (): CreditNotes
99102 {
100- return new CreditNotes ;
103+ $ resource = new CreditNotes ;
104+ $ resource ->setTenantId ($ this ->tenant_id );
105+
106+ return $ resource ;
101107 }
102108
103109 public function invoices (): Invoices
104110 {
105- return new Invoices ;
111+ $ resource = new Invoices ;
112+ $ resource ->setTenantId ($ this ->tenant_id );
113+
114+ return $ resource ;
106115 }
107116
108117 public function webhooks (): Webhooks
109118 {
110- return new Webhooks ;
119+ $ resource = new Webhooks ;
120+ $ resource ->setTenantId ($ this ->tenant_id );
121+
122+ return $ resource ;
111123 }
112124
113125 public function isTokenValid (): bool
You can’t perform that action at this time.
0 commit comments