PHP Class Eccube\Entity\Order

Inheritance: extends Eccube\Entity\AbstractEntity
Datei anzeigen Open project: ec-cube/ec-cube Class Usage Examples

Public Methods

Method Description
__construct ( Eccube\Entity\Master\OrderStatus $orderStatus = null ) Constructor
addMailHistory ( Eccube\Entity\MailHistory $mailHistories ) : Order Add MailHistories
addOrderDetail ( OrderDetail $orderDetails ) : Order Add OrderDetails
addShipping ( Shipping $shippings ) : Order Add Shippings
calculateSubTotal ( ) : integer Calculate SubTotal.
calculateTotalQuantity ( ) : integer Calculate quantity of total.
calculateTotalTax ( ) : integer Calculate tax of total.
findShipping ( integer $shippingId ) : Shipping | null 対象となるお届け先情報を取得
getAddr01 ( ) : string Get addr01
getAddr02 ( ) : string Get addr02
getBirth ( ) : DateTime Get birth
getCharge ( ) : string Get charge
getCommitDate ( ) : DateTime Get commit_date
getCompanyName ( ) : string Get company_name
getCountry ( ) : Eccube\Entity\Master\Country Get Country
getCreateDate ( ) : DateTime Get create_date
getCustomer ( ) : Customer Get Customer
getCustomerOrderStatus ( ) : Eccube\Entity\Master\CustomerOrderStatus Get CustomerOrderStatus
getDelFlg ( ) : integer Get del_flg
getDeliveryFeeTotal ( ) : string Get delivery_fee_total
getDeviceType ( ) : Eccube\Entity\Master\DeviceType Get DeviceType
getDiscount ( ) : string Get discount
getEmail ( ) : string Get email
getFax01 ( ) : string Get fax01
getFax02 ( ) : string Get fax02
getFax03 ( ) : string Get fax03
getId ( ) : integer Get id
getJob ( ) : Eccube\Entity\Master\Job Get Job
getKana01 ( ) : string Get kana01
getKana02 ( ) : string Get kana02
getMailHistories ( ) : Doctrine\Common\Collections\Collection Get MailHistories
getMessage ( ) : string Get message
getName01 ( ) : string Get name01
getName02 ( ) : string Get name02
getNote ( ) : string Get note
getOrderDate ( ) : DateTime Get order_date
getOrderDetails ( ) : Doctrine\Common\Collections\Collection Get OrderDetails
getOrderStatus ( ) : Eccube\Entity\Master\OrderStatus Get OrderStatus
getOrderStatusColor ( ) : Eccube\Entity\Master\OrderStatusColor Get OrderStatusColor
getPayment ( ) : Eccube\Entity\Payment Get Payment
getPaymentDate ( ) : DateTime Get payment_date
getPaymentMethod ( ) : string Get payment_method
getPaymentTotal ( ) : string Get payment_total
getPreOrderId ( ) : string Get pre_order_id
getPref ( ) : Eccube\Entity\Master\Pref Get Pref
getProductTypes ( ) : Eccube\Entity\Master\ProductType[] この注文の保持する商品種別を取得します.
getSex ( ) : Eccube\Entity\Master\Sex Get Sex
getShippings ( ) : Doctrine\Common\Collections\Collection Get Shippings
getSubtotal ( ) : string Get subtotal
getTax ( ) : string Get tax
getTel01 ( ) : string Get tel01
getTel02 ( ) : string Get tel02
getTel03 ( ) : string Get tel03
getTotal ( ) : string Get total
getTotalPrice ( ) : string 合計金額を計算
getUpdateDate ( ) : DateTime Get update_date
getZip01 ( ) : string Get zip01
getZip02 ( ) : string Get zip02
getZipcode ( ) : string Get zipcode
isMultiple ( ) : boolean isMultiple
isPriceChange ( ) : boolean isPriceChange
removeMailHistory ( Eccube\Entity\MailHistory $mailHistories ) Remove MailHistories
removeOrderDetail ( OrderDetail $orderDetails ) Remove OrderDetails
removeShipping ( Shipping $shippings ) Remove Shippings
setAddr01 ( string $addr01 ) : Order Set addr01
setAddr02 ( string $addr02 ) : Order Set addr02
setBirth ( DateTime $birth ) : Order Set birth
setCharge ( string $charge ) : Order Set charge
setCommitDate ( DateTime $commitDate ) : Order Set commit_date
setCompanyName ( string $companyName ) : Order Set company_name
setCountry ( Eccube\Entity\Master\Country $country = null ) : Order Set Country
setCreateDate ( DateTime $createDate ) : Order Set create_date
setCustomer ( Customer $customer = null ) : Order Set Customer
setCustomerOrderStatus ( Eccube\Entity\Master\CustomerOrderStatus $customerOrderStatus = null ) : Order Set CustomerOrderStatus
setDelFlg ( integer $delFlg ) : Order Set del_flg
setDeliveryFeeTotal ( string $deliveryFeeTotal ) : Order Set delivery_fee_total
setDeviceType ( Eccube\Entity\Master\DeviceType $deviceType = null ) : Order Set DeviceType
setDiscount ( string $discount ) : Order Set discount
setEmail ( string $email ) : Order Set email
setFax01 ( string $fax01 ) : Order Set fax01
setFax02 ( string $fax02 ) : Order Set fax02
setFax03 ( string $fax03 ) : Order Set fax03
setJob ( Eccube\Entity\Master\Job $job = null ) : Order Set Job
setKana01 ( string $kana01 ) : Order Set kana01
setKana02 ( string $kana02 ) : Order Set kana02
setMessage ( string $message ) : Order Set message
setName01 ( string $name01 ) : Order Set name01
setName02 ( string $name02 ) : Order Set name02
setNote ( string $note ) : Order Set note
setOrderDate ( DateTime $orderDate ) : Order Set order_date
setOrderStatus ( Eccube\Entity\Master\OrderStatus $orderStatus = null ) : Order Set OrderStatus
setOrderStatusColor ( Eccube\Entity\Master\OrderStatusColor $orderStatusColor = null ) : Order Set OrderStatusColor
setPayment ( Eccube\Entity\Payment $payment = null ) : Order Set Payment
setPaymentDate ( DateTime $paymentDate ) : Order Set payment_date
setPaymentMethod ( string $paymentMethod ) : Order Set payment_method
setPaymentTotal ( string $paymentTotal ) : Order Set payment_total
setPreOrderId ( string $preOrderId ) : Order Set pre_order_id
setPref ( Eccube\Entity\Master\Pref $pref = null ) : Order Set Pref
setSex ( Eccube\Entity\Master\Sex $sex = null ) : Order Set Sex
setSubtotal ( string $subtotal ) : Order Set subtotal
setTax ( string $tax ) : Order Set tax
setTel01 ( string $tel01 ) : Order Set tel01
setTel02 ( string $tel02 ) : Order Set tel02
setTel03 ( string $tel03 ) : Order Set tel03
setTotal ( string $total ) : Order Set total
setUpdateDate ( DateTime $updateDate ) : Order Set update_date
setZip01 ( string $zip01 ) : Order Set zip01
setZip02 ( string $zip02 ) : Order Set zip02
setZipcode ( string $zipcode ) : Order Set zipcode

