Skip to content

Commit d8228dd

Browse files
committed
GRAL-3316 updated code examples
1 parent ad7f3f5 commit d8228dd

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,8 @@ $deals->listProductsAttachedToADeal($collect);
21452145
21462146

21472147
```php
2148-
function addAProductToTheDealEventuallyCreatingANewItemCalledADealProduct($options)
2148+
function addAProductToADeal($options);
2149+
function addAProductToTheDealEventuallyCreatingANewItemCalledADealProduct($options);
21492150
```
21502151

21512152
#### Parameters
@@ -2165,8 +2166,9 @@ $collect['id'] = $id;
21652166
$body = array('key' => 'value');
21662167
$collect['body'] = $body;
21672168

2168-
2169-
$result = $deals->addAProductToTheDealEventuallyCreatingANewItemCalledADealProduct($collect);
2169+
$result = $deals->addAProductToADeal($collect);
2170+
// OR
2171+
// $result = $deals->addAProductToTheDealEventuallyCreatingANewItemCalledADealProduct($collect);
21702172

21712173
```
21722174

@@ -2177,7 +2179,8 @@ $result = $deals->addAProductToTheDealEventuallyCreatingANewItemCalledADealProdu
21772179
21782180

21792181
```php
2180-
function updateProductAttachmentDetailsOfTheDealProductAProductAlreadyAttachedToADeal($options)
2182+
function updateTheProductAttachedToADeal($options);
2183+
function updateProductAttachmentDetailsOfTheDealProductAProductAlreadyAttachedToADeal($options);
21812184
```
21822185

21832186
#### Parameters
@@ -2230,8 +2233,9 @@ $collect['comments'] = $comments;
22302233
$enabledFlag = int::ENUM_0;
22312234
$collect['enabledFlag'] = $enabledFlag;
22322235

2233-
2234-
$result = $deals->updateProductAttachmentDetailsOfTheDealProductAProductAlreadyAttachedToADeal($collect);
2236+
$result = $deals->updateTheProductAttachedToADeal($collect);
2237+
// OR
2238+
// $result = $deals->updateProductAttachmentDetailsOfTheDealProductAProductAlreadyAttachedToADeal($collect);
22352239

22362240
```
22372241

0 commit comments

Comments
 (0)