-
Notifications
You must be signed in to change notification settings - Fork 3
Products
Joey de Haas edited this page Sep 15, 2022
·
18 revisions
For how to handle the exceptions correctly, see Exceptions.
To load more information see Extra Information.
use \PlugAndPay\Sdk\Service\Client;
use \PlugAndPay\Sdk\Service\ProductService;
$client = new Client($token);
$service = new OrderService($client);
$product = $service->find(1);
$createdAt = $product->createdAt();
$deletedAt = $product->deletedAt();
$description = $product->description();
$id = $product->id();
$isPhysical = $product->IsPhysical();
$publicTitle = $product->publicTitle();
$sku = $product->sku();
$slug = $product->slug();
$title = $product->title();