Method Details

__construct() public method

Constructor
public __construct ( Eccube\Entity\Master\OrderStatus $orderStatus = null )
$orderStatus Eccube\Entity\Master\OrderStatus

addMailHistory() public method

Add MailHistories
public addMailHistory ( Eccube\Entity\MailHistory $mailHistories ) : Order
$mailHistories Eccube\Entity\MailHistory
return Order

addOrderDetail() public method

Add OrderDetails
public addOrderDetail ( OrderDetail $orderDetails ) : Order
$orderDetails OrderDetail
return Order

addShipping() public method

Add Shippings
public addShipping ( Shipping $shippings ) : Order
$shippings Shipping
return Order

calculateSubTotal() public method

Calculate SubTotal.
public calculateSubTotal ( ) : integer
return integer

calculateTotalQuantity() public method

Calculate quantity of total.
public calculateTotalQuantity ( ) : integer
return integer

calculateTotalTax() public method

Calculate tax of total.
public calculateTotalTax ( ) : integer
return integer

findShipping() public method

対象となるお届け先情報を取得
public findShipping ( integer $shippingId ) : Shipping | null
$shippingId integer
return Shipping | null

getAddr01() public method

Get addr01
public getAddr01 ( ) : string
return string

getAddr02() public method

Get addr02
public getAddr02 ( ) : string
return string

