ShipmentItem
class ShipmentItem extends AbstractEntity
ShipmentItem
Methods
引数の連想配列を元にプロパティを設定します.
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
Set price IncTax
Get price IncTax
No description
Get id
Set product_name
Get product_name
Set product_code
Get product_code
Set classcategoryname1
Get classcategoryname1
Set classcategoryname2
Get classcategoryname2
Set price
Get price
Set quantity
Get quantity
Get Product
Get ProductClass
Get Shipping
Set class_name1
Get class_name1
Set class_name2
Get class_name2
Details
in AbstractEntity at line 32
offsetExists($offset)
in AbstractEntity at line 39
offsetSet($offset, $value)
in AbstractEntity at line 43
offsetGet($offset)
in AbstractEntity at line 54
offsetUnset($offset)
in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)
引数の連想配列を元にプロパティを設定します.
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
in AbstractEntity at line 99
array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)
プロパティの値を連想配列で返します.
DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.
in AbstractEntity at line 139
object
copyProperties(object $srcObject, array $excludeAttribute = array())
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
at line 42
ProductClass
setPriceIncTax(string $price_inc_tax)
Set price IncTax
at line 54
string
getPriceIncTax()
Get price IncTax
at line 62
integer
getTotalPrice()
at line 128
integer
getId()
Get id
at line 139
ShipmentItem
setProductName(string $productName)
Set product_name
at line 151
string
getProductName()
Get product_name
at line 162
ShipmentItem
setProductCode(string $productCode)
Set product_code
at line 174
string
getProductCode()
Get product_code
at line 185
ShipmentItem
setClassCategoryName1(string $classCategoryName1)
Set classcategoryname1
at line 197
string
getClassCategoryName1()
Get classcategoryname1
at line 208
ShipmentItem
setClassCategoryName2(string $classCategoryName2)
Set classcategoryname2
at line 220
string
getClassCategoryName2()
Get classcategoryname2
at line 231
ShipmentItem
setPrice(string $price)
Set price
at line 243
string
getPrice()
Get price
at line 254
ShipmentItem
setQuantity(string $quantity)
Set quantity
at line 266
string
getQuantity()
Get quantity
at line 277
ShipmentItem
setOrder(Order $order)
Set Order
at line 289
Order
getOrder()
Get Order
at line 300
ShipmentItem
setProduct(Product $product)
Set Product
at line 312
Product
getProduct()
Get Product
at line 326
ShipmentItem
setProductClass(ProductClass $productClass)
Set ProductClass
at line 338
ProductClass
getProductClass()
Get ProductClass
at line 349
ShipmentItem
setShipping(Shipping $shipping)
Set Shipping
at line 361
Shipping
getShipping()
Get Shipping
at line 382
ShipmentItem
setClassName1(string $className1)
Set class_name1
at line 394
string
getClassName1()
Get class_name1
at line 405
ShipmentItem
setClassName2(string $className2)
Set class_name2
at line 417
string
getClassName2()
Get class_name2