Order
class Order extends AbstractEntity
Order
Methods
引数の連想配列を元にプロパティを設定します.
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
isMultiple
isPriceChange
対象となるお届け先情報を取得
Calculate quantity of total.
Calculate SubTotal.
Calculate tax of total.
この注文の保持する商品種別を取得します.
合計金額を計算
Get id
Set preorderid
Get preorderid
Set message
Get message
Get name01
Get name02
Get kana01
Get kana02
Set company_name
Get company_name
Get email
Get tel01
Get tel02
Get tel03
Get fax01
Get fax02
Get fax03
Get zip01
Get zip02
Set zipcode
Get zipcode
Get addr01
Get addr02
Set subtotal
Get subtotal
Set discount
Get discount
Set deliveryfeetotal
Get deliveryfeetotal
Get charge
Get tax
Get total
Set payment_total
Get payment_total
Set payment_method
Get payment_method
Get note
Get create_date
Get update_date
Get order_date
Get commit_date
Get payment_date
Get del_flg
Get OrderDetails
Get Shippings
Get MailHistories
Get Customer
Get Country
Get Payment
Get DeviceType
Get CustomerOrderStatus
Get OrderStatus
Get OrderStatusColor
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 40
boolean
isMultiple()
isMultiple
at line 50
boolean
isPriceChange()
isPriceChange
at line 67
Shipping|null
findShipping(integer $shippingId)
対象となるお届け先情報を取得
at line 83
integer
calculateTotalQuantity()
Calculate quantity of total.
at line 98
integer
calculateSubTotal()
Calculate SubTotal.
at line 113
integer
calculateTotalTax()
Calculate tax of total.
at line 128
ProductType[]
getProductTypes()
この注文の保持する商品種別を取得します.
at line 146
string
getTotalPrice()
合計金額を計算
at line 401
__construct(OrderStatus $orderStatus = null)
Constructor
at line 423
integer
getId()
Get id
at line 434
Order
setPreOrderId(string $preOrderId)
Set preorderid
at line 446
string
getPreOrderId()
Get preorderid
at line 457
Order
setMessage(string $message)
Set message
at line 469
string
getMessage()
Get message
at line 480
Order
setName01(string $name01)
Set name01
at line 492
string
getName01()
Get name01
at line 503
Order
setName02(string $name02)
Set name02
at line 515
string
getName02()
Get name02
at line 526
Order
setKana01(string $kana01)
Set kana01
at line 538
string
getKana01()
Get kana01
at line 549
Order
setKana02(string $kana02)
Set kana02
at line 561
string
getKana02()
Get kana02
at line 572
Order
setCompanyName(string $companyName)
Set company_name
at line 584
string
getCompanyName()
Get company_name
at line 595
Order
setEmail(string $email)
Set email
at line 607
string
getEmail()
Get email
at line 618
Order
setTel01(string $tel01)
Set tel01
at line 630
string
getTel01()
Get tel01
at line 641
Order
setTel02(string $tel02)
Set tel02
at line 653
string
getTel02()
Get tel02
at line 664
Order
setTel03(string $tel03)
Set tel03
at line 676
string
getTel03()
Get tel03
at line 687
Order
setFax01(string $fax01)
Set fax01
at line 699
string
getFax01()
Get fax01
at line 710
Order
setFax02(string $fax02)
Set fax02
at line 722
string
getFax02()
Get fax02
at line 733
Order
setFax03(string $fax03)
Set fax03
at line 745
string
getFax03()
Get fax03
at line 756
Order
setZip01(string $zip01)
Set zip01
at line 768
string
getZip01()
Get zip01
at line 779
Order
setZip02(string $zip02)
Set zip02
at line 791
string
getZip02()
Get zip02
at line 802
Order
setZipcode(string $zipcode)
Set zipcode
at line 814
string
getZipcode()
Get zipcode
at line 825
Order
setAddr01(string $addr01)
Set addr01
at line 837
string
getAddr01()
Get addr01
at line 848
Order
setAddr02(string $addr02)
Set addr02
at line 860
string
getAddr02()
Get addr02
at line 883
DateTime
getBirth()
Get birth
at line 894
Order
setSubtotal(string $subtotal)
Set subtotal
at line 906
string
getSubtotal()
Get subtotal
at line 917
Order
setDiscount(string $discount)
Set discount
at line 929
string
getDiscount()
Get discount
at line 940
Order
setDeliveryFeeTotal(string $deliveryFeeTotal)
Set deliveryfeetotal
at line 952
string
getDeliveryFeeTotal()
Get deliveryfeetotal
at line 963
Order
setCharge(string $charge)
Set charge
at line 975
string
getCharge()
Get charge
at line 986
Order
setTax(string $tax)
Set tax
at line 998
string
getTax()
Get tax
at line 1009
Order
setTotal(string $total)
Set total
at line 1021
string
getTotal()
Get total
at line 1032
Order
setPaymentTotal(string $paymentTotal)
Set payment_total
at line 1044
string
getPaymentTotal()
Get payment_total
at line 1055
Order
setPaymentMethod(string $paymentMethod)
Set payment_method
at line 1067
string
getPaymentMethod()
Get payment_method
at line 1078
Order
setNote(string $note)
Set note
at line 1090
string
getNote()
Get note
at line 1113
DateTime
getCreateDate()
Get create_date
at line 1136
DateTime
getUpdateDate()
Get update_date
at line 1159
DateTime
getOrderDate()
Get order_date
at line 1182
DateTime
getCommitDate()
Get commit_date
at line 1205
DateTime
getPaymentDate()
Get payment_date
at line 1216
Order
setDelFlg(integer $delFlg)
Set del_flg
at line 1228
integer
getDelFlg()
Get del_flg
at line 1239
Order
addOrderDetail(OrderDetail $orderDetails)
Add OrderDetails
at line 1251
removeOrderDetail(OrderDetail $orderDetails)
Remove OrderDetails
at line 1261
Collection
getOrderDetails()
Get OrderDetails
at line 1284
removeShipping(Shipping $shippings)
Remove Shippings
at line 1294
Collection
getShippings()
Get Shippings
at line 1305
Order
addMailHistory(MailHistory $mailHistories)
Add MailHistories
at line 1317
removeMailHistory(MailHistory $mailHistories)
Remove MailHistories
at line 1327
Collection
getMailHistories()
Get MailHistories
at line 1350
Customer
getCustomer()
Get Customer
at line 1376
Country
getCountry()
Get Country
at line 1399
Pref
getPref()
Get Pref
at line 1422
Sex
getSex()
Get Sex
at line 1445
Job
getJob()
Get Job
at line 1468
Payment
getPayment()
Get Payment
at line 1482
Order
setDeviceType(DeviceType $deviceType = null)
Set DeviceType
at line 1494
DeviceType
getDeviceType()
Get DeviceType
at line 1505
Order
setCustomerOrderStatus(CustomerOrderStatus $customerOrderStatus = null)
Set CustomerOrderStatus
at line 1517
CustomerOrderStatus
getCustomerOrderStatus()
Get CustomerOrderStatus
at line 1528
Order
setOrderStatus(OrderStatus $orderStatus = null)
Set OrderStatus
at line 1540
OrderStatus
getOrderStatus()
Get OrderStatus
at line 1551
Order
setOrderStatusColor(OrderStatusColor $orderStatusColor = null)
Set OrderStatusColor
at line 1563
OrderStatusColor
getOrderStatusColor()
Get OrderStatusColor