forked from LiveCarta/PayPal-PHP-SDK
Initial commit
This commit is contained in:
87
lib/PayPal/Api/Item.php
Normal file
87
lib/PayPal/Api/Item.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class Item extends Resource {
|
||||
|
||||
|
||||
/**
|
||||
* Setter for name
|
||||
* @param string $name
|
||||
*/
|
||||
public function setName($name) {
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for name
|
||||
*/
|
||||
public function getName() {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for sku
|
||||
* @param string $sku
|
||||
*/
|
||||
public function setSku($sku) {
|
||||
$this->sku = $sku;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for sku
|
||||
*/
|
||||
public function getSku() {
|
||||
return $this->sku;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for price
|
||||
* @param string $price
|
||||
*/
|
||||
public function setPrice($price) {
|
||||
$this->price = $price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for price
|
||||
*/
|
||||
public function getPrice() {
|
||||
return $this->price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for currency
|
||||
* @param string $currency
|
||||
*/
|
||||
public function setCurrency($currency) {
|
||||
$this->currency = $currency;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for currency
|
||||
*/
|
||||
public function getCurrency() {
|
||||
return $this->currency;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for quantity
|
||||
* @param string $quantity
|
||||
*/
|
||||
public function setQuantity($quantity) {
|
||||
$this->quantity = $quantity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for quantity
|
||||
*/
|
||||
public function getQuantity() {
|
||||
return $this->quantity;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user