class ShipmentItem extends AbstractEntity

ShipmentItem

Methods

offsetExists($offset)

No description

offsetSet($offset, $value)

No description

offsetGet($offset)

No description

offsetUnset($offset)

No description

setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

object
copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

setPriceIncTax(string $price_inc_tax)

Set price IncTax

string
getPriceIncTax()

Get price IncTax

integer
getTotalPrice()

No description

integer
getId()

Get id

setProductName(string $productName)

Set product_name

string
getProductName()

Get product_name

setProductCode(string $productCode)

Set product_code

string
getProductCode()

Get product_code

setClassCategoryName1(string $classCategoryName1)

Set classcategoryname1

string
getClassCategoryName1()

Get classcategoryname1

setClassCategoryName2(string $classCategoryName2)

Set classcategoryname2

string
getClassCategoryName2()

Get classcategoryname2

setPrice(string $price)

Set price

string
getPrice()

Get price

setQuantity(string $quantity)

Set quantity

string
getQuantity()

Get quantity

setOrder(Order $order)

Set Order

getOrder()

Get Order

setProduct(Product $product)

Set Product

getProduct()

Get Product

setProductClass(ProductClass $productClass)

Set ProductClass

getProductClass()

Get ProductClass

setShipping(Shipping $shipping)

Set Shipping

getShipping()

Get Shipping

setClassName1(string $className1)

Set class_name1

string
getClassName1()

Get class_name1

setClassName2(string $className2)

Set class_name2

string
getClassName2()

Get class_name2

Details

in AbstractEntity at line 32
offsetExists($offset)

Parameters

$offset

in AbstractEntity at line 39
offsetSet($offset, $value)

Parameters

$offset
$value

in AbstractEntity at line 43
offsetGet($offset)

Parameters

$offset

in AbstractEntity at line 54
offsetUnset($offset)

Parameters

$offset

in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

DBから取り出した連想配列を, プロパティへ設定する際に使用します.

Parameters

array $arrProps
array $excludeAttribute
ReflectionClass $parentClass

in AbstractEntity at line 99
array toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.

Parameters

array $excludeAttribute
ReflectionClass $parentClass

Return Value

array 連想配列のプロパティの値

in AbstractEntity at line 139
object copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

Parameters

object $srcObject コピー元のオブジェクト
array $excludeAttribute 除外したいフィールド名の配列

Return Value

object

at line 42
ProductClass setPriceIncTax(string $price_inc_tax)

Set price IncTax

Parameters

string $price_inc_tax

Return Value

ProductClass

at line 54
string getPriceIncTax()

Get price IncTax

Return Value

string

at line 62
integer getTotalPrice()

Return Value

integer

at line 128
integer getId()

Get id

Return Value

integer

at line 139
ShipmentItem setProductName(string $productName)

Set product_name

Parameters

string $productName

Return Value

ShipmentItem

at line 151
string getProductName()

Get product_name

Return Value

string

at line 162
ShipmentItem setProductCode(string $productCode)

Set product_code

Parameters

string $productCode

Return Value

ShipmentItem

at line 174
string getProductCode()

Get product_code

Return Value

string

at line 185
ShipmentItem setClassCategoryName1(string $classCategoryName1)

Set classcategoryname1

Parameters

string $classCategoryName1

Return Value

ShipmentItem

at line 197
string getClassCategoryName1()

Get classcategoryname1

Return Value

string

at line 208
ShipmentItem setClassCategoryName2(string $classCategoryName2)

Set classcategoryname2

Parameters

string $classCategoryName2

Return Value

ShipmentItem

at line 220
string getClassCategoryName2()

Get classcategoryname2

Return Value

string

at line 231
ShipmentItem setPrice(string $price)

Set price

Parameters

string $price

Return Value

ShipmentItem

at line 243
string getPrice()

Get price

Return Value

string

at line 254
ShipmentItem setQuantity(string $quantity)

Set quantity

Parameters

string $quantity

Return Value

ShipmentItem

at line 266
string getQuantity()

Get quantity

Return Value

string

at line 277
ShipmentItem setOrder(Order $order)

Set Order

Parameters

Order $order

Return Value

ShipmentItem

at line 289
Order getOrder()

Get Order

Return Value

Order

at line 300
ShipmentItem setProduct(Product $product)

Set Product

Parameters

Product $product

Return Value

ShipmentItem

at line 312
Product getProduct()

Get Product

Return Value

Product

at line 326
ShipmentItem setProductClass(ProductClass $productClass)

Set ProductClass

Parameters

ProductClass $productClass

Return Value

ShipmentItem

at line 338
ProductClass getProductClass()

Get ProductClass

Return Value

ProductClass

at line 349
ShipmentItem setShipping(Shipping $shipping)

Set Shipping

Parameters

Shipping $shipping

Return Value

ShipmentItem

at line 361
Shipping getShipping()

Get Shipping

Return Value

Shipping

at line 382
ShipmentItem setClassName1(string $className1)

Set class_name1

Parameters

string $className1

Return Value

ShipmentItem

at line 394
string getClassName1()

Get class_name1

Return Value

string

at line 405
ShipmentItem setClassName2(string $className2)

Set class_name2

Parameters

string $className2

Return Value

ShipmentItem

at line 417
string getClassName2()

Get class_name2

Return Value

string