Skip to content

Products

Joey de Haas edited this page Sep 15, 2022 · 18 revisions

Introduction

For how to handle the exceptions correctly, see Exceptions.

Show

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();
Clone this wiki locally