getBirth() public method

Get birth
public getBirth ( ) : DateTime
return DateTime

getCharge() public method

Get charge
public getCharge ( ) : string
return string

getCommitDate() public method

Get commit_date
public getCommitDate ( ) : DateTime
return DateTime

getCompanyName() public method

Get company_name
public getCompanyName ( ) : string
return string

getCountry() public method

Get Country
public getCountry ( ) : Eccube\Entity\Master\Country
return Eccube\Entity\Master\Country

getCreateDate() public method

Get create_date
public getCreateDate ( ) : DateTime
return DateTime

getCustomer() public method

Get Customer
public getCustomer ( ) : Customer
return Customer

getCustomerOrderStatus() public method

Get CustomerOrderStatus
public getCustomerOrderStatus ( ) : Eccube\Entity\Master\CustomerOrderStatus
return Eccube\Entity\Master\CustomerOrderStatus

getDelFlg() public method

Get del_flg
public getDelFlg ( ) : integer
return integer

getDeliveryFeeTotal() public method

Get delivery_fee_total
public getDeliveryFeeTotal ( ) : string
return string

getDeviceType() public method

Get DeviceType
public getDeviceType ( ) : Eccube\Entity\Master\DeviceType
return Eccube\Entity\Master\DeviceType

getDiscount() public method

Get discount
public getDiscount ( ) : string
return string

getEmail() public method

Get email
public getEmail ( ) : string
return string

getFax01() public method

Get fax01
public getFax01 ( ) : string
return string

getFax02() public method

Get fax02
public getFax02 ( ) : string
return string

getFax03() public method

Get fax03
public getFax03 ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getJob() public method

Get Job
public getJob ( ) : Eccube\Entity\Master\Job
return Eccube\Entity\Master\Job

getKana01() public method

Get kana01
public getKana01 ( ) : string
return string

getKana02() public method

Get kana02
public getKana02 ( ) : string
return string

getMailHistories() public method

Get MailHistories
public getMailHistories ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getMessage() public method

Get message
public getMessage ( ) : string
return string

getName01() public method

Get name01
public getName01 ( ) : string
return string

getName02() public method

Get name02
public getName02 ( ) : string
return string

getNote() public method

Get note
public getNote ( ) : string
return string

getOrderDate() public method

Get order_date
public getOrderDate ( ) : DateTime
return DateTime

getOrderDetails() public method

Get OrderDetails
public getOrderDetails ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getOrderStatus() public method

Get OrderStatus
public getOrderStatus ( ) : Eccube\Entity\Master\OrderStatus
return Eccube\Entity\Master\OrderStatus

getOrderStatusColor() public method

Get OrderStatusColor
public getOrderStatusColor ( ) : Eccube\Entity\Master\OrderStatusColor
return Eccube\Entity\Master\OrderStatusColor

getPayment() public method

Get Payment
public getPayment ( ) : Eccube\Entity\Payment
return Eccube\Entity\Payment

getPaymentDate() public method

Get payment_date
public getPaymentDate ( ) : DateTime
return DateTime

getPaymentMethod() public method

Get payment_method
public getPaymentMethod ( ) : string
return string

getPaymentTotal() public method

Get payment_total
public getPaymentTotal ( ) : string
return string

getPreOrderId() public method

Get pre_order_id
public getPreOrderId ( ) : string
return string

getPref() public method

Get Pref
public getPref ( ) : Eccube\Entity\Master\Pref
return Eccube\Entity\Master\Pref

