BaseInfo extends AbstractEntity
BaseInfo
Tags
Table of Contents
$id | int | |
---|---|---|
$company_name | string|null | |
$company_kana | string|null | |
$postal_code | string|null | |
$addr01 | string|null | |
$addr02 | string|null | |
$phone_number | string|null | |
$business_hour | string|null | |
$email01 | string|null | |
$email02 | string|null | |
$email03 | string|null | |
$email04 | string|null | |
$shop_name | string|null | |
$shop_kana | string|null | |
$shop_name_eng | string|null | |
$update_date | DateTime | |
$good_traded | string|null | |
$message | string|null | |
$delivery_free_amount | string|null | |
$delivery_free_quantity | int|null | |
$option_mypage_order_status_display | bool | |
$option_nostock_hidden | bool | |
$option_favorite_product | bool | |
$option_product_delivery_fee | bool | |
$option_product_tax_rule | bool | |
$option_customer_activate | bool | |
$option_remember_me | bool | |
$authentication_key | string|null | |
$php_path | string|null | |
$option_point | bool | |
$basic_point_rate | string | |
$point_conversion_rate | string | |
$Country | Country | |
$Pref | Pref | |
$AnnotationReader | ||
getId() | Get id. | int |
setCompanyName() | Set companyName. | BaseInfo |
getCompanyName() | Get companyName. | string|null |
setCompanyKana() | Set companyKana. | BaseInfo |
getCompanyKana() | Get companyKana. | string|null |
setPostalCode() | Set postal_code. | BaseInfo |
getPostalCode() | Get postal_code. | string|null |
setAddr01() | Set addr01. | BaseInfo |
getAddr01() | Get addr01. | string|null |
setAddr02() | Set addr02. | BaseInfo |
getAddr02() | Get addr02. | string|null |
setPhoneNumber() | Set phone_number. | BaseInfo |
getPhoneNumber() | Get phone_number. | string|null |
setBusinessHour() | Set businessHour. | BaseInfo |
getBusinessHour() | Get businessHour. | string|null |
setEmail01() | Set email01. | BaseInfo |
getEmail01() | Get email01. | string|null |
setEmail02() | Set email02. | BaseInfo |
getEmail02() | Get email02. | string|null |
setEmail03() | Set email03. | BaseInfo |
getEmail03() | Get email03. | string|null |
setEmail04() | Set email04. | BaseInfo |
getEmail04() | Get email04. | string|null |
setShopName() | Set shopName. | BaseInfo |
getShopName() | Get shopName. | string|null |
setShopKana() | Set shopKana. | BaseInfo |
getShopKana() | Get shopKana. | string|null |
setShopNameEng() | Set shopNameEng. | BaseInfo |
getShopNameEng() | Get shopNameEng. | string|null |
setUpdateDate() | Set updateDate. | BaseInfo |
getUpdateDate() | Get updateDate. | DateTime |
setGoodTraded() | Set goodTraded. | BaseInfo |
getGoodTraded() | Get goodTraded. | string|null |
setMessage() | Set message. | BaseInfo |
getMessage() | Get message. | string|null |
setDeliveryFreeAmount() | Set deliveryFreeAmount. | BaseInfo |
getDeliveryFreeAmount() | Get deliveryFreeAmount. | string|null |
setDeliveryFreeQuantity() | Set deliveryFreeQuantity. | BaseInfo |
getDeliveryFreeQuantity() | Get deliveryFreeQuantity. | int|null |
setOptionMypageOrderStatusDisplay() | Set optionMypageOrderStatusDisplay. | BaseInfo |
isOptionMypageOrderStatusDisplay() | Get optionMypageOrderStatusDisplay. | bool |
setOptionNostockHidden() | Set optionNostockHidden. | BaseInfo |
isOptionNostockHidden() | Get optionNostockHidden. | bool |
setOptionFavoriteProduct() | Set optionFavoriteProduct. | BaseInfo |
isOptionFavoriteProduct() | Get optionFavoriteProduct. | bool |
setOptionProductDeliveryFee() | Set optionProductDeliveryFee. | BaseInfo |
isOptionProductDeliveryFee() | Get optionProductDeliveryFee. | bool |
setOptionProductTaxRule() | Set optionProductTaxRule. | BaseInfo |
isOptionProductTaxRule() | Get optionProductTaxRule. | bool |
setOptionCustomerActivate() | Set optionCustomerActivate. | BaseInfo |
isOptionCustomerActivate() | Get optionCustomerActivate. | bool |
setOptionRememberMe() | Set optionRememberMe. | BaseInfo |
isOptionRememberMe() | Get optionRememberMe. | bool |
setAuthenticationKey() | Set authenticationKey. | BaseInfo |
getAuthenticationKey() | Get authenticationKey. | string|null |
setCountry() | Set country. | BaseInfo |
getCountry() | Get country. | Country|null |
setPref() | Set pref. | BaseInfo |
getPref() | Get pref. | Pref|null |
setOptionPoint() | Set optionPoint | BaseInfo |
isOptionPoint() | Get optionPoint | bool |
setPointConversionRate() | Set pointConversionRate | BaseInfo |
getPointConversionRate() | Get pointConversionRate | string |
setBasicPointRate() | Set basicPointRate | BaseInfo |
getBasicPointRate() | Get basicPointRate | string |
getPhpPath() | null|string | |
setPhpPath() | $this | |
offsetExists() | mixed | |
offsetSet() | mixed | |
offsetGet() | mixed | |
offsetUnset() | mixed | |
setPropertiesFromArray() | 引数の連想配列を元にプロパティを設定します. | mixed |
toArray() | Convert to associative array. | array |
toNormalizedArray() | Convert to associative array, and normalize to association properties. | array |
toJSON() | Convert to JSON. | string |
toXML() | Convert to XML. | string |
copyProperties() | コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー | AbstractEntity |
setAnnotationReader() | Set AnnotationReader. | AbstractEntity |
getAnnotationReader() | Get AnnotationReader. | Reader |
getEntityIdentifierAsArray() | Convert to Entity of Identity value to associative array. | array |
Properties
$id
private
int
$id
Tags
$company_name
private
string|null
$company_name
Tags
$company_kana
private
string|null
$company_kana
Tags
$postal_code
private
string|null
$postal_code
Tags
$addr01
private
string|null
$addr01
Tags
$addr02
private
string|null
$addr02
Tags
$phone_number
private
string|null
$phone_number
Tags
$business_hour
private
string|null
$business_hour
Tags
$email01
private
string|null
$email01
Tags
$email02
private
string|null
$email02
Tags
$email03
private
string|null
$email03
Tags
$email04
private
string|null
$email04
Tags
$shop_name
private
string|null
$shop_name
Tags
$shop_kana
private
string|null
$shop_kana
Tags
$shop_name_eng
private
string|null
$shop_name_eng
Tags
$update_date
private
DateTime
$update_date
Tags
$good_traded
private
string|null
$good_traded
Tags
$message
private
string|null
$message
Tags
$delivery_free_amount
private
string|null
$delivery_free_amount
Tags
$delivery_free_quantity
private
int|null
$delivery_free_quantity
Tags
$option_mypage_order_status_display
private
bool
$option_mypage_order_status_display
= true
Tags
$option_nostock_hidden
private
bool
$option_nostock_hidden
= false
Tags
$option_favorite_product
private
bool
$option_favorite_product
= true
Tags
$option_product_delivery_fee
private
bool
$option_product_delivery_fee
= false
Tags
$option_product_tax_rule
private
bool
$option_product_tax_rule
= false
Tags
$option_customer_activate
private
bool
$option_customer_activate
= true
Tags
$option_remember_me
private
bool
$option_remember_me
= true
Tags
$authentication_key
private
string|null
$authentication_key
Tags
$php_path
private
string|null
$php_path
Tags
$option_point
private
bool
$option_point
= true
Tags
$basic_point_rate
private
string
$basic_point_rate
= '1'
Tags
$point_conversion_rate
private
string
$point_conversion_rate
= '1'
Tags
$Country
private
Country
$Country
Tags
$Pref
private
Pref
$Pref
Tags
$AnnotationReader
private
mixed
$AnnotationReader
Methods
getId()
Get id.
public
getId(
)
: int
Return values
intsetCompanyName()
Set companyName.
public
setCompanyName(
[ $companyName :
string|null
= null ]
)
: BaseInfo
Parameters
- $companyName : string|null = null
Return values
BaseInfogetCompanyName()
Get companyName.
public
getCompanyName(
)
: string|null
Return values
string|nullsetCompanyKana()
Set companyKana.
public
setCompanyKana(
[ $companyKana :
string|null
= null ]
)
: BaseInfo
Parameters
- $companyKana : string|null = null
Return values
BaseInfogetCompanyKana()
Get companyKana.
public
getCompanyKana(
)
: string|null
Return values
string|nullsetPostalCode()
Set postal_code.
public
setPostalCode(
[ $postal_code :
string|null
= null ]
)
: BaseInfo
Parameters
- $postal_code : string|null = null
Return values
BaseInfogetPostalCode()
Get postal_code.
public
getPostalCode(
)
: string|null
Return values
string|nullsetAddr01()
Set addr01.
public
setAddr01(
[ $addr01 :
string|null
= null ]
)
: BaseInfo
Parameters
- $addr01 : string|null = null
Return values
BaseInfogetAddr01()
Get addr01.
public
getAddr01(
)
: string|null
Return values
string|nullsetAddr02()
Set addr02.
public
setAddr02(
[ $addr02 :
string|null
= null ]
)
: BaseInfo
Parameters
- $addr02 : string|null = null
Return values
BaseInfogetAddr02()
Get addr02.
public
getAddr02(
)
: string|null
Return values
string|nullsetPhoneNumber()
Set phone_number.
public
setPhoneNumber(
[ $phone_number :
string|null
= null ]
)
: BaseInfo
Parameters
- $phone_number : string|null = null
Return values
BaseInfogetPhoneNumber()
Get phone_number.
public
getPhoneNumber(
)
: string|null
Return values
string|nullsetBusinessHour()
Set businessHour.
public
setBusinessHour(
[ $businessHour :
string|null
= null ]
)
: BaseInfo
Parameters
- $businessHour : string|null = null
Return values
BaseInfogetBusinessHour()
Get businessHour.
public
getBusinessHour(
)
: string|null
Return values
string|nullsetEmail01()
Set email01.
public
setEmail01(
[ $email01 :
string|null
= null ]
)
: BaseInfo
Parameters
- $email01 : string|null = null
Return values
BaseInfogetEmail01()
Get email01.
public
getEmail01(
)
: string|null
Return values
string|nullsetEmail02()
Set email02.
public
setEmail02(
[ $email02 :
string|null
= null ]
)
: BaseInfo
Parameters
- $email02 : string|null = null
Return values
BaseInfogetEmail02()
Get email02.
public
getEmail02(
)
: string|null
Return values
string|nullsetEmail03()
Set email03.
public
setEmail03(
[ $email03 :
string|null
= null ]
)
: BaseInfo
Parameters
- $email03 : string|null = null
Return values
BaseInfogetEmail03()
Get email03.
public
getEmail03(
)
: string|null
Return values
string|nullsetEmail04()
Set email04.
public
setEmail04(
[ $email04 :
string|null
= null ]
)
: BaseInfo
Parameters
- $email04 : string|null = null
Return values
BaseInfogetEmail04()
Get email04.
public
getEmail04(
)
: string|null
Return values
string|nullsetShopName()
Set shopName.
public
setShopName(
[ $shopName :
string|null
= null ]
)
: BaseInfo
Parameters
- $shopName : string|null = null
Return values
BaseInfogetShopName()
Get shopName.
public
getShopName(
)
: string|null
Return values
string|nullsetShopKana()
Set shopKana.
public
setShopKana(
[ $shopKana :
string|null
= null ]
)
: BaseInfo
Parameters
- $shopKana : string|null = null
Return values
BaseInfogetShopKana()
Get shopKana.
public
getShopKana(
)
: string|null
Return values
string|nullsetShopNameEng()
Set shopNameEng.
public
setShopNameEng(
[ $shopNameEng :
string|null
= null ]
)
: BaseInfo
Parameters
- $shopNameEng : string|null = null
Return values
BaseInfogetShopNameEng()
Get shopNameEng.
public
getShopNameEng(
)
: string|null
Return values
string|nullsetUpdateDate()
Set updateDate.
public
setUpdateDate(
$updateDate :
DateTime
)
: BaseInfo
Parameters
- $updateDate : DateTime
Return values
BaseInfogetUpdateDate()
Get updateDate.
public
getUpdateDate(
)
: DateTime
Return values
DateTimesetGoodTraded()
Set goodTraded.
public
setGoodTraded(
[ $goodTraded :
string|null
= null ]
)
: BaseInfo
Parameters
- $goodTraded : string|null = null
Return values
BaseInfogetGoodTraded()
Get goodTraded.
public
getGoodTraded(
)
: string|null
Return values
string|nullsetMessage()
Set message.
public
setMessage(
[ $message :
string|null
= null ]
)
: BaseInfo
Parameters
- $message : string|null = null
Return values
BaseInfogetMessage()
Get message.
public
getMessage(
)
: string|null
Return values
string|nullsetDeliveryFreeAmount()
Set deliveryFreeAmount.
public
setDeliveryFreeAmount(
[ $deliveryFreeAmount :
string|null
= null ]
)
: BaseInfo
Parameters
- $deliveryFreeAmount : string|null = null
Return values
BaseInfogetDeliveryFreeAmount()
Get deliveryFreeAmount.
public
getDeliveryFreeAmount(
)
: string|null
Return values
string|nullsetDeliveryFreeQuantity()
Set deliveryFreeQuantity.
public
setDeliveryFreeQuantity(
[ $deliveryFreeQuantity :
int|null
= null ]
)
: BaseInfo
Parameters
- $deliveryFreeQuantity : int|null = null
Return values
BaseInfogetDeliveryFreeQuantity()
Get deliveryFreeQuantity.
public
getDeliveryFreeQuantity(
)
: int|null
Return values
int|nullsetOptionMypageOrderStatusDisplay()
Set optionMypageOrderStatusDisplay.
public
setOptionMypageOrderStatusDisplay(
$optionMypageOrderStatusDisplay :
bool
)
: BaseInfo
Parameters
- $optionMypageOrderStatusDisplay : bool
Return values
BaseInfoisOptionMypageOrderStatusDisplay()
Get optionMypageOrderStatusDisplay.
public
isOptionMypageOrderStatusDisplay(
)
: bool
Return values
boolsetOptionNostockHidden()
Set optionNostockHidden.
public
setOptionNostockHidden(
$optionNostockHidden :
int
)
: BaseInfo
Parameters
- $optionNostockHidden : int
Return values
BaseInfoisOptionNostockHidden()
Get optionNostockHidden.
public
isOptionNostockHidden(
)
: bool
Return values
boolsetOptionFavoriteProduct()
Set optionFavoriteProduct.
public
setOptionFavoriteProduct(
$optionFavoriteProduct :
bool
)
: BaseInfo
Parameters
- $optionFavoriteProduct : bool
Return values
BaseInfoisOptionFavoriteProduct()
Get optionFavoriteProduct.
public
isOptionFavoriteProduct(
)
: bool
Return values
boolsetOptionProductDeliveryFee()
Set optionProductDeliveryFee.
public
setOptionProductDeliveryFee(
$optionProductDeliveryFee :
bool
)
: BaseInfo
Parameters
- $optionProductDeliveryFee : bool
Return values
BaseInfoisOptionProductDeliveryFee()
Get optionProductDeliveryFee.
public
isOptionProductDeliveryFee(
)
: bool
Return values
boolsetOptionProductTaxRule()
Set optionProductTaxRule.
public
setOptionProductTaxRule(
$optionProductTaxRule :
bool
)
: BaseInfo
Parameters
- $optionProductTaxRule : bool
Return values
BaseInfoisOptionProductTaxRule()
Get optionProductTaxRule.
public
isOptionProductTaxRule(
)
: bool
Return values
boolsetOptionCustomerActivate()
Set optionCustomerActivate.
public
setOptionCustomerActivate(
$optionCustomerActivate :
bool
)
: BaseInfo
Parameters
- $optionCustomerActivate : bool
Return values
BaseInfoisOptionCustomerActivate()
Get optionCustomerActivate.
public
isOptionCustomerActivate(
)
: bool
Return values
boolsetOptionRememberMe()
Set optionRememberMe.
public
setOptionRememberMe(
$optionRememberMe :
bool
)
: BaseInfo
Parameters
- $optionRememberMe : bool
Return values
BaseInfoisOptionRememberMe()
Get optionRememberMe.
public
isOptionRememberMe(
)
: bool
Return values
boolsetAuthenticationKey()
Set authenticationKey.
public
setAuthenticationKey(
[ $authenticationKey :
string|null
= null ]
)
: BaseInfo
Parameters
- $authenticationKey : string|null = null
Return values
BaseInfogetAuthenticationKey()
Get authenticationKey.
public
getAuthenticationKey(
)
: string|null
Return values
string|nullsetCountry()
Set country.
public
setCountry(
[ $country :
Country|null
= null ]
)
: BaseInfo
Parameters
- $country : Country|null = null
Return values
BaseInfogetCountry()
Get country.
public
getCountry(
)
: Country|null
Return values
Country|nullsetPref()
Set pref.
public
setPref(
[ $pref :
Pref|null
= null ]
)
: BaseInfo
Parameters
- $pref : Pref|null = null
Return values
BaseInfogetPref()
Get pref.
public
getPref(
)
: Pref|null
Return values
Pref|nullsetOptionPoint()
Set optionPoint
public
setOptionPoint(
$optionPoint :
bool
)
: BaseInfo
Parameters
- $optionPoint : bool
Return values
BaseInfoisOptionPoint()
Get optionPoint
public
isOptionPoint(
)
: bool
Return values
boolsetPointConversionRate()
Set pointConversionRate
public
setPointConversionRate(
$pointConversionRate :
string
)
: BaseInfo
Parameters
- $pointConversionRate : string
Return values
BaseInfogetPointConversionRate()
Get pointConversionRate
public
getPointConversionRate(
)
: string
Return values
stringsetBasicPointRate()
Set basicPointRate
public
setBasicPointRate(
$basicPointRate :
string
)
: BaseInfo
Parameters
- $basicPointRate : string
Return values
BaseInfogetBasicPointRate()
Get basicPointRate
public
getBasicPointRate(
)
: string
Return values
stringgetPhpPath()
public
getPhpPath(
)
: null|string
Tags
Return values
null|stringsetPhpPath()
public
setPhpPath(
$php_path :
null|string
)
: $this
Parameters
- $php_path : null|string
Tags
Return values
$thisoffsetExists()
public
offsetExists(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetSet()
public
offsetSet(
$offset :
mixed
, $value :
mixed
)
: mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixedoffsetGet()
public
offsetGet(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetUnset()
public
offsetUnset(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedsetPropertiesFromArray()
引数の連想配列を元にプロパティを設定します.
public
setPropertiesFromArray(
$arrProps :
array
[, $excludeAttribute :
string[]
= [] ]
[, $parentClass :
ReflectionClass
= null ]
)
: mixed
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
Parameters
- $arrProps : array
プロパティの情報を格納した連想配列
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
- $parentClass : ReflectionClass = null
親のクラス. 本メソッドの内部的に使用します.
Return values
mixedtoArray()
Convert to associative array.
public
toArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
[, $parentClass :
ReflectionClass
= null ]
)
: array
Symfony Serializer Component is expensive, and hard to implementation. Use for encoder only.
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
- $parentClass : ReflectionClass = null
parent class. Use internally of this method..
Return values
arraytoNormalizedArray()
Convert to associative array, and normalize to association properties.
public
toNormalizedArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: array
The type conversion such as:
- Datetime :: W3C datetime format string
- AbstractEntity :: associative array such as [id => value]
- PersistentCollection :: associative array of [[id => value], [id => value], ...]
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
arraytoJSON()
Convert to JSON.
public
toJSON(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringtoXML()
Convert to XML.
public
toXML(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringcopyProperties()
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
public
copyProperties(
$srcObject :
object
[, $excludeAttribute :
string[]
= [] ]
)
: AbstractEntity
Parameters
- $srcObject : object
コピー元のオブジェクト
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
Return values
AbstractEntitysetAnnotationReader()
Set AnnotationReader.
public
setAnnotationReader(
$Reader :
Reader
)
: AbstractEntity
Parameters
- $Reader : Reader
Return values
AbstractEntitygetAnnotationReader()
Get AnnotationReader.
public
getAnnotationReader(
)
: Reader
Return values
ReadergetEntityIdentifierAsArray()
Convert to Entity of Identity value to associative array.
public
getEntityIdentifierAsArray(
$Entity :
AbstractEntity
)
: array
Parameters
- $Entity : AbstractEntity
Return values
array —associative array of [[id => value], [id => value], ...]