OrderDetail
class OrderDetail extends AbstractEntity
OrderDetail
Methods
引数の連想配列を元にプロパティを設定します.
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
No description
No description
No description
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 classcategory_name2
Set price
Get price
Set quantity
Get quantity
Set tax_rate
Get tax_rate
Set tax_rule
Get tax_rule
Get Product
Get ProductClass
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 36
isPriceChange()
at line 47
isEnable()
at line 60
bool
isEffective(BaseInfo $BaseInfo)
at line 79
bool
isDownloadable()
at line 99
ProductClass
setPriceIncTax(string $price_inc_tax)
Set price IncTax
at line 111
string
getPriceIncTax()
Get price IncTax
at line 119
integer
getTotalPrice()
at line 189
integer
getId()
Get id
at line 200
OrderDetail
setProductName(string $productName)
Set product_name
at line 212
string
getProductName()
Get product_name
at line 223
OrderDetail
setProductCode(string $productCode)
Set product_code
at line 235
string
getProductCode()
Get product_code
at line 246
OrderDetail
setClassCategoryName1(string $classCategoryName1)
Set classcategoryname1
at line 258
string
getClassCategoryName1()
Get classcategoryname1
at line 269
OrderDetail
setClassCategoryName2(string $classCategoryName2)
Set classcategoryname2
at line 281
string
getClassCategoryName2()
Get classcategory_name2
at line 292
OrderDetail
setPrice(string $price)
Set price
at line 304
string
getPrice()
Get price
at line 315
OrderDetail
setQuantity(string $quantity)
Set quantity
at line 327
string
getQuantity()
Get quantity
at line 338
OrderDetail
setTaxRate(string $taxRate)
Set tax_rate
at line 350
string
getTaxRate()
Get tax_rate
at line 361
OrderDetail
setTaxRule(integer $taxRule)
Set tax_rule
at line 373
integer
getTaxRule()
Get tax_rule
at line 384
OrderDetail
setOrder(Order $order)
Set Order
at line 396
Order
getOrder()
Get Order
at line 407
OrderDetail
setProduct(Product $product)
Set Product
at line 419
Product
getProduct()
Get Product
at line 433
OrderDetail
setProductClass(ProductClass $productClass)
Set ProductClass
at line 445
ProductClass
getProductClass()
Get ProductClass
at line 469
OrderDetail
setClassName1(string $className1)
Set class_name1
at line 481
string
getClassName1()
Get class_name1
at line 492
OrderDetail
setClassName2(string $className2)
Set class_name2
at line 504
string
getClassName2()
Get class_name2