This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/Item.php
2013-05-29 14:37:22 +05:30

98 lines
1.4 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class Item extends PPModel {
/**
* Number of items.
* @param string $quantity
*/
public function setQuantity($quantity) {
$this->quantity = $quantity;
return $this;
}
/**
* Number of items.
* @return string
*/
public function getQuantity() {
return $this->quantity;
}
/**
* Name of the item.
* @param string $name
*/
public function setName($name) {
$this->name = $name;
return $this;
}
/**
* Name of the item.
* @return string
*/
public function getName() {
return $this->name;
}
/**
* Cost of the item.
* @param string $price
*/
public function setPrice($price) {
$this->price = $price;
return $this;
}
/**
* Cost of the item.
* @return string
*/
public function getPrice() {
return $this->price;
}
/**
* 3-letter Currency Code
* @param string $currency
*/
public function setCurrency($currency) {
$this->currency = $currency;
return $this;
}
/**
* 3-letter Currency Code
* @return string
*/
public function getCurrency() {
return $this->currency;
}
/**
* Number or code to identify the item in your catalog/records.
* @param string $sku
*/
public function setSku($sku) {
$this->sku = $sku;
return $this;
}
/**
* Number or code to identify the item in your catalog/records.
* @return string
*/
public function getSku() {
return $this->sku;
}
}