getProductTypes() public method

この注文の保持する商品種別を取得します.
public getProductTypes ( ) : Eccube\Entity\Master\ProductType[]
return Eccube\Entity\Master\ProductType[] 一意な商品種別の配列

getSex() public method

Get Sex
public getSex ( ) : Eccube\Entity\Master\Sex
return Eccube\Entity\Master\Sex

getShippings() public method

Get Shippings
public getShippings ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getSubtotal() public method

Get subtotal
public getSubtotal ( ) : string
return string

getTax() public method

Get tax
public getTax ( ) : string
return string

getTel01() public method

Get tel01
public getTel01 ( ) : string
return string

getTel02() public method

Get tel02
public getTel02 ( ) : string
return string

getTel03() public method

Get tel03
public getTel03 ( ) : string
return string

getTotal() public method

Get total
public getTotal ( ) : string
return string

getTotalPrice() public method

合計金額を計算
public getTotalPrice ( ) : string
return string

getUpdateDate() public method

Get update_date
public getUpdateDate ( ) : DateTime
return DateTime

getZip01() public method

Get zip01
public getZip01 ( ) : string
return string

getZip02() public method

Get zip02
public getZip02 ( ) : string
return string

getZipcode() public method

Get zipcode
public getZipcode ( ) : string
return string

isMultiple() public method

isMultiple
public isMultiple ( ) : boolean
return boolean

isPriceChange() public method

isPriceChange
public isPriceChange ( ) : boolean
return boolean

removeMailHistory() public method

Remove MailHistories
public removeMailHistory ( Eccube\Entity\MailHistory $mailHistories )
$mailHistories Eccube\Entity\MailHistory

removeOrderDetail() public method

Remove OrderDetails
public removeOrderDetail ( OrderDetail $orderDetails )
$orderDetails OrderDetail

removeShipping() public method

Remove Shippings
public removeShipping ( Shipping $shippings )
$shippings Shipping

setAddr01() public method

Set addr01
public setAddr01 ( string $addr01 ) : Order
$addr01 string
return Order

setAddr02() public method

Set addr02
public setAddr02 ( string $addr02 ) : Order
$addr02 string
return Order

setBirth() public method

Set birth
public setBirth ( DateTime $birth ) : Order
$birth DateTime
return Order

setCharge() public method

Set charge
public setCharge ( string $charge ) : Order
$charge string
return Order

setCommitDate() public method

Set commit_date
public setCommitDate ( DateTime $commitDate ) : Order
$commitDate DateTime
return Order

setCompanyName() public method

Set company_name
public setCompanyName ( string $companyName ) : Order
$companyName string
return Order

setCountry() public method

Set Country
public setCountry ( Eccube\Entity\Master\Country $country = null ) : Order
$country Eccube\Entity\Master\Country
return Order

setCreateDate() public method

Set create_date
public setCreateDate ( DateTime $createDate ) : Order
$createDate DateTime
return Order

setCustomer() public method

Set Customer
public setCustomer ( Customer $customer = null ) : Order
$customer Customer
return Order

setCustomerOrderStatus() public method

Set CustomerOrderStatus
public setCustomerOrderStatus ( Eccube\Entity\Master\CustomerOrderStatus $customerOrderStatus = null ) : Order
$customerOrderStatus Eccube\Entity\Master\CustomerOrderStatus
return Order

setDelFlg() public method

Set del_flg
public setDelFlg ( integer $delFlg ) : Order
$delFlg integer
return Order

setDeliveryFeeTotal() public method

Set delivery_fee_total
public setDeliveryFeeTotal ( string $deliveryFeeTotal ) : Order
$deliveryFeeTotal string
return Order

setDeviceType() public method

Set DeviceType
public setDeviceType ( Eccube\Entity\Master\DeviceType $deviceType = null ) : Order
$deviceType Eccube\Entity\Master\DeviceType
return Order

setDiscount() public method

Set discount
public setDiscount ( string $discount ) : Order
$discount string
return Order

