Skip to content

Commit 365041e

Browse files
authored
Merge pull request #3 from lyyhd/master
alibaba 产品id 解析
2 parents 35a5c79 + 8463eb4 commit 365041e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
namespace AlibabaApi\Operations;
4+
5+
class ProductIdDecrypt extends AbstractOperation
6+
{
7+
public function getName()
8+
{
9+
return 'alibaba.icbu.product.id.decrypt';
10+
}
11+
12+
public function setProductId($productId)
13+
{
14+
$this->parameter['product_id'] = $productId;
15+
return $this;
16+
}
17+
18+
public function setLanguage($language = 'ENGLISH')
19+
{
20+
$this->parameter['language'] = $language;
21+
return $this;
22+
}
23+
}

0 commit comments

Comments
 (0)