class OrderDetail extends AbstractEntity

OrderDetail

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())

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

isPriceChange()

No description

isEnable()

No description

bool
isEffective(BaseInfo $BaseInfo)

No description

bool
isDownloadable()

No description

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 classcategory_name2

setPrice(string $price)

Set price

string
getPrice()

Get price

setQuantity(string $quantity)

Set quantity

string
getQuantity()

Get quantity

setTaxRate(string $taxRate)

Set tax_rate

string
getTaxRate()

Get tax_rate

setTaxRule(integer $taxRule)

Set tax_rule

integer
getTaxRule()

Get tax_rule

setOrder(Order $order)

Set Order

getOrder()

Get Order

setProduct(Product $product)

Set Product

getProduct()

Get Product

setProductClass(ProductClass $productClass)

Set ProductClass

getProductClass()

Get ProductClass

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 36
isPriceChange()

at line 47
isEnable()

at line 60
bool isEffective(BaseInfo $BaseInfo)

Parameters

BaseInfo $BaseInfo

Return Value

bool

at line 79
bool isDownloadable()

Return Value

bool

at line 99
ProductClass setPriceIncTax(string $price_inc_tax)

Set price IncTax

Parameters

string $price_inc_tax

Return Value

ProductClass

at line 111
string getPriceIncTax()

Get price IncTax

Return Value

string

at line 119
integer getTotalPrice()

Return Value

integer

at line 189
integer getId()

Get id

Return Value

integer

at line 200
OrderDetail setProductName(string $productName)

Set product_name

Parameters

string $productName

Return Value

OrderDetail

at line 212
string getProductName()

Get product_name

Return Value

string

at line 223
OrderDetail setProductCode(string $productCode)

Set product_code

Parameters

string $productCode

Return Value

OrderDetail

at line 235
string getProductCode()

Get product_code

Return Value

string

at line 246
OrderDetail setClassCategoryName1(string $classCategoryName1)

Set classcategoryname1

Parameters

string $classCategoryName1

Return Value

OrderDetail

at line 258
string getClassCategoryName1()

Get classcategoryname1

Return Value

string

at line 269
OrderDetail setClassCategoryName2(string $classCategoryName2)

Set classcategoryname2

Parameters

string $classCategoryName2

Return Value

OrderDetail

at line 281
string getClassCategoryName2()

Get classcategory_name2

Return Value

string

at line 292
OrderDetail setPrice(string $price)

Set price

Parameters

string $price

Return Value

OrderDetail

at line 304
string getPrice()

Get price

Return Value

string

at line 315
OrderDetail setQuantity(string $quantity)

Set quantity

Parameters

string $quantity

Return Value

OrderDetail

at line 327
string getQuantity()

Get quantity

Return Value

string

at line 338
OrderDetail setTaxRate(string $taxRate)

Set tax_rate

Parameters

string $taxRate

Return Value

OrderDetail

at line 350
string getTaxRate()

Get tax_rate

Return Value

string

at line 361
OrderDetail setTaxRule(integer $taxRule)

Set tax_rule

Parameters

integer $taxRule

Return Value

OrderDetail

at line 373
integer getTaxRule()

Get tax_rule

Return Value

integer

at line 384
OrderDetail setOrder(Order $order)

Set Order

Parameters

Order $order

Return Value

OrderDetail

at line 396
Order getOrder()

Get Order

Return Value

Order

at line 407
OrderDetail setProduct(Product $product)

Set Product

Parameters

Product $product

Return Value

OrderDetail

at line 419
Product getProduct()

Get Product

Return Value

Product

at line 433
OrderDetail setProductClass(ProductClass $productClass)

Set ProductClass

Parameters

ProductClass $productClass

Return Value

OrderDetail

at line 445
ProductClass getProductClass()

Get ProductClass

Return Value

ProductClass

at line 469
OrderDetail setClassName1(string $className1)

Set class_name1

Parameters

string $className1

Return Value

OrderDetail

at line 481
string getClassName1()

Get class_name1

Return Value

string

at line 492
OrderDetail setClassName2(string $className2)

Set class_name2

Parameters

string $className2

Return Value

OrderDetail

at line 504
string getClassName2()

Get class_name2

Return Value

string