setEmail() public method

Set email
public setEmail ( string $email ) : Order
$email string
return Order

setFax01() public method

Set fax01
public setFax01 ( string $fax01 ) : Order
$fax01 string
return Order

setFax02() public method

Set fax02
public setFax02 ( string $fax02 ) : Order
$fax02 string
return Order

setFax03() public method

Set fax03
public setFax03 ( string $fax03 ) : Order
$fax03 string
return Order

setJob() public method

Set Job
public setJob ( Eccube\Entity\Master\Job $job = null ) : Order
$job Eccube\Entity\Master\Job
return Order

setKana01() public method

Set kana01
public setKana01 ( string $kana01 ) : Order
$kana01 string
return Order

setKana02() public method

Set kana02
public setKana02 ( string $kana02 ) : Order
$kana02 string
return Order

setMessage() public method

Set message
public setMessage ( string $message ) : Order
$message string
return Order

setName01() public method

Set name01
public setName01 ( string $name01 ) : Order
$name01 string
return Order

setName02() public method

Set name02
public setName02 ( string $name02 ) : Order
$name02 string
return Order

setNote() public method

Set note
public setNote ( string $note ) : Order
$note string
return Order

setOrderDate() public method

Set order_date
public setOrderDate ( DateTime $orderDate ) : Order
$orderDate DateTime
return Order

setOrderStatus() public method

Set OrderStatus
public setOrderStatus ( Eccube\Entity\Master\OrderStatus $orderStatus = null ) : Order
$orderStatus Eccube\Entity\Master\OrderStatus
return Order

setOrderStatusColor() public method

Set OrderStatusColor
public setOrderStatusColor ( Eccube\Entity\Master\OrderStatusColor $orderStatusColor = null ) : Order
$orderStatusColor Eccube\Entity\Master\OrderStatusColor
return Order

setPayment() public method

Set Payment
public setPayment ( Eccube\Entity\Payment $payment = null ) : Order
$payment Eccube\Entity\Payment
return Order

setPaymentDate() public method

Set payment_date
public setPaymentDate ( DateTime $paymentDate ) : Order
$paymentDate DateTime
return Order

setPaymentMethod() public method

Set payment_method
public setPaymentMethod ( string $paymentMethod ) : Order
$paymentMethod string
return Order

setPaymentTotal() public method

Set payment_total
public setPaymentTotal ( string $paymentTotal ) : Order
$paymentTotal string
return Order

setPreOrderId() public method

Set pre_order_id
public setPreOrderId ( string $preOrderId ) : Order
$preOrderId string
return Order

setPref() public method

Set Pref
public setPref ( Eccube\Entity\Master\Pref $pref = null ) : Order
$pref Eccube\Entity\Master\Pref
return Order

setSex() public method

Set Sex
public setSex ( Eccube\Entity\Master\Sex $sex = null ) : Order
$sex Eccube\Entity\Master\Sex
return Order

setSubtotal() public method

Set subtotal
public setSubtotal ( string $subtotal ) : Order
$subtotal string
return Order

setTax() public method

Set tax
public setTax ( string $tax ) : Order
$tax string
return Order

setTel01() public method

Set tel01
public setTel01 ( string $tel01 ) : Order
$tel01 string
return Order

setTel02() public method

Set tel02
public setTel02 ( string $tel02 ) : Order
$tel02 string
return Order

setTel03() public method

Set tel03
public setTel03 ( string $tel03 ) : Order
$tel03 string
return Order

setTotal() public method

Set total
public setTotal ( string $total ) : Order
$total string
return Order

setUpdateDate() public method

Set update_date
public setUpdateDate ( DateTime $updateDate ) : Order
$updateDate DateTime
return Order

setZip01() public method

Set zip01
public setZip01 ( string $zip01 ) : Order
$zip01 string
return Order

setZip02() public method

Set zip02
public setZip02 ( string $zip02 ) : Order
$zip02 string
return Order

setZipcode() public method

Set zipcode
public setZipcode ( string $zipcode ) : Order
$zipcode string
return Order