Skip to content

Commit 558599c

Browse files
authored
Merge pull request #11 from SankyuTech/develop
update missing url
2 parents 9d39132 + 7a94c88 commit 558599c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/One/Submission.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function creditNote($param)
5252
try{
5353

5454
$response = $this->client->httpClient()
55-
->request('POST', $endpoint.'/credit-note', [
55+
->request('POST', $endpoint.'/submit/credit-note', [
5656
'headers' => array_merge(
5757
$this->client->auth()->credentials(),
5858
[
@@ -84,7 +84,7 @@ public function debitNote($param)
8484
try{
8585

8686
$response = $this->client->httpClient()
87-
->request('POST', $endpoint.'/debit-note', [
87+
->request('POST', $endpoint.'/submit/debit-note', [
8888
'headers' => array_merge(
8989
$this->client->auth()->credentials(),
9090
[
@@ -116,7 +116,7 @@ public function refundNote($param)
116116
try{
117117

118118
$response = $this->client->httpClient()
119-
->request('POST', $endpoint.'/refund-note', [
119+
->request('POST', $endpoint.'/submit/refund-note', [
120120
'headers' => array_merge(
121121
$this->client->auth()->credentials(),
122122
[
@@ -148,7 +148,7 @@ public function selfBilledInvoice($param)
148148
try{
149149

150150
$response = $this->client->httpClient()
151-
->request('POST', $endpoint.'/self-billed-invoice', [
151+
->request('POST', $endpoint.'/submit/self-billed-invoice', [
152152
'headers' => array_merge(
153153
$this->client->auth()->credentials(),
154154
[
@@ -180,7 +180,7 @@ public function selfBilledCreditNote($param)
180180
try{
181181

182182
$response = $this->client->httpClient()
183-
->request('POST', $endpoint.'/self-billed-credit-note', [
183+
->request('POST', $endpoint.'/submit/self-billed-credit-note', [
184184
'headers' => array_merge(
185185
$this->client->auth()->credentials(),
186186
[
@@ -212,7 +212,7 @@ public function selfBilledDebitNote($param)
212212
try{
213213

214214
$response = $this->client->httpClient()
215-
->request('POST', $endpoint.'/self-billed-debit-note', [
215+
->request('POST', $endpoint.'/submit/self-billed-debit-note', [
216216
'headers' => array_merge(
217217
$this->client->auth()->credentials(),
218218
[
@@ -244,7 +244,7 @@ public function selfBilledRefundNote($param)
244244
try{
245245

246246
$response = $this->client->httpClient()
247-
->request('POST', $endpoint.'/self-refund-note', [
247+
->request('POST', $endpoint.'/submit/self-refund-note', [
248248
'headers' => array_merge(
249249
$this->client->auth()->credentials(),
250250
[

0 commit comments

Comments
